[ http://issues.apache.org/jira/browse/COCOON-1662?page=all ]
Pier Fumagalli moved CTEMP-1242 to COCOON-1662:
-----------------------------------------------
Project: Cocoon (was: Cocoon 2)
Key: COCOON-1662 (was: CTEMP-1242)
Workflow: Cocoon Workflow (was: jira)
Component: - Sitemap Components
(was: sitemap components)
Version: 2.1.5
(was: 2.1.5)
> XML serializer puts DOCTYPE after initial XML comments
> ------------------------------------------------------
>
> Key: COCOON-1662
> URL: http://issues.apache.org/jira/browse/COCOON-1662
> Project: Cocoon
> Type: Bug
> Components: - Sitemap Components
> Versions: 2.1.5
> Environment: Operating System: All
> Platform: Other
> Reporter: Emilian LOSNEANU
> Assignee: Cocoon Developers Team
> Priority: Minor
>
> xml serializer places <!DOCTYPE> after the comment in the source file.
> Source:
> =======
> <!--
> Comment
> -->
> <html>
> <head></head>
> </html>
> Result:
> =======
> <?xml version="1.0" encoding="UTF-8"?><!--
> Comment
> --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html>
> <head></head>
> </html>
> This is what I used in my sitemap.xmap file:
> <map:serializers default="xhtml">
> <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html"
> name="xhtml" src="org.apache.cocoon.serialization.XMLSerializer">
> <doctype-public>-//W3C//DTD XHTML 1.1//EN</doctype-public>
> <doctype-system>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</doctype-system>
> <encoding>UTF-8</encoding>
> </map:serializer>
> </map:serializers>
--
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