Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D68C9DDB for ; Tue, 17 Apr 2012 19:45:41 +0000 (UTC) Received: (qmail 37058 invoked by uid 500); 17 Apr 2012 19:45:41 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 37037 invoked by uid 500); 17 Apr 2012 19:45:41 -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 37026 invoked by uid 99); 17 Apr 2012 19:45:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 19:45:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Tue, 17 Apr 2012 19:45:36 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6B65C39E7B1 for ; Tue, 17 Apr 2012 19:45:16 +0000 (UTC) Date: Tue, 17 Apr 2012 19:45:16 +0000 (UTC) From: "Aki Yoshida (Created) (JIRA)" To: issues@cxf.apache.org Message-ID: <183368282.34378.1334691916441.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CXF-4244) OutTransformWriter's defaultNamespace setting may not replace all default namespace declarations 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 OutTransformWriter's defaultNamespace setting may not replace all default namespace declarations ------------------------------------------------------------------------------------------------ Key: CXF-4244 URL: https://issues.apache.org/jira/browse/CXF-4244 Project: CXF Issue Type: Bug Components: Core Affects Versions: 2.5.3 Reporter: Aki Yoshida Assignee: Aki Yoshida Fix For: 2.6.1, 2.5.4 With CXF-4176, OutTransformWriter preserves the namespace prefixes except for the empty prefix (i.e., the default namespace) in a special case, namely when OutTransformWriter's defaultNamespace property is set to a non-null string to assign the empty prefix for a different namespace. Given an input XML: 1 when the defaultNamespace property is set to e.g., "", the output should look like: 1 However, the output XML instead resulted as: 1 Logically, this is still valid. However, the intention of this property is lost. Thus, it needs to be corrected to generate the expected output. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira