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

Elliotte Rusty Harold <[email protected]> Mon, 22 Mar 2004 16:03:03 -0500
Newsgroups gmane.text.xml.sax.devel,gmane.text.xml.devel
Message-ID <p06010208bc85045c3a18@[192.168.254.4]>
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
   [email protected]
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel