You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/11/14 19:33:31 UTC
DO NOT REPLY [Bug 14559] New: -
Processing Instruction errors
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: xerces-j-dev@xml.apache.org
ReportedBy: georgec@towers.com
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org