Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 632d7dd86 -> 99cdc078f


[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/99cdc078
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/99cdc078
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/99cdc078

Branch: refs/heads/3.0.x-fixes
Commit: 99cdc078f30212f516dcf7bc2291c83bcf5475c8
Parents: 632d7dd
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:03:29 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/99cdc078/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
 
b/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
index 75d8f9a..c6187ba 100644
--- 
a/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
+++ 
b/core/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