Hi,

I tried with Xalan instead of XSLTC, this time I got an 

Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException:
org.apache.cocoon.ProcessingException: insertFragment: fragment is required.

Honestly, this message does not help me much. What "Fragment"? Does this
refer to the SourceWriteTransformer <source:fragment>? But, then, why do I get
an Exception in the ServerPagaesGenerator and not in the XSL-Engine?

I also tried with SAXON, with it, I get a DOMException, complaining about an
"invalid character". However, I can't figure out where. (I have lot's of "/"
and "\" in the attribute values of my generated xml, but at least the
Filegenerator does not complain about them, so the XML seems to be well-formed)

So three different XSLT Parsers 3 different error messages, but still I
can't locate the problem. 

Can it be that the XML-Structure, the XSP generates is in a way too complex
for the SourceWriteTransformer?

Thanks,

Stephanie

> 
> From: Stephanie Zohner
> 
> > Hi,
> > 
> > I need your help.
> > 
> > I get a Translet-Exception due to an EmptyStackException when 
> > I try to apply the SourceWriteTransformer on a XSP generated 
> > XML-Stream.
> > 
> > Here is my sitemap fragment:
> > 
> > <map:match pattern="config">
> >    <map:generate type="serverpages" src="config-form2.xsp"/>
> >    <map:transform type="xslt" src="save.xsl"/>
> >    <map:transform type="write-source"/>
> >    <map:serialize type="xml"/>
> > </map:match>
> > 
> > However when I save the output of the xsp logicsheet 
> > manuelly, and apply the SourceWriteTrasformer on it, 
> > everything works fine.
> > 
> > Does anybody have an idea, what I did wrong?
> 
> Only a guess, but maybe it's a problem with XSLTC. Please try Xalan as
> XSLT-Transformer.
> 
> Reinhard
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse f�r Mail, Message, More! +++


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to