Hi,
i'm having a problem with the XMLSerializer:
Instead of the correct indentation of my xml files it inserts 	 for each
whitespace (after linebreaks I think).
The source of an xHTML-file which is returned now looks like this:
.
		<table>
			<tr>
				<td width="75">
					<b>User:</b>
				</td>
				<td>
					<input name="ID" type="text" size="15" />
				</td>
			</tr>
.
Of course this messes up everything (apart from the fact that the browser
don't interpret those xhtml files right anymore).
I've neither had this behaviour with JDK 1.4.2 and Cocoon 2.1.5 or JDK 1.5
and Cocoon 2.1.6, so it must be the combination of Java 5 and Cocoon 2.1.6.
I've tried this on another computer and it's reproducible.
Here's the configuration in the sitemap:
<map:serializer name="xhtml.full"
src="org.apache.cocoon.serialization.XMLSerializer" mime-type="text/html"
pool-grow="2" pool-max="64" pool-min="2">
<doctype-public>-//W3C//DTD XHTML 1.0
Transitional//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doc
type-system>
<encoding>ISO-8859-1</encoding>
<indent>yes</indent>
</map:serializer>
Can anyone help? Is it some parameter for the XMLSerializer?
(I already tried with yes and no for the indent parameter)
Thanx a lot,
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]