cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wat <>
Subject Xalan and Cocoon gives different result for some XSL
Date Tue, 12 Sep 2000 10:12:13 GMT
Hi there,

I tried Xalan and Cocoon on the same XML and XSL. For one particular XSL,
Xalan gives the right output but Cocoon failed. Apparently, Cocoon failed
when the stylesheet has this

      <xsl:text disable-output-escaping="yes">&amp;</xsl:text>

which should escape a tag character.

The Cocoon output is

<?xslt-next-is-raw formatter-to-dom?>&amp;

but it should be the & instead.

If I run Xalan standalone e.g.

java org.apache.xalan.xslt.Process -in "the_xml", the output Xalan gives
is correct.

I verified with :
Cocoon version is 1.7.4
Xalan 1.2 and the one bundled with Cocoon 1.7.4
Xerces bundled with Xalan 1.2 and that with Cocoon 1.7.4

Can you shed a light on this?

Thank you very much.


View raw message