[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] The purpose of a namespace URI is ...
- From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Fri, 30 Nov 2012 08:24:24 -0500
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]