[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML Namespace

  • From: Steve Dahl <sdahl@g...>
  • To: xml-dev@i...
  • Date: Sun, 30 Aug 1998 16:17:18 -0400

namespace xml
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.