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 Tue Aug 7 15:05:02 2001 --- shadow/2952.tmp.20132 Fri Aug 17 11:59:51 2001 *************** *** 5,11 **** | Status: NEW Version: 2.0.0 | | Resolution: Platform: All | | Severity: Normal OS/Version: All | ! | Priority: Medium Component: org.apache.xalan.xsltc | +----------------------------------------------------------------------------+ | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | --- 5,11 ---- | Status: NEW Version: 2.0.0 | | Resolution: Platform: All | | Severity: Normal OS/Version: All | ! | Priority: High Component: org.apache.xalan.xsltc | +----------------------------------------------------------------------------+ | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | *************** *** 103,106 **** 6. "#" <A attr="#"/> 7. "'" <A attr="'"/> 8. " " <A attr=" "/><img src="Test 31 Gif.gif"/> ! 9. "©" <A attr="©"/></out> glrr 372 => --- 103,135 ---- 6. "#" <A attr="#"/> 7. "'" <A attr="'"/> 8. " " <A attr=" "/><img src="Test 31 Gif.gif"/> ! 9. "©" <A attr="©"/></out> glrr 372 => ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-08-17 11:59 ------- ! I just discovered that if you have an element in your XML file that ! has internal double-quotes in its text value and you try to plug the element ! into html via an attribute value template the escaping is lost. ! ! For example, if you have ! ! XML:<name>This is a "Great" Race</name> ! ! XSL:<xsl:output method="html" /> ! <html> ! <form> ! <input type="text" name="name" value="{name}" ></input> ! ! You get the following in your html: ! ! <input type="text" name="name" value="This is a "Great" race"> ! ! In the HTML form field, the user sees only ! ! This is a ! ! because the first double quote terminates the value. ! ! I increased, the priority of this bug because of its implications ! for real-world application that generate html forms with the fields ! filled in from the contents of the XML elements. !
