Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4546433

ParserAdapter.parse(is) and XMLFilterImpl.parse(is) throws NPE if is is null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 1.2.0
    • xml
    • 1.2.0
    • sparc
    • solaris_8

      tag info: xalan-j_2_2_d11, Xerces-J_2_0_0_beta3

      According to javadoc, ParserAdapter.parse(InputSource), XMLFilterImpl.parse(InputSource), XMLReader.parse(InputSource) can only throws IOException and SAXException. In crimson, it throws SAXException. With Xerces2, it throws NPE.

      See attachment to reproduce

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: