You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Oskar Casquero <jt...@bi.ehu.es> on 2002/11/18 11:16:24 UTC
XSLT processor problems
Hello,
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"/>
So, the three different versions of cocoon I use, give me three different results. This not only happens with my xslt stylsheets: cocoon's (2.1-dev, not updated) xmlform2html.xsl doesn't work in the updated version. And when I tried to configure saxon, it doesn't work (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=103761165124303&w=2). What can I do?
Oskar
Re: TextSerializer (was: XSLT processor problems)
Posted by Frank Taffelt <fr...@interface-business.de>.
> Some time ago there was a mail according some problems with the
> TextSerializer, but I didn't find it. But there was said, because of
> some other problems with Xalan, the configuration of the text serializer
> was deactivated. Can somebody confirm this?
yes, see my previous posting on this topic:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=103598703627408&w=2
this seems to be a long time bug in cocoon2.1-dev ;-)
hth,
Frank Taffelt
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
TextSerializer (was: XSLT processor problems)
Posted by Joerg Heinicke <jo...@gmx.de>.
Some time ago there was a mail according some problems with the
TextSerializer, but I didn't find it. But there was said, because of
some other problems with Xalan, the configuration of the text serializer
was deactivated. Can somebody confirm this?
Oskar Casquero wrote:
> Hello,
>
> 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"/>
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.
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Out of Memeory in cocoon2.0.2
Posted by Murari Dhoot <mu...@vmoksha.com>.
We developed a application in cocoon...and it s running properly for 6-7 user ...but once the user size increases....somtime its throwing Out of memory Exception... what may be the problem???
And how to optimize the performance of cocoon application????
Thanks