http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2598 *** shadow/2598 Thu Jul 12 07:13:54 2001 --- shadow/2598.tmp.21124 Thu Jul 12 07:13:54 2001 *************** *** 0 **** --- 1,57 ---- + +============================================================================+ + | xsltc fails conf tests copy01,02,03,04 on identity transform | + +----------------------------------------------------------------------------+ + | Bug #: 2598 Product: XalanJ2 | + | Status: NEW Version: 2.0.1 | + | Resolution: Platform: All | + | Severity: Normal OS/Version: All | + | Priority: Other Component: org.apache.xalan.xsltc | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + These conformance tests do a simple indentity transform. For example, from + copy01 + + <xsl:template match="*|@*|comment()|processing-instruction()|text()"> + <xsl:copy> + <xsl:apply-templates + select="*|@*|comment()|processing-instruction()|text()"/> + </xsl:copy> + </xsl:template> + + Note they have no <xsl:output > element, so the output defaults to XML. + + XSLTC is incorrectly putting an extra linefeed after every line. + <?xml version="1.0" encoding="utf-8" ?> + <out><OL> + <LI>item1</LI> + + <LI>item2</LI> + + <LI>item3</LI> + + <OL> + <LI>subitem1</LI> + + <LI>subitem2</LI> + + <OL> + <LI>subitem3</LI> + + </OL> + + </OL> + + </OL> + </out> + + The expected results do not have these extra line feeds and three processors + used as comparison (Xalan, Saxon, and XT) produce the expected output. + + While this might seems like an innocuous white-space difference, in the case of + an identity tranform the difference isn't trivial.
