You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/11/01 23:22:56 UTC
DO NOT REPLY [Bug 4575] New: -
Improper parsing of ?xml-stylesheet? processing instruction
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=4575>.
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=4575
Improper parsing of ?xml-stylesheet? processing instruction
Summary: Improper parsing of ?xml-stylesheet? processing
instruction
Product: XalanJ2
Version: 2.2.x
Platform: Other
URL: http://nersp.nerdc.ufl.edu/~wamac/xalan/
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: sandymac@ufl.edu
There seems to be a problem parsing the href="..." attribute of
<?xml-stylesheet?> processing instruction when the character immeaditly after
the last quote in the href attribute is the EOL.
I wrote a simple URIResolver to show what was being passed into it. Here is
the output.
$ java org.apache.xalan.xslt.Process -IN a.xml -URIRESOLVER a
href: a.xsl"
base: a.xml
(Location of error unknown)XSLT Error
(javax.xml.transform.TransformerException): No xml-stylesheet PI found in: a.xml
Note the extra quote in the href value. The XSLT Error is because my URIResolver
returns null.
The examle xml, xsl, and java can be downloaded at:
http://nersp.nerdc.ufl.edu/~wamac/xalan/