You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2013/12/09 11:45:47 UTC

svn commit: r1549537 - /cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java

Author: sergeyb
Date: Mon Dec  9 10:45:46 2013
New Revision: 1549537

URL: http://svn.apache.org/r1549537
Log:
Blocking namespaces in writeAttribute methods in IgnoreNamespaceWriter

Modified:
    cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java

Modified: cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java?rev=1549537&r1=1549536&r2=1549537&view=diff
==============================================================================
--- cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java (original)
+++ cxf/trunk/core/src/main/java/org/apache/cxf/staxutils/transform/IgnoreNamespacesWriter.java Mon Dec  9 10:45:46 2013
@@ -29,6 +29,15 @@ public class IgnoreNamespacesWriter exte
         super(writer);
     }
 
+    public void writeAttribute(String prefix, String uri, 
+                               String local, String value) throws XMLStreamException {
+        super.writeAttribute(local, value);
+    }
+
+    public void writeAttribute(String uri, String local, String value) throws XMLStreamException {
+        super.writeAttribute(local, value);
+    }
+    
     public void writeStartElement(String prefix, String local, String uri) throws XMLStreamException {
         super.writeStartElement(local);
     }