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=3687>.
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=3687

           Summary: xsltc fails conf test whitespace14 on whitespace char
                    entities
           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]


Not sure about &#13; for Carriage return, but it looks like Xalan 
gets &#32; for space, &#09; for horizontal tab, and &#10; for 
line feed in literal result output correct, whereas, xlstc ignores
all of them.

Running xalan on whitespace14
<?xml version="1.0" encoding="UTF-8"?>
<out>,
<a> a</a><b>    b</b><c>&#13;c</c><d>
d</d></out>


Running XSLTC with Xerces Parser on whitespace14
<?xml version="1.0" encoding="utf-8" ?>
<out>,
<a>a</a><b>b</b><c>c</c><d>d</d></out>

 glrr 74 =>cat whitespace14.xsl
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

  <!-- FileName: whitespace14 -->
  <!-- Document: http://www.w3.org/TR/xslt -->
  <!-- DocVersion: 19991116 -->
  <!-- Section: 3.4 -->
  <!-- Creator: Paul Dick -->
  <!-- Purpose: Test use of whitespace character entities. -->

<xsl:template match="/">
<out>,
<a>&#32;a</a><b>&#09;b</b><c>&#13;c</c><d>&#10;d</d>
</out>
</xsl:template>

</xsl:stylesheet>
 glrr 75 =>cat whitespace14.xml
<?xml version="1.0"?> 
<doc>
</doc>

Reply via email to