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

Catalog not used when the handler is null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • None
    • xml
    • None
    • b09

    Description

      The use case:
          A SAX parser is created;
          A Catalog is set on the parser;
          The XML to be parsed contains XInclude file;
          Since we're using the Catalog, the parsing was started without a handler (handler = null).

      The result was the file was not parsed successfully, instead an Exception was thrown:
      org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 25; An include with href 'test.xml'failed, and no fallback element was found.

      Attachments

        Issue Links

          Activity

            People

              joehw Joe Wang
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: