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

Elliotte Rusty Harold elharo at
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
   Effective XML (Addison-Wesley, 2003)

More information about the jdom-interest mailing list