-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
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>
A sample file to reproduce the failure is:
<?xml-stylesheet href="use-the-following-stylesheet.xsl"?>
<doc></doc>