You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by mi...@sonynetservices.com on 2002/07/18 13:12:09 UTC

error using XmlFormTransformer

Hello,

   I get the following error when using the XmlFormTransformer in my
pipeline.
   I have to add, that I get this error only with one xml file, which is
quite large.
   So is there a known problem with large file?

      java.util.EmptyStackException
      at java.util.Stack.peek(Stack.java:82)
      at
org.apache.cocoon.transformation.XMLFormTransformer.startTransformingElement(XMLFormTransformer.java:409)

Thanks in advance for any help,


miHam


---------------------------------------------------------------------
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>


Re: error using XmlFormTransformer

Posted by Ivelin Ivanov <iv...@apache.org>.
I don't think it is about the document size.
It seems like there is an inappropriate ordering of nested elements, which
causes the transformer to break.
It should handle more gracefully this error and provide a meaningful
exception. Being Alpha quality, it's far from perfect.

Are you interested in debugging the problem and providing a patch?


Ivelin



----- Original Message -----
From: <mi...@sonynetservices.com>
To: <co...@xml.apache.org>
Sent: Thursday, July 18, 2002 6:12 AM
Subject: error using XmlFormTransformer


> Hello,
>
>    I get the following error when using the XmlFormTransformer in my
> pipeline.
>    I have to add, that I get this error only with one xml file, which is
> quite large.
>    So is there a known problem with large file?
>
>       java.util.EmptyStackException
>       at java.util.Stack.peek(Stack.java:82)
>       at
>
org.apache.cocoon.transformation.XMLFormTransformer.startTransformingElement
(XMLFormTransformer.java:409)
>
> Thanks in advance for any help,
>
>
> miHam
>
>
> ---------------------------------------------------------------------
> 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>
>


---------------------------------------------------------------------
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>