Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 917747502 -> 12b375608


[CXF-6103] IgnoreNamespaceWriter should not lose xsi attributes by default - 
the current behaviour


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/12b37560
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/12b37560
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/12b37560

Branch: refs/heads/2.7.x-fixes
Commit: 12b375608bc9cef50b09a4d654c63484b0027483
Parents: 9177475
Author: Sergey Beryozkin <sberyoz...@talend.com>
Authored: Fri Nov 14 22:01:22 2014 +0000
Committer: Sergey Beryozkin <sberyoz...@talend.com>
Committed: Fri Nov 14 22:10:10 2014 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/12b37560/api/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
----------------------------------------------------------------------
diff --git 
a/api/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
 
b/api/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
index 75d8f9a..c6187ba 100644
--- 
a/api/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
+++ 
b/api/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
@@ -27,7 +27,7 @@ public class IgnoreNamespacesWriter extends 
DelegatingXMLStreamWriter {
     private static final String XSI_PREFIX = "xsi";
     private boolean ignoreXsiAttributes;
     public IgnoreNamespacesWriter(XMLStreamWriter writer) {
-        this(writer, true);
+        this(writer, false);
     }
     public IgnoreNamespacesWriter(XMLStreamWriter writer, boolean 
ignoreXsiAttributes) {
         super(writer);

Reply via email to