You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2010/04/22 08:38:51 UTC

[jira] Created: (COCOON3-57) LogAsXMLTransformer

LogAsXMLTransformer
-------------------

                 Key: COCOON3-57
                 URL: https://issues.apache.org/jira/browse/COCOON3-57
             Project: Cocoon 3
          Issue Type: New Feature
          Components: cocoon-sax
            Reporter: Francesco Chicchiriccò
            Assignee: Cocoon Developers Team


Similar in principle to LogTransformer [1], instead of printing out the "pure" SAX events, it prints out the complete XML document; useful for debugging.

[1] http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/LogTransformer.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON3-57) LogAsXMLTransformer

Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò updated COCOON3-57:
------------------------------------------

    Attachment: LogAsXMLTransformer.patch

Patch implementing the LogAsXMLTransformer.

> LogAsXMLTransformer
> -------------------
>
>                 Key: COCOON3-57
>                 URL: https://issues.apache.org/jira/browse/COCOON3-57
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Francesco Chicchiriccò
>            Assignee: Simone Tripodi
>         Attachments: LogAsXMLTransformer.patch
>
>
> Similar in principle to LogTransformer [1], instead of printing out the "pure" SAX events, it prints out the complete XML document; useful for debugging.
> [1] http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/LogTransformer.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COCOON3-57) LogAsXMLTransformer

Posted by "Simone Tripodi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi closed COCOON3-57.
---------------------------------

    Fix Version/s: 3.0.0-alpha-3
       Resolution: Fixed

Thanks for the patch Francesco,
I applied it modifying the code a little since there was an easier way to implement it using the already implemented org.apache.cocoon.sax.component.XMLSerializer, that helps us respecting the DRY principle.
Very appreciated, thanks a lot!!!

> LogAsXMLTransformer
> -------------------
>
>                 Key: COCOON3-57
>                 URL: https://issues.apache.org/jira/browse/COCOON3-57
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Francesco Chicchiriccò
>            Assignee: Simone Tripodi
>             Fix For: 3.0.0-alpha-3
>
>         Attachments: LogAsXMLTransformer.patch
>
>
> Similar in principle to LogTransformer [1], instead of printing out the "pure" SAX events, it prints out the complete XML document; useful for debugging.
> [1] http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/LogTransformer.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON3-57) LogAsXMLTransformer

Posted by "Simone Tripodi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON3-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859700#action_12859700 ] 

Simone Tripodi commented on COCOON3-57:
---------------------------------------

No hard to realize, ready in a while, thanks Francesco for the suggestion.

> LogAsXMLTransformer
> -------------------
>
>                 Key: COCOON3-57
>                 URL: https://issues.apache.org/jira/browse/COCOON3-57
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Francesco Chicchiriccò
>            Assignee: Simone Tripodi
>
> Similar in principle to LogTransformer [1], instead of printing out the "pure" SAX events, it prints out the complete XML document; useful for debugging.
> [1] http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/LogTransformer.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (COCOON3-57) LogAsXMLTransformer

Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON3-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859846#action_12859846 ] 

Francesco Chicchiriccò edited comment on COCOON3-57 at 4/22/10 11:34 AM:
-------------------------------------------------------------------------

Patch implementing the LogAsXMLTransformer.

At first I thought to use classes from org.apache.xml.serialize (Xalan); it was simpler but the whole package has been deprecated since xalan 2.9.1.
Because of this I finally went to the alternative DOM-based serialization.

      was (Author: ilgrosso):
    Patch implementing the LogAsXMLTransformer.
  
> LogAsXMLTransformer
> -------------------
>
>                 Key: COCOON3-57
>                 URL: https://issues.apache.org/jira/browse/COCOON3-57
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Francesco Chicchiriccò
>            Assignee: Simone Tripodi
>         Attachments: LogAsXMLTransformer.patch
>
>
> Similar in principle to LogTransformer [1], instead of printing out the "pure" SAX events, it prints out the complete XML document; useful for debugging.
> [1] http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/LogTransformer.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (COCOON3-57) LogAsXMLTransformer

Posted by "Simone Tripodi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON3-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi reassigned COCOON3-57:
-------------------------------------

    Assignee: Simone Tripodi  (was: Cocoon Developers Team)

> LogAsXMLTransformer
> -------------------
>
>                 Key: COCOON3-57
>                 URL: https://issues.apache.org/jira/browse/COCOON3-57
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-sax
>            Reporter: Francesco Chicchiriccò
>            Assignee: Simone Tripodi
>
> Similar in principle to LogTransformer [1], instead of printing out the "pure" SAX events, it prints out the complete XML document; useful for debugging.
> [1] http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/LogTransformer.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.