[Home] [By Thread] [By Date] [Recent Entries]


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
   elharo@m...
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member