Re: [xslt] Small bug in HTML output



On Sat, 9 Jun 2001, Daniel Veillard wrote:

> 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 :-\

Oh, I would put it at the end of your pile. I can't imagine anyone using
this feature!

-- 
<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]