You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Maurizio Pillitu (JIRA)" <ji...@apache.org> on 2006/05/05 15:36:28 UTC

[jira] Created: (COCOON-1845) [PATCH] Add omit-xml-declaration parameter to XHTMLSerializer

[PATCH] Add omit-xml-declaration parameter to XHTMLSerializer
-------------------------------------------------------------

         Key: COCOON-1845
         URL: http://issues.apache.org/jira/browse/COCOON-1845
     Project: Cocoon
        Type: Improvement

  Components: Blocks: Serializers  
    Versions: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)    
    Reporter: Maurizio Pillitu
    Priority: Minor
 Attachments: XHTMLSerializer.java.diff, serializers.serializer.xmap.diff

As all the AbstractTextSerializer based serializers, also the XHTMLSerializer should handle the omit-xml-declaration to do not put the XML declaration as first line of the serialized document.

This prevent many rendering problems in Internet Explorer.

Default behaviour is to send the xml declaration as before.

Tested on 2.1.10-dev, but patch should work on 2.2.0 as well.

-- 
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


[jira] Closed: (COCOON-1845) [PATCH] Add omit-xml-declaration parameter to XHTMLSerializer

Posted by "Andrew Savory (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1845?page=all ]
     
Andrew Savory closed COCOON-1845:
---------------------------------

    Resolution: Fixed

Patches applied to branch and trunk. Thanks, Maurizio!

> [PATCH] Add omit-xml-declaration parameter to XHTMLSerializer
> -------------------------------------------------------------
>
>          Key: COCOON-1845
>          URL: http://issues.apache.org/jira/browse/COCOON-1845
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Serializers
>     Versions: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>     Reporter: Maurizio Pillitu
>     Priority: Minor
>  Attachments: XHTMLSerializer.java.diff, serializers.serializer.xmap.diff
>
> As all the AbstractTextSerializer based serializers, also the XHTMLSerializer should handle the omit-xml-declaration to do not put the XML declaration as first line of the serialized document.
> This prevent many rendering problems in Internet Explorer.
> Default behaviour is to send the xml declaration as before.
> Tested on 2.1.10-dev, but patch should work on 2.2.0 as well.

-- 
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