Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E90C9DBC for ; Fri, 23 Sep 2011 08:50:52 +0000 (UTC) Received: (qmail 70724 invoked by uid 500); 23 Sep 2011 08:50:51 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 70613 invoked by uid 500); 23 Sep 2011 08:50:50 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 70356 invoked by uid 99); 23 Sep 2011 08:50:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 08:50:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 08:50:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5EA61AA401 for ; Fri, 23 Sep 2011 08:50:26 +0000 (UTC) Date: Fri, 23 Sep 2011 08:50:26 +0000 (UTC) From: "Thorsten Scherler (JIRA)" To: dev@cocoon.apache.org Message-ID: <649825543.5705.1316767826383.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <575914720.28285.1316034488964.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COCOON3-77) Text and JSON serializers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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