cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: BUG?
Date Sat, 01 Jul 2000 08:08:13 GMT
Niclas Hedhman wrote:
> 
> Peter Anning wrote:
> 
> > Cocoon 1.7.4
> >
> > I have a custom producer that inserts xsl stylesheet and processing =
> > instructions into my xml before passing it to the xslt process for =
> > transform. These instuctions are ignored/removed if the xsl element =
> > attributes are in single quotes.
> >
> > ie. this fails, Cocoon just delivers XML to the browser
> >
> > <?xml-stylesheet
> > href='http://mantova:8080/data/guides/xslt/guideSectionPrevalence.xslt'
> > type='text/xsl'?>
> > <?cocoon-process type='xslt'?>
> >
> > this works
> >
> > <?xml-stylesheet
> > href="http://mantova:8080/data/guides/xslt/guideSectionPrevalence.xslt"
> > type="text/xsl"?>
> > <?cocoon-process type="xslt"?>
> >
> > The single quotes used to work at 1.7
> >
> >      Peter Anning
> 
> XML spec says;
> 
> [10] AttValue ::= '"' ([^<&"] | Reference)* '"'
>                                  |  "'" ([^<&'] | Reference)* "'"
> 
> (Chapter 2.3)
> 
> clearly indicating that both " and ' should be allowed, as long as they
> are matching.

Cool, so we've found a bug.... :)

Anyway volunteers to fix it (it should be pretty trivial)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message