[ http://issues.apache.org/jira/browse/COCOON-1531?page=all ] Antonio Gallardo reassigned COCOON-1531: ---------------------------------------- Assign To: Antonio Gallardo (was: Cocoon Developers Team) > problem with htmlserializer (strange character in output ) > ---------------------------------------------------------- > > Key: COCOON-1531 > URL: http://issues.apache.org/jira/browse/COCOON-1531 > Project: Cocoon > Type: Bug > Components: - Components: Sitemap > Versions: 2.1.7 > Environment: Operating System: other > Platform: Other > Reporter: kees_broenink > Assignee: Antonio Gallardo > > Using the latest Cocoon (2.1.7) I have a problem with serialize type="html". > > > > works fine. > > But using the following (index.html is well balanced XML): > > > > > adds a greater than character '>' in the output: > > "http://www.w3.org/TR/html4/loose.dtd"> > > > xmlns:s="http://www.backbase.com/s"> > > It only happens if the original document also has a DOCTYPE definition (will be > removed by Cocoon): > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > xmlns:s="http://www.backbase.com/s"> > Note that it only happens with org.apache.cocoon.serialization.HTMLSerializer; > not with org.apache.cocoon.serialization.XMLSerializer. > It doesn't matter if you configure with or without doctype, encoding etc. > > name="html" pool-grow="4" pool-max="32" pool-min="4" > src="org.apache.cocoon.serialization.HTMLSerializer"> > -//W3C//DTD HTML 4.01 Transitional//EN > http://www.w3.org/TR/html4/loose.dtd > UTF-8 > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira