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=2857 *** shadow/2857 Fri Jul 27 07:33:12 2001 --- shadow/2857.tmp.28894 Fri Jul 27 07:33:12 2001 *************** *** 0 **** --- 1,112 ---- + +============================================================================+ + | xsltc fails conf test namespace23 | + +----------------------------------------------------------------------------+ + | Bug #: 2857 Product: XalanJ2 | + | Status: NEW Version: 2.0.0 | + | Resolution: Platform: Sun | + | Severity: Normal OS/Version: Solaris | + | Priority: Other Component: org.apache.xalan.xsltc | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + This test is not atomic; it has so much in it that it would take a lot of + analysis to distill out exactly what is causing the failure to obtain the + expected results, which XT, Xalan, and Saxon all obtain. So I'm just reporting + that the diff on this test is real. + + Obtained Output + =============== + <?xml version="1.0" encoding="utf-8" ?> + <xsl:stylesheet xmlns:lotus="http://www.lotus.com" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ped="www.ped.com" + version="1.0"> + <xsl:template match="/"> + <out> + Yeee ha + </out> + </xsl:template> + </xsl:stylesheet> + + Expected Output + =============== + <?xml version="1.0" encoding="UTF-8"?> + <bogus:stylesheet xmlns:ped="www.ped.com" xmlns:lotus="http://www.lotus.com" + xmlns:bogus="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <bogus:template match="/"> + <out> + Yeee ha + </out> + </bogus:template> + </bogus:stylesheet> + + XSL + === + <?xml version="1.0"?> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:bogus="http://www.bogus_ns.com" + xmlns:lotus="http://www.lotus.com" + xmlns:ped="www.ped.com"> + + <!-- FileName: namespace23 --> + <!-- Document: http://www.w3.org/TR/xslt --> + <!-- DocVersion: 19991116 --> + <!-- Section: 2.1 XSLT Namespace --> + <!-- Creator: Paul Dick --> + <!-- Purpose: Testing an attribute not from the XSLT namespace, which is + legal provided that the expanded name of the attribute has a non-null + namespace URI. This tests for many xslt elements, apparent code path + are different for numerous elements. Should actually output a "bogus" + stylesheet. --> + + <xsl:import href="test1.xsl" ped:a="a"/> + <xsl:include href="test2.xsl" ped:b="b"/> + <xsl:output method="xml" indent="yes" lotus:c="c"/> + + <xsl:key name="sprtest" match="TestID" use="Name" lotus:d="d"/> + + <xsl:strip-space elements="a" ped:e="e"/> + <xsl:preserve-space elements="b" lotus:f="f"/> + + <xsl:variable name="Var1" ped:g="g"> + DefaultValueOfVar1 + </xsl:variable> + + <xsl:param name="Param1" lotus:h="h"> + DefaultValueOfParam1 + </xsl:param> + + <xsl:attribute-set name="my-style" ped:i="i"> + <xsl:attribute name="my-size" lotus:j="j">12pt</xsl:attribute> + <xsl:attribute name="my-weight">bold</xsl:attribute> + </xsl:attribute-set> + + <xsl:namespace-alias stylesheet-prefix="bogus" result-prefix="xsl" ped:k="k"/> + <xsl:decimal-format decimal-separator="," grouping-separator=" " lotus:l="l" /> + + <xsl:template match="/"> + <bogus:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + <bogus:template match="/"> + <out> + Yeee ha + </out> + </bogus:template> + </bogus:stylesheet> + </xsl:template> + + </xsl:stylesheet> + + XML + === + <?xml version="1.0"?> + <doc> + <a> + <b/> + </a> + <c/> + </doc>
