XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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] The purpose of a namespace URI is ...

At 2012-11-30 08:16 -0500, Michael Sokolov wrote:
>On 11/30/2012 7:46 AM, G. Ken Holman wrote:
>>At 2012-11-30 12:35 +0000, Costello, Roger L. wrote:
>>>     A namespace URI conventionally identifies
>>>     the component, subsystem, or authority
>>>     responsible for defining the meaning of
>>>     an XML vocabulary.
>>>
>>>Do you agree?
>>
>>A namespace URI only distinguishes one XML vocabulary from another 
>>in a single XML document.
>Also across documents in a collection, or universally, no?

Sure ... the qualification of the elements and attributes 
distinguishes the vocabularies in a single document so, yes, I 
suppose the convention of using the same qualifications across a 
collection of documents is helpful:

   http://www.w3.org/TR/2006/REC-xml-names11-20060816
   Abstract
   XML namespaces provide a simple method for qualifying element and
   attribute names used in Extensible Markup Language documents by
   associating them with namespaces identified by IRI references.

Does it do so universally?  Only if everyone plays by the rules.  If 
I create my own XML vocabulary and foolishly qualify my elements with 
a URI used by the W3C, then I may have document-wide distinction or 
even distinction within a collection of my own documents, but I don't 
have universal distinction because my vocabulary identification is 
ambiguous with that from the W3C.

I hope this is helpful.

. . . . . . Ken

--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



[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