cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shai200 <>
Subject Character escaping problem with custom generator
Date Sun, 30 Mar 2008 07:39:42 GMT

I have a custom generator with a generate() method that looks like this:
public void generate() throws IOException, SAXException, ProcessingException
			contentHandler.startElement("", "content", "content", emptyAttr);
				contentHandler.characters(xhtml_output.toCharArray(), 0,

where xhtml_output is some html code. 

My sitemap entry looks like this:

<map:match pattern="xmlaction">
	 <map:generate type="skunk" />
	<map:serialize type="xml"/>

The problem is that this returns HTML code with escaped characters ( i.e. &
lt;  and & gt; instead of < and >, etc.)

How do I fix this?
View this message in context:
Sent from the Cocoon - Users mailing list archive at

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

View raw message