DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14559

Processing Instruction errors

           Summary: Processing Instruction errors
           Product: Xerces2-J
           Version: 2.2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Under Xerces 2.2.0 and 2.2.1, inserting a procssing instruction such as a 
stylesheet declaration (e.g. <?xml-stylesheet href="target" type="text/xsl"?>) 
at the top of an XML document causes the following error:

Line #1; Column #20; XSLT Error (javax.xml.transform.TransformerException):
Content is not allowed in prolog.

If the document has the standard XML processing instruction (<?xml 
version="1.0" ?> defined before the XSL processing instruction, then there is 
no error.  However, the XML processing instruction should be optional according 
to the XML specification.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to