On Wed, 2003-09-24 at 00:55, Joerg Heinicke wrote: > http://www.saxproject.org/?selected=namespaces > > "In addition to those events [correctly used startElement() and > endElement], SAX2 reports the scope of Namespace declarations using the > startPrefixMapping and endPrefixMapping methods, so that applications > can resolve prefixes in attribute values or character data if necessary." > > => Prefix mappings are not really needed. And it works too :-) >
Hmm, I interpret the quoted text differently: it says "SAX2 reports..." and not "SAX2 might or could report ...". There could be transformers down the pipe that depend on this. > Joerg > > Vadim Gritsenko wrote: > > [EMAIL PROTECTED] wrote: > > > >> joerg 2003/09/23 13:39:09 > >> > >> Modified: src/java/org/apache/cocoon/generation RequestGenerator.java > >> Log: > >> no need for prefix mapping => removed > >> > >> > > > > Why there is no need? AFAIU, it *must* be there, before very first > > start() call. What do I miss? > > > > Vadim -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED]
