OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Same namespace for XSD and RDF

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:


Simon St.Laurent


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.org
List 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS