Re: startPrefixMapping with redundant namespace declarations

"[email protected]" <[email protected]>
Newsgroups gmane.text.xml.sax.devel
Message-ID <[email protected]>
>> However, we don't wish to go out on a limb.  If the consensus is that
>> redundant declarations should be reported, then we can simply make the
>> useful ElCel behaviour controllable via an option.

>Sounds reasonable.

I was going to say the exact same thing. It may be especially useful in SAX
because many filters fragment the document for you, so the parts may be
taken out of context. 

Additionaly, I would think that the elimination of extra namespace decls
could be removed via filter (read: layer) and it would be just as good (in
fact didn't Simon St. Laurent write one of these?)-- but they can't be
added back in via filter. Because of that I would say it would be better
for an implementation to provide the extra NS decls by default.  

If ElCel does make an option (which seems a good idea) then I should we add
it to the SAX features. It seems to be a very useful option and it would be
good if it was widely supported. Another interesting option in this area
would be to force documents to be "sane" where prefixes are corrected along
the way. But again, this is something a filter could be used for.

Cheers,
Jeff Rafter

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.