[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XML Namespace
I've got a confusion of sorts about what the intention is, in the separation of Namespace URI versus prefix. At the end of Section 1 and in Section 2, it says that Namespaces are identified by URI, because these names have the properties of uniqueness and persistence, and that the prefix used commonly in qualified names is merely a proxy for the URI, because the URI contains characters that are illegal in XML names (and maybe also to reduce clutter, since prefixes are much shorter than URIs. >From that, I inferred that prefixes are assumed to lack either uniqueness or persistence (or both), or else they could have been used as the namespace name to begin with. This means that it's not impossible that I might have a collision between two different Namespaces being associated with the same prefix. In that case, what would I need to do if I wanted to mix element types from two different DTDs that had the same prefix but which are intended to be bound to different Namespaces? For example, if the file a.dtd declared one element ns:x, and the file b.dtd declared another element ns:x, how could I use both of them in the same document, without copying one of the DTDs and changing the prefixes in the copy? xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|