Re: [xslt] Small bug in HTML output



On Mon, May 21, 2001 at 04:47:02PM +0100, Matt Sergeant wrote:
> 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='&amp;{{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.

  Hum, this one is not simple to fix. I need to change the HTML serialization
routines this is one more problem that I will have to fix at this layer.

  thanks for the report, sorry for not being able to provide q quick fix :-\

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]