Next in thread → Next in month →

[xml-dev] Re: [Sax-devel] Showstopper issue with new Attribute text

From
Elliotte Rusty Harold <>
To
David Megginson <>
Date
2004-03-22T21:03:03Z
ID
<p06010208bc85045c3a18@[192.168.254.4]>
Thread
[xml-dev] Re: [Sax-devel] Showstopper issue with new Attribute text
At 9:47 AM -0500 3/17/04, David Megginson wrote:

>a) an attribute with no Namespace URI and the local name "xmlns";
>
>b) an attribute with the Namespace URI 
>"http://www.w3.org/2000/xmlns/" and no local name; or
>
>c) an attribute with the Namespace URI 
>"http://www.w3.org/2000/xmlns/" and the local name "xmlns".
>
>Note that none of these is a clean solution, probably because 
>Namespaces 1.1 is a bit broken.  Then again, I doubt it matters 
>much.  If no one presents a convincing argument, I'll just pick one 
>of the three at random.

Agreed except for picking one at random. I prefer option c when the 
xmlns-uris feature is true; option a when xmlns-uris is false.
-- 

   Elliotte Rusty Harold
   
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
Next in thread → Next in month →