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

Re: Are we ready for the namespace ID registry, yet? (w as: Re

Re:  Are we ready for the namespace ID registry

On Wednesday, Aug 20, 2003, at 00:22 Europe/Berlin, Jeff Lowery wrote:

>> I'm sorry, I clearly misunderstood. What were you proposing a registry
>> for?
> Namespace short-string identifier registry.  I did use the word 
> "prefixes",
> but in the sense that these identifiers would be prepended to local 
> names.
> They're not stubs for full namespace IDs, they are the IDs.

what is to prevent a serializer from following the convention that all 
namespace names must be url and all prefixes must be identical with the 
authority component of the respective url. if a required prefix is 
missing it puts a binding in. if that would lead to duplication, that 
is a fatal error. if a prefix binding is present it enforces the 

there is already a registry for such things, so just following such a 
convention eliminates the "problem".

> The reason they're short is so that they can be used for prefixing. 
> Such ID
> prefixes would be mandatory, to eliminate scoping issues. They'd be 
> used for
> both attribute and element names, and namespaces in content.
> Perhaps I'm just stubborn or ignorant for thinking that namespace 
> scoping
> issues are the fundamental processing problem for XML.

those issues are fundamental exactly in the sense that entity expansion 
is a fundamental problem. they remain a problem only if one insists on 
processing xml as text rather than insisting on a parser which produces 
an adequate document model.

>  Forcing namespaces in
> root, as you suggest, do simplify scoping considerably.  Still 
> presents a
> problem for brain-dead cut & paste operations, though,

"brain-dead". your characterization.



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.
First Name
Last Name
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.