Oskar Casquero wrote:
Hello,Normal behaviour in my eyes. disable-output-escaping is bad for pipelining. The result XML must be maybe reparsed, so it was deactived completely. But I heard that it work at least in a meantime.
I have done a simple pipeline in cocoon that applies some transformations to an xml document and obtains a text document:
<map:match pattern="MAST">
<map:generate src="xmldocuments/Robot_Teleoperado.xml"/>
<map:transform src="stylesheets/xml2txt.xsl"/>
<map:serialize type="text"/>
</map:match>
Depending on the cocoon version, the result is different:
1) When the pipeline is included in cocoon 2.0.3 the result is the expected one.
2) When the pipeline is included in cocoon 2.1-dev (not updated), it losts the following transformation rule:
<xsl:output omit-xml-declaration="yes"/>
despite I have selected xalan as the xslt processor (the default xslt processor in cocoon 2.1-dev is xsltc).
3) When the pipeline is included in cocoon 2.1-dev (updated), the previous transformation rule and the following one are not applied:
<xsl:variable name="pe"><![CDATA[>]]></xsl:variable>
<xsl:value-of disable-output-escaping="yes" select="$pe"/>
Regards,
Joerg
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>