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=3691>. 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=3691 Summary: xsltc fails conf test whitespace16 on whitespace chars in <xsl:text> vs LREs Product: XalanJ2 Version: 2.0.0 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Here's the dump of a test session showing the output from our four favorite XSLT processors. Xalan differs from the others on (carriage return), but otherwise, XSLTC's output differs from all the others. Running saxon on whitespace16 <?xml version="1.0" encoding="utf-8"?><out> a. , , , , <end> This will not be stripped. </end>, <end2/></out> Running xt on whitespace16 <?xml version="1.0" encoding="utf-8"?> <out> a. , , , , <end> This will not be stripped. </end>, <end2/></out> Running xalan on whitespace16 <?xml version="1.0" encoding="UTF-8"?> <out> a. , , , , <end> This will not be stripped. </end>, <end2/></out> Running XSLTC with Xerces Parser on whitespace16 <?xml version="1.0" encoding="utf-8" ?> <out> a. , , , , <end> This will not be stripped. </end>, <end2/></out> cat whitespace16.xsl <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- FileName: whitespace16 --> <!-- Document: http://www.w3.org/TR/xslt --> <!-- DocVersion: 19991116 --> <!-- Section: 3.4 --> <!-- Creator: Paul Dick --> <!-- Purpose: This is a general test of whitespace handling. It verifies the handling of the special whitespace characters (space, tab, CR, LF) In different situations. 1. within xsl:text where they should not be stripped, 2. within LREs <end2> where they may be stripped. --> <xsl:template match="/"> <out> <xsl:text> a. <!-- This --> ,</xsl:text> <xsl:text> </xsl:text>, <!-- Contains space --> <xsl:text>	 </xsl:text>, <!-- Contains tab and 1 tab --> <xsl:text> </xsl:text>, <!-- Contains CR and 2 tabs --> <xsl:text> </xsl:text> <!-- Contains NL and 3 tabs --> <end> This will not be stripped. </end>, <end2>  	 </end2> </out> </xsl:template> </xsl:stylesheet> cat whitespace16.xml <?xml version="1.0"?> <doc/>
