Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 65319 invoked from network); 21 May 2008 13:12:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2008 13:12:17 -0000 Received: (qmail 26547 invoked by uid 500); 21 May 2008 13:12:18 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 26517 invoked by uid 500); 21 May 2008 13:12:17 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 26506 invoked by uid 99); 21 May 2008 13:12:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 06:12:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 13:11:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BB5F5234C120 for ; Wed, 21 May 2008 06:11:55 -0700 (PDT) Message-ID: <247874571.1211375515766.JavaMail.jira@brutus> Date: Wed, 21 May 2008 06:11:55 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1310) Webdav: Drop xerces dependency In-Reply-To: <27035562.1200388775123.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-1310: ------------------------------- Attachment: JCR-1310-jukka.patch How about using the SerializingContentHandler class from JCR-1350? I attached (JCR-1310-jukka.patch) a modified version of your patch that uses SerializingContentHandler instead of the new o.a.j.util.xml classes. I don't have the litmus suite or a spi2dav setup readily at hand, so I only tested this with normal "mvn clean install". Perhaps we could automate those tests somehow? Apart from the different serialization class there are slight changes between your and my patches: * I used the ByteArrayOutputStream directly instead of a StringRequestEntity to implement the methods in XmlRequestEntity * I don't set the character encoding in the content type header, as currently SerializingContentHandler let's the JAXP implementation selects the default encoding * I don't close() the ByteArrayOutputStreams Also, should we use "application/xml" instead of "text/xml" as the XML content type? > Webdav: Drop xerces dependency > ------------------------------ > > Key: JCR-1310 > URL: https://issues.apache.org/jira/browse/JCR-1310 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-webdav > Reporter: angela > Assignee: angela > Priority: Minor > Attachments: JCR-1261.drop-xerces.patch, JCR-1310-jukka.patch, JCR-1310.diff > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.