[ 
https://issues.apache.org/jira/browse/COCOON3-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113269#comment-13113269
 ] 

Thorsten Scherler commented on COCOON3-77:
------------------------------------------

I had a look at the source you attached. 

It is hard to apply the patch if it is not a svn diff. This way I am not sure 
where to place the files.

e.g. public class TextSerializer extends XMLSerializer  but the package is 
org.apache.cocoon.components.serializers.util; and you do not have an import 
org.apache.cocoon.sax.component.XMLSerializer

That will lead to compile errors. Further shouldn't that Serializer not extends 
AbstractSAXSerializer instead?

> Text and JSON serializers
> -------------------------
>
>                 Key: COCOON3-77
>                 URL: https://issues.apache.org/jira/browse/COCOON3-77
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-optional
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: Andre Juffer
>            Priority: Minor
>         Attachments: EncodingJsonSerializer.java, 
> EncodingTextSerializer.java, JsonSerializer.java, TextEncoder.java, 
> TextSerializer.java, pom.xml, tribc-cocoon-3.xml
>
>
> Serveral classes have been created for serializing text and JSON in the 
> sitemap. The JsonSerializer also checks whether the JSON text actually is 
> valid. The organization of the classes follows the encoding serializers (such 
> as the EncodingHTMLSerializer).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to