[xslt] Small bug in HTML output
- From: Matt Sergeant <matt sergeant org>
- To: <xslt gnome org>
- Subject: [xslt] Small bug in HTML output
- Date: Mon, 21 May 2001 16:47:02 +0100 (BST)
I noticed that the following isn't adhered to:
The html output method should not escape a & character occurring in an
attribute value immediately followed by a { character (see Section
B.7.1 of the HTML 4.0 Recommendation). For example, a start-tag written
in the stylesheet as
<BODY bgcolor='&{{randomrbg}};'>
should be output as
<BODY bgcolor='&{randomrbg};'>
Note there's a bug in the above text from the XSLT spec (the double {{ }}
should be single). libxslt outputs the above as the XML output method
would though.
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]