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/02/06 05:07:55 UTC
DO NOT REPLY [Bug 6261] New: -
inconsistency between Linux OS versions
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=6261>.
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=6261
<!ENTITY ...> inconsistency between Linux OS versions
Summary: <!ENTITY ...> inconsistency between Linux OS versions
Product: XalanC
Version: 1.3.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: XalanC
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: bkao@acquiremedia.com
I emit in my stylesheets. I have included an example modification to the
StreamTransform.cpp example below. In Linux 6.2 and Solaris 5.7 it works fine.
But in RedHat 7.1/7.2 it doesn't seem to acknowledge the fact that I have
declared the   entity in the <!DOCTYPE> section and I get segmentation
faults.
---------------------------------------------
Modified stylesheet snipped from StreamTransform.cpp which works in RH6.2 but
not in RH7.1 or RH7.2:
"<?xml version='1.0'?>\
<!DOCTYPE xsl:stylesheet [\
<!ENTITY nbsp \" \">
]>\
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>\
<xsl:output method='html' indent='yes' encoding='US-ASCII'/>\
<xsl:template match='doc'>\
<out> <xsl:value-of select='.'/></out>\
</xsl:template>\
</xsl:stylesheet>";