Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 31648 invoked from network); 15 Oct 2009 08:36:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 08:36:54 -0000 Received: (qmail 28366 invoked by uid 500); 15 Oct 2009 08:36:54 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 28331 invoked by uid 500); 15 Oct 2009 08:36:54 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 28321 invoked by uid 99); 15 Oct 2009 08:36:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 08:36:54 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Thu, 15 Oct 2009 08:36:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AB413234C1F0 for ; Thu, 15 Oct 2009 01:36:31 -0700 (PDT) Message-ID: <1039469352.1255595791699.JavaMail.jira@brutus> Date: Thu, 15 Oct 2009 01:36:31 -0700 (PDT) From: "Michael Allman (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-2473) StaxDataBinding.write(Object, XMLStreamWriter) does not close an XMLStreamReader In-Reply-To: <349354803.1255595791674.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Allman updated CXF-2473: -------------------------------- Attachment: StaxDataBinding.patch Proposed fix > StaxDataBinding.write(Object, XMLStreamWriter) does not close an XMLStreamReader > -------------------------------------------------------------------------------- > > Key: CXF-2473 > URL: https://issues.apache.org/jira/browse/CXF-2473 > Project: CXF > Issue Type: Bug > Components: Core > Affects Versions: 2.2.4, 2.2.5 > Reporter: Michael Allman > Attachments: StaxDataBinding.patch > > > The StaxDataBinding.write(Object, XMLStreamWriter) method does not close a provided XMLStreamReader. Shouldn't it? Or perhaps StaxUtils.copy(XMLStreamReader, XMLStreamWriter) should. > Not closing the stream reader does present a bug for my use case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.