You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sylvain Wallez <sy...@anyware-tech.com> on 2002/01/13 20:56:22 UTC

Re: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java session.xsl

vgritsenko@apache.org wrote:

>vgritsenko    02/01/11 20:08:13
>
>  Modified:    src/java/org/apache/cocoon/components/language/markup/xsp/java
>                        session.xsl
>  Log:
>  Fix (weird) bug 5810.
>  (BTW: For some reason result of XSLT transformation inside Cocoon differs from result of standalone transformer)
>  
>
Vadim,

FYI, XSP page is preprocessed before logicsheets are applied : in 
XSPMarkupLanguage.PreProcessFilter, elements <xsp:expr>, <xsp:logic>, 
<xsp:structure> and <xsp:include> are passed untouched but all other 
elements have their text children escaped and included in an <xsp:text>.

This can explain the differences between in-engine and standalone 
transformations.

Sylvain




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java session.xsl

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
> 
> vgritsenko@apache.org wrote:
> 
> >vgritsenko    02/01/11 20:08:13
> >
> >  Modified:
src/java/org/apache/cocoon/components/language/markup/xsp/java
> >                        session.xsl
> >  Log:
> >  Fix (weird) bug 5810.
> >  (BTW: For some reason result of XSLT transformation inside Cocoon
differs
> from result of standalone transformer)
> >
> >
> Vadim,
> 
> FYI, XSP page is preprocessed before logicsheets are applied : in
> XSPMarkupLanguage.PreProcessFilter, elements <xsp:expr>, <xsp:logic>,
> <xsp:structure> and <xsp:include> are passed untouched but all other
> elements have their text children escaped and included in an
<xsp:text>.

Ok... Then this might be the reason of a bug - logicsheet author did not
account for this.

Thanks,
Vadim



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org