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=2952 *** shadow/2952 Wed Aug 1 12:18:14 2001 --- shadow/2952.tmp.25838 Wed Aug 1 12:18:14 2001 *************** *** 0 **** --- 1,106 ---- + +============================================================================+ + | xsltc fails conf test output24 | + +----------------------------------------------------------------------------+ + | Bug #: 2952 Product: XalanJ2 | + | Status: NEW Version: 2.0.0 | + | 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's output on this test differs from that of the other XSLT processors shown + below. + + XSL + === + <?xml version="1.0" encoding="ISO-8859-1"?> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:output method="xml"/> + + <!-- FileName: OUTP24 --> + <!-- Document: http://www.w3.org/TR/xslt --> + <!-- DocVersion: 19991116 --> + <!-- Section: 16.1 XML Output Method --> + <!-- Purpose: Escape of non-ASCII chars in URI attribute values using method + cited in Section B.2.1 of HTML 4.0 Spec. This test is a duplicate of + OUTP31, except that the output is XML. --> + + <xsl:template match="/"> + <out> + 1. "¥" <A attr="¥"/> + 2. """ <A attr="""/> + 3. "<" <A attr="<"/> + 4. ">" <A attr=">"/> + 5. "&" <A attr="&"/> + 6. "#" <A attr="#"/> + 7. "'" <A attr="'"/> + 8. " " <A attr=" "/> <img src="Test 31 Gif.gif"/> + 9. "©" <A attr="©"/> + </out> + </xsl:template> + + </xsl:stylesheet> + + Obtained Output + =============== + <?xml version="1.0" encoding="utf-8" ?> + <out> + 1. "¥" <A attr="¥"/> + 2. """ <A attr="""/> + 3. "<" <A attr="<"/> + 4. ">" <A attr=">"/> + 5. "&" <A attr="&"/> + 6. "#" <A attr="#"/> + 7. "'" <A attr="'"/> + 8. "" <A attr=" "/><img src="Test 31 Gif.gif"/> + 9. "©" <A attr="©"/></out> + + Output from other processors + ============================ + Saxon + ----- + <?xml version="1.0" encoding="utf-8"?><out> + 1. "¥" <A attr="¥"/> + 2. """ <A attr="""/> + 3. "<" <A attr="<"/> + 4. ">" <A attr=">"/> + 5. "&" <A attr="&"/> + 6. "#" <A attr="#"/> + 7. "'" <A attr="'"/> + 8. " " <A attr=" "/><img src="Test 31 Gif.gif"/> + 9. "©" <A attr="©"/></out> glrr 370 => + + Xalan + ----- + xalan output24.xml output24.xsl + <?xml version="1.0" encoding="UTF-8"?> + <out> + 1. "¥" <A attr="¥"/> + 2. """ <A attr="""/> + 3. "<" <A attr="<"/> + 4. ">" <A attr=">"/> + 5. "&" <A attr="&"/> + 6. "#" <A attr="#"/> + 7. "'" <A attr="'"/> + 8. " " <A attr=" "/><img src="Test 31 Gif.gif"/> + 9. "©" <A attr="©"/></out> + + XT + -- + <?xml version="1.0" encoding="utf-8"?> + <out> + 1. "¥" <A attr="¥"/> + 2. """ <A attr="""/> + 3. "<" <A attr="<"/> + 4. ">" <A attr=">"/> + 5. "&" <A attr="&"/> + 6. "#" <A attr="#"/> + 7. "'" <A attr="'"/> + 8. " " <A attr=" "/><img src="Test 31 Gif.gif"/> + 9. "©" <A attr="©"/></out> glrr 372 => \ No newline at end of file
