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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to