PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2864 *** shadow/2864 Fri Jul 27 13:27:50 2001 --- shadow/2864.tmp.2221 Fri Jul 27 13:27:50 2001 *************** *** 0 **** --- 1,60 ---- + +============================================================================+ + | conf test node06 fails, name() without args prefixed name with ns URI | + +----------------------------------------------------------------------------+ + | Bug #: 2864 Product: XalanJ2 | + | Status: NEW Version: CurrentCVS | + | 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 | + Expected Output + =============== + <?xml version="1.0" encoding="UTF-8"?> + <out xmlns:baz2="http://xsl.lotus.com/ns2" + xmlns:baz1="http://xsl.lotus.com/ns1">doc</out> + + Obtained Ouput + ============== + <?xml version="1.0" encoding="utf-8" ?> + <out xmlns:baz2="http://xsl.lotus.com/ns2" + xmlns:baz1="http://xsl.lotus.com/ns1">http://xsl.lotus.com/ns2:doc</out> + + XML + === + <?xml version="1.0"?> + <doc xmlns:ns1="http://xsl.lotus.com/ns1" + xmlns="http://xsl.lotus.com/ns2"> + <ns1:a attrib1="test"/> + <b ns1:attrib2="test"/> + </doc> + + + XSL + === + <?xml version="1.0"?> + + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:baz1="http://xsl.lotus.com/ns1" + xmlns:baz2="http://xsl.lotus.com/ns2"> + + <!-- FileName: node06 --> + <!-- Document: http://www.w3.org/TR/xpath --> + <!-- DocVersion: 19991116 --> + <!-- Section: 4.1 Node Set Functions --> + <!-- Creator: Paul Dick --> + <!-- Purpose: Test of 'name()', without arguments --> + + <xsl:template match="baz2:doc"> + <out> + <xsl:value-of select="name()"/> + </out> + </xsl:template> + + </xsl:stylesheet>
