DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4328>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4328

HTML output serializes ampersand as "&" in HREF attributes





------- Additional Comments From [EMAIL PROTECTED]  2003-11-19 15:29 -------
To me, the "The html output method should not escape a & character occurring in
an attribute value immediately followed by a { character" in section 16.1 of the
XSLT 1.0 spec implies that & should otherwise be escaped to its character entity
reference. This is consistent with the HTML spec. The later XSLT specs I have
looked at (and the new "XSLT 2.0 and XQuery 1.0 Serialization" draft to which
the relevant section has been moved) also use the same words.

Since & is an ascii character, the special handling on non-ASCII in URI
attribute values does not apply.

As far as I can see this is a bug with respect to XSLT 1.0 and its succcessors,
as well as causing invalid HTML to be generated.

Reply via email to