cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject Re: using urls in map:generate
Date Wed, 04 Aug 2004 07:30:39 GMT
Adriano Smith wrote:

>is it possible to use something like this in the sitemap?
> <map:match pattern="*oly.html">
> <map:generate src=""/>
> <map:serialize type="wml"/>
> </map:match>
>im trying to convert the html page (in the url) to a wml page.
>However on execution i get the error:
>Content is not allowed in prolog.
>org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
Content is not allowed in prolog.
>what does this mean?
This probably means that you have a source that doesn't provide valid XML.
Use the HTMLGenerator which can convert HTML into valid XML. IIRC it is 
in its own block.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message