You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stefan Geelen <st...@hotmail.com> on 2004/03/05 12:27:58 UTC

Cocoon 2.1.4 and ProcessingException error with 'large' xml file ?

Hi,

when indexing some XML files I get this strange error:

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
org.apache.cocoon.ProcessingException: Cannot parse!: 
org.xml.sax.SAXParseException: The string "--" is not permitted within 
comments.

column: 18

line: 872

cause: org.xml.sax.SAXParseException: The string "--" is not permitted 
within comments.

The problem is that there are no -- characters at the specified location (in 
fact, there are no -- characters in the .xml document at all).

Playing around it seems that this error is reported when indexing 'large' 
xml files.  The xml file has a size of 270 kb .  Reducing it to 1/3rd seems 
to solve the problem.

Is there a limit on the size of an xml file Cocoon can process (as it is a
org.apache.cocoon.ProcessingException error).

I'm using Tomcat 4.0.6, Cocoon 2.1.4 and Windows XP

Regards,
Stefan

_________________________________________________________________



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


Re: Cocoon 2.1.4 and ProcessingException error with 'large' xml file ?

Posted by Geoff Howard <co...@leverageweb.com>.
Stefan Geelen wrote:

> Hi,
>
> when indexing some XML files I get this strange error:
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.: 
> org.apache.cocoon.ProcessingException: Cannot parse!: 
> org.xml.sax.SAXParseException: The string "--" is not permitted within 
> comments.
>
> column: 18
>
> line: 872
>
> cause: org.xml.sax.SAXParseException: The string "--" is not permitted 
> within comments.
>
> The problem is that there are no -- characters at the specified 
> location (in fact, there are no -- characters in the .xml document at 
> all).
>
> Playing around it seems that this error is reported when indexing 
> 'large' xml files.  The xml file has a size of 270 kb .  Reducing it 
> to 1/3rd seems to solve the problem.
>
> Is there a limit on the size of an xml file Cocoon can process (as it 
> is a
> org.apache.cocoon.ProcessingException error).
>
> I'm using Tomcat 4.0.6, Cocoon 2.1.4 and Windows XP


Do you mean indexing with the bundled lucene indexer?  Lucene is a 
separate apache project (http://jakarta.apache.org/lucene I think) so if 
you don't get an answer here, you should check there - bugzilla first, 
their archives next, then post to their users list.

Geoff

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