Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-475

DOCTYPE declarations not supported on SJSXP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.15
    • 1.2.16
    • API
    • None

    Description

      Parsing a document with a DOCTYPE declaration results in the following error if the StAX implementation in the JRE (SJSXP) is used:

      org.apache.axiom.om.OMException: Cannot create OMDocType because the XMLStreamReader doesn't support the DTDReader extension

      See also: http://stackoverflow.com/questions/33513702

      Attachments

        1. patch.diff
          0.7 kB
          Andreas Schmitz

        Activity

          People

            veithen Andreas Veithen
            veithen Andreas Veithen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: