http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2599

*** shadow/2599 Thu Jul 12 08:04:28 2001
--- shadow/2599.tmp.21386       Thu Jul 12 08:04:28 2001
***************
*** 0 ****
--- 1,59 ----
+ +============================================================================+
+ | xsltc fails conf test copy13 not copying comment node                      |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2599                        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                                   |
+ XSLTC fails to copy the comment node. There are other differences, such as extra 
+ linefeeds, but that is covered by bugid 2598.
+ 
+ XSL
+ ===
+ <xsl:template match="/">
+   <out>
+     <xsl:copy-of select="*"/>
+   </out>
+ </xsl:template>
+ 
+ XML
+ ===
+ <?xml version="1.0"?> 
+ <doc>
+   <b>
+     <!-- set a font this time -->
+     <font face="Arial">item3</font>
+   </b>
+ </doc>
+ 
+ Expected Output
+ ===============
+ <?xml version="1.0" encoding="UTF-8"?>
+ <out><doc>
+   <b>
+     <!-- set a font this time -->
+     <font face="Arial">item3</font>
+   </b>
+ </doc></out>
+ 
+ Obtained Output
+ ===============
+ <?xml version="1.0" encoding="utf-8" ?>
+ <out><doc>
+   <b>
+     
+     <font face="Arial">item3</font>
+ 
+   </b>
+ 
+ </doc>
+ </out>

Reply via email to