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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I emit &nbsp; 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 &nbsp 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 \"&#xa0;\">
]>\
<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>&nbsp;<xsl:value-of select='.'/></out>\
</xsl:template>\
</xsl:stylesheet>";

Reply via email to