Re: XSLT in Mozilla 3.5.7

Ralph Vigne <[email protected]> Wed, 3 Feb 2010 07:04:27 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization http://groups.google.com
Message-ID <f55f4dab-464e-443c-a1fc-f724dec9ca72@q16g2000yqq.googlegroups.com>
On Feb 3, 3:26=A0pm, Martin Honnen <[email protected]> wrote:
> Ralph Vigne wrote:
> > Error during XSL transformation:
> > [Exception... "Component returned failure code: 0x80600001
> > [nsIXSLTProcessor.importStylesheet]" =A0nsresult: "0x80600001
> > (<unknown>)" =A0location: "JS frame ::http://www.pri.univie.ac.at/~ralp=
h/xslt-test.html
> > :: anonymous :: line 40" =A0data: no]
>
> > I've no idea what FireFox is trying to tell with this. Using FireBug
> > shows me that this error is thrown at importStylsheet() what bring up
> > the assumption that the xsl is wrong, but I cant figure out where or
> > what.
>
> > Link to xml:http://www.pri.univie.ac.at/~ralph/workflow.xml
> > Link to xsl:http://www.pri.univie.ac.at/~ralph/wee.xsl
>
> The allowed attributes on xsl:output are defined here:
> =A0 =A0http://www.w3.org/TR/xslt#output
>
> You have
> =A0 =A0<xsl:output method=3D"text" disable-output-escaping=3D"yes"/>
> where the disable-output-escaping attribute is not allowed.
>
> That attribute belongs on xsl:value-of or xsl:text elements but it is
> not meaningful to use it within a stylesheet with output method=3D"text"
> as the text output method does not do any escaping anyway.
>
> --
>
> =A0 =A0 =A0 =A0 Martin Honnen
> =A0 =A0 =A0 =A0http://msmvps.com/blogs/martin_honnen/

Hi Martin,

Thanks a lot for pointing this out. I've removed it from my xsl and
now everything works as I wanted it to.

Have a nice day,
  Ralph