#53 DefaultHandler in sax.jar differs from source

SAX2_r2_(2.0.1)
closed-rejected
nobody
5
2003-10-22
2003-10-13
Clyde Gerber
No

The version of DefaultHandler.class in sax.jar does not
throw an IOException from the resolveEntity(String
publicId, String systemId) method. The version in
src/org/xml/sax/helpers/DefaultHandler.class does throw
the exception. Two parsers that claim to support SAX
2.0.1 will present a different api, based on whether they
have taken sax.jar as is or have elected to recompile
from source.

Discussion

  • Clyde Gerber
    Clyde Gerber
    2003-10-13

    • status: open --> wont-fix
     
  • Clyde Gerber
    Clyde Gerber
    2003-10-13

    Logged In: YES
    user_id=884332

    I'm deleting this bug report - the version in the jar file does
    throw an IOException. The class was getting loaded from a
    different source.

     
  • David Brownell
    David Brownell
    2003-10-22

    Logged In: YES
    user_id=44117

    The root cause of problems here is that Sun standardized
    the wrong version of SAX, one where the DefaultHandler
    reduced the number of exceptions that method could throw.

    That bug was fixed, in SAX 2.0.1, at the time that Sun'
    standardized JAXP with the broken signatures.

     
  • David Brownell
    David Brownell
    2003-10-22

    • status: wont-fix --> closed-rejected