[jdom-interest] Bug in SAXHandler.endPrefixMapping() (SAXBuilder.java)

Jason Hunter jhunter at collab.net
Thu Dec 7 19:09:30 PST 2000


> I was looking at the SAXBuilder today and noticed that the 
> implementation of endPrefixMapping() in SAXHandler looked wrong.  
> The method is declared in org.xml.sax.ContentHandler as:
> 
>     public void endPrefixMapping (String prefix)
>         throws SAXException;
> 
> but looked like this in SAXHandler:
> 
>     public void endPrefixMapping(String prefix, String uri)
>         throws SAXException

Good catch.  I just checked in a fix.  I also improved the internal
documentation and formatting a little, and optimized the list handling. 
I realize I didn't plug you as the bugfinder in the CVS logs though,
whoops.

> On a related note, I have split SAXHandler into it's own file to 
> make it easier to integrate JDOM into systems that already use SAX 
> but might want to intercept some of the events for their own 
> purposes.  

Could you explain that a bit more please?

-jh-



More information about the jdom-interest mailing list