You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/04/12 14:58:45 UTC

[Bug 1319] New - xsl:copy handles namespaces incorrectly

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

*** shadow/1319	Thu Apr 12 05:58:45 2001
--- shadow/1319.tmp.21942	Thu Apr 12 05:58:45 2001
***************
*** 0 ****
--- 1,27 ----
+ +============================================================================+
+ | xsl:copy handles namespaces incorrectly                                    |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1319                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.1                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Critical                 OS/Version: Windows NT/2K           |
+ |     Priority: High                      Component: org.apache.xalan.transf |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xalan-dev@xml.apache.org                                     |
+ |  Reported By: cziegeler@apache.org                                         |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Given the following template:
+ 
+   <xsl:template match="p|a">
+    <xsl:copy>
+     <xsl:apply-templates/>
+    </xsl:copy>
+   </xsl:template>
+ 
+ with the input: <p>gsdg</p>
+ generates sax events for <p> with the namespaceURI set to null and 
+ not to the empty string.