Unable to parse XML document that starts with long processing instruction

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: xml
    • b92
    • sparc
    • solaris_10

      A SAXParserException is thrown when trying to parse a document that starts with long processing instruction (more than 32 bytes?). If the XML declaration is present, the parser succeeds; any other place where such a PI is inserted is parsed correctly as well.

      A sample file to reproduce the failure is:

      <?xml-stylesheet href="use-the-following-stylesheet.xsl"?>
      <doc></doc>

            Assignee:
            Santiago Pericasgeertsen
            Reporter:
            Santiago Pericasgeertsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: