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

From
Emmanuil Batsis (Manos) <>
To
David Megginson <>
Date
2004-03-17T15:47:48Z
ID
<>
Thread
Re: [xml-dev] Re: [Sax-devel] Showstopper issue with new Attribute text
David Megginson wrote:
> c) an attribute with the Namespace URI "http://www.w3.org/2000/xmlns/" 
> and the local name "xmlns".


If {a,b,c} is all there is, I vote for b. That way, declarations will be 
consistent whether default or not. Both xmlns and xmlns:foo should give 
the same namespace URI "http://www.w3.org/2000/xmlns/" while the latter 
should also give the local name "foo". Plain xmlns declarations should 
give a null local name IMHO.

Can I have an exclude-ns-declaration-attrs feature with that please?

If it counts to anything, I'd preffer a change in the interfaces (i.e. a 
new SAX version) instead of the above. Adding signatures that include ns 
declarations in a new collection as a parameter would be a clean 
solution. One would be able to choose what version of the events to use...

-- 
Manos Batsis

     _  __    __                    __
    / |/ /__ / /____ __ _ ___ _____/ /_
   /    / -_) __(_-</  ' Y _ `/ __/ __/
  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/


http://www.netsmart.gr
mailto:
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf