cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Davies <>
Subject error trying to use TextParserGenerator
Date Wed, 26 Mar 2003 15:24:58 GMT
Apologies if this has been answered previously but I'm a relative newbie to Cocoon2.

I have a structured text file which is exported from a database (non SQL, a complete mess
so there's no chance of using standard xsl logic to extract data) and need to convert it into

I am trying to see if I am capable of doing this using a TextParserGenerator to get it into
an XML format that I can manipulate into ead. Unfortunately I keep getting the following Internal
Server Error:

type fatal
message Error in sitemap configuration : org.apache.cocoon.generation.TextParserGenerator
description org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap
configuration : org.apache.cocoon.generation.TextParserGenerator
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet

Here's the bulk of the sitemap:

<map:sitemap xmlns:map="">
	<map:generators default="file">
            <map:generator name="textparser"
        -- other components --
            <map:match pattern="">
                <map:generate src="documents/et6766.txt" type="textparser">
		    <map:parameter name="grammar" value="ead.grm"/>
		    <map:parameter name="includeignorabletokens" value="false"/>
                <map:serialize type="xml"/>

If the grammer file would be helpful I'll post it, but I'll try and keep this minimal for


View raw message