|
[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Same namespace for XSD and RDF
- From: Stephen D Green <stephengreenubl@gmail.com>
- To: XML Developers List <xml-dev@lists.xml.org>
- Date: Wed, 25 Jul 2012 08:12:02 +0100
Freek,
If your namespace is a URL and you want to publish both the XSD schema definition and the RDF
(or OWL) definition at this URL's location, how about using a namespace document at that location
which lists both the RDF (or OWL) and the XSD along with useful information such as date, authors,
etc. OASIS-open.org, for example, places an XML Namespace Document at the location identified
by a namespace: For example try going to this namespace location and you'll see one:
http://docs.oasis-open.org/tamie/xtemp/200909 . It links to the XML Schema(s) and to the spec(s).
I don't know whether this OASIS-open.org XML Namespace Document format accommodates
OWL or RDF, but that is not to say your standards group couldn't come up with a format that does.
(Might be an idea for OASIS to accommodate RDF,OWL,etc too, in theirs, if they don't already.)
Best regards
----
Stephen D Green
On 25 July 2012 03:01, Simon St.Laurent <simonstl@simonstl.com> wrote:
> At 2012-07-20 17:31 +0200, Freek Dijkstra wrote: >>Our (standardisation) group has defined a schema, and wants a >>representation of it in both XML and RDF. For ease of use, we like to
>>use the same namespace identifier, even at the drawback that we can't >>publish both the XSD and OWL description at that same URL. Both XML and >>RDF allow a schema name ending in a word (http://example.org/myschema),
>>or add a slash or hash "#" at the end. >> >>In particular, what are the EXACT rules for adding or removing a hash >>(#) at the end of a namespace? > > There are none for the general case. A namespace is a simple URI
> string that is used in conjunction with an element's name or an > attribute's name to distinguish the construct from other constructs > with the same name and a different URI string. > > Full stop.
Yes, absolutely, with one caveat. Do not pause to think about this for very long, or you will quickly find yourself recreating H.P. Lovecraft's "The Dreams in the Witch House" with minor variations:
----------------------------------- Whether the dreams brought on the fever or the fever brought on the dreams Walter Gilman did not know. Behind everything crouched the brooding, festering horror of the ancient town, and of the mouldy, unhallowed garret
gable where he wrote and studied and wrestled with namespaces and media types when he was not tossing on the meagre iron bed. His ears were growing sensitive to a preternatural and intolerable degree...
Possibly Gilman ought not to have studied so hard. The proper relations
between resources, fragment identifiers, and namespaces are enough to stretch any brain, and when one mixes them with folklore, and tries to trace a strange background of cyberspace reality behind the ghoulish hints
of the Gothic tales and the wild whispers of the chimney-corner, one can hardly expect to be wholly free from mental tension. Gilman came from Haverhill, but it was only after he had entered college in Arkham that he
began to connect his hypermedia with the fantastic legends of elder magic. -------------------------------------
It's hard to improve upon Lovecraft, but that seems a reasonable update.
If you want to find out how it went with mere "non-Euclidean calculus and
quantum physics", see:
<http://www.dagonbytes.com/thelibrary/lovecraft/dreamswitchhouse.htm>
Thanks,
Simon St.Laurent http://simonstl.com/
_______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.orgList archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
 |
| Atom 0.3 |
 |
| |
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|