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

           Summary: xsltc fails conf test whitespace21 on comments in LREs
           Product: XalanJ2
           Version: 2.0.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Running xalan on whitespace21
<?xml version="1.0" encoding="UTF-8"?>
<out>x
    y
    
    <z/></out>


Running XSLTC with Xerces Parser on whitespace21
<?xml version="1.0" encoding="utf-8" ?>
<out>x
    y
    <z/></out>

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

  <!-- FileName: whitespace21 -->
  <!-- Document: http://www.w3.org/TR/xslt -->
  <!-- DocVersion: 19991116 -->
  <!-- Section: 3.4 Whitespace Stripping -->
  <!-- Creator: David Marston -->
  <!-- Purpose: Test for whitespace handling with comments in literal sections
-->

<xsl:template match="/">
  <out>x
    <!-- this is a comment -->y
    <!-- this is another comment -->
    <z><!-- this is another comment --> </z>
  </out>
</xsl:template>

</xsl:stylesheet>

cat whitespace21.xml
<?xml version="1.0"?>
<doc></doc>

Reply via email to