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

Re: Relative Namespaces

  • From: Charles Reitzel <creitzel@m...>
  • To: Jeff Rafter <jeffrafter@e...>
  • Date: Wed, 14 Mar 2001 23:37:30 -0500

Re: Relative Namespaces
Missed one: http://www.w3.org/TR/REC-xml-names/#dt-identical

"[Definition:] URI references which identify namespaces are 
considered identical when they are exactly the same 
character-for-character. Note that URI references which are 
not identical in this sense may in fact be functionally 
equivalent. Examples include URI references which differ 
only in case, or which are in external entities which 
have different effective base URIs."

In effect, NS URIs must be absolute.  Otherwise, they won't match out of context.  In theory, you could use xml:base, but I don't think it is widely implemented.  Even if it were, the base of an instance is typically different than the base of a namespace.

Just one of the liberties [XML Names] takes with RFC 2396.

My reading of the DOM just follows the above definition - except for the empty string bit.

take it easy,
Charles Reitzel


At 04:59 PM 3/14/01 -0800, Jeff Rafter wrote:
>======
>I know that relative namespace use was deprecated [5] but
>why do the DOM Level 2 and XML Schema specs still include the use of
>relative namespaces when they were released after the deprecation decision?
>
>[1] http://www.w3.org/TR/REC-xml-names/#defaulting
>[2] http://www.w3.org/TR/xmlschema-1/#declare-typesElementsAttributes
>[3]
>http://www.w3.org/TR/DOM-Level-2-Core/core.html#Namespaces-Considerations
>[4] http://www.w3.org/TR/xml-infoset/#intro
>[5] http://www.w3.org/2000/09/xppa
>
>Thanks,
>Jeff Rafter


take it easy,
Charles Reitzel



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.