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=3409 *** shadow/3409 Tue Sep 4 08:13:14 2001 --- shadow/3409.tmp.23234 Tue Sep 4 08:13:14 2001 *************** *** 0 **** --- 1,75 ---- + +============================================================================+ + | xsltc fails conf test namespace20 missing lots of output | + +----------------------------------------------------------------------------+ + | Bug #: 3409 Product: XalanJ2 | + | Status: NEW Version: CurrentCVS | + | Resolution: Platform: All | + | Severity: Major OS/Version: All | + | Priority: Other Component: org.apache.xalan.xsltc | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Expected 0utput + --------------- + <?xml version="1.0" encoding="UTF-8"?> + <out xmlns:bdd="bdd.com" xmlns="bubba.com"> + <ped:test xmlns:ped="ped.com" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/> + <test xmlns="ped.com" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:ped="ped.com"/> + <bdd:test xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ped="ped.com"/> + <test>Test5</test><test xmlns="missing.com">Test6</test> + </out> + + + Obtained Output + --------------- + <?xml version="1.0" encoding="utf-8" ?> + + boo + + + namespace20.xsl + --------------- + <?xml version="1.0"?> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:ped="ped.com" + xmlns:bdd="bdd.com" + xmlns="bubba.com" + exclude-result-prefixes="ped #default"> + + <!-- FileName: namespace20 --> + <!-- Document: http://www.w3.org/TR/xslt --> + <!-- DocVersion: 19991116 --> + <!-- Section: 7.1.1 Literal Result Elements --> + <!-- Creator: Paul Dick --> + <!-- Purpose: Test exclude-result-prefixes. --> + + <xsl:template match="doc"> + <out><xsl:text>
</xsl:text> + <xsl:for-each + select='document("")//ped:test'><xsl:copy/><xsl:text>
</xsl:text></xsl:for-each> + <xsl:for-each + select='document("")//bdd:test'><xsl:copy/><xsl:text>
</xsl:text></xsl:for-each> + <test>Test5</test> + <test xmlns="missing.com">Test6</test><xsl:text>
</xsl:text> + </out> + </xsl:template> + + <ped:test>Test1</ped:test> + <test xmlns="ped.com">Test2</test> + <ped:test xmlns:ped="ped2.com">Test3</ped:test> + <bdd:test>Test4</bdd:test> + + </xsl:stylesheet> + + namespace20.xml + --------------- + <?xml version="1.0" encoding="ISO-8859-1"?> + <doc> + boo + </doc>
