SV: [jdom-interest] How do you do it in JDOM?

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Feb 17 08:37:19 PST 2004


At 1:16 AM +1100 2/18/04, Chris B. wrote:
>Yes, but the javadoc for ContentHandler says.....
>
>There should never be start/endPrefixMapping events for the
>"xml" prefix, since it is predeclared and immutable.
>
>That makes me wonder if it is a JDOM bug, since xml is assumed "predeclared".
>
>Besides which, making a call to ContentHandler.startPrefixMapping 
>for "xml" seems to be ineffective.
>

This is a known bug in Crimson. By any chance are you using Crimson 
as your XML parser?

-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA



More information about the jdom-interest mailing list