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 2002/12/05 20:19:56 UTC
DO NOT REPLY [Bug 15118] New: -
stylesheet element missing version attribute causes core dump in Xalan command-line
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=15118>.
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=15118
stylesheet element missing version attribute causes core dump in Xalan command-line
Summary: stylesheet element missing version attribute causes core
dump in Xalan command-line
Product: XalanC
Version: 1.4.x
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Enhancement
Priority: Other
Component: XalanC
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: r343l@vzavenue.net
Given this xml (min.xml):
<?xml version="1.0"?>
<foo/>
And this xsl (min.xsl):
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
</xsl:stylesheet>
The command line: Xalan -o min.out min.xml min.xsl results in:
<?xml version="1.0" encoding="UTF-8"?>
This is the expected result. However deleting 'version="1.0"' from the
stylesheet results in a core dump. Obviously this isn't urgent or anything, but
it is a little confusing if the user just forgets to put it in (XSL being one of
the few XML standards that require a version indicated separate from the
namespace or doctype.)