cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
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="http://xxxxx.com/yyy_oly.html"/>
> <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.: http://xxxxx.com/yyy.html:1:1:org.xml.sax.SAXParseException:
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.

-- 
Reinhard


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


Mime
View raw message