cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Fumagalli (JIRA)" <j...@apache.org>
Subject [jira] Deleted: (COCOON-1242) XML serializer puts DOCTYPE after initial XML comments
Date Sun, 23 Oct 2005 22:28:03 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1242?page=all ]
     
Pier Fumagalli deleted COCOON-1242:
-----------------------------------


> XML serializer puts DOCTYPE after initial XML comments
> ------------------------------------------------------
>
>          Key: COCOON-1242
>          URL: http://issues.apache.org/jira/browse/COCOON-1242
>      Project: Cocoon
>         Type: Bug
>  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


Mime
View raw message