ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1733517 - in /webservices/axiom/trunk/aspects: core-aspects/src/main/java/org/apache/axiom/core/impl/mixin/CoreProcessingInstructionSupport.aj om-aspects/src/main/java/org/apache/axiom/om/impl/common/serializer/push/stax/StAXSerializer.java
Date Thu, 03 Mar 2016 19:50:23 GMT
Author: veithen
Date: Thu Mar  3 19:50:23 2016
New Revision: 1733517

URL: http://svn.apache.org/viewvc?rev=1733517&view=rev
Log:
Fix processing instruction handling.

Modified:
    webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/impl/mixin/CoreProcessingInstructionSupport.aj
    webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/common/serializer/push/stax/StAXSerializer.java

Modified: webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/impl/mixin/CoreProcessingInstructionSupport.aj
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/impl/mixin/CoreProcessingInstructionSupport.aj?rev=1733517&r1=1733516&r2=1733517&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/impl/mixin/CoreProcessingInstructionSupport.aj
(original)
+++ webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/impl/mixin/CoreProcessingInstructionSupport.aj
Thu Mar  3 19:50:23 2016
@@ -46,7 +46,7 @@ public aspect CoreProcessingInstructionS
     }
     
     public final void CoreProcessingInstruction.serializeStartEvent(XmlHandler handler) throws
CoreModelException, StreamException {
-        handler.startProcessingInstruction(coreGetTarget() + " ");
+        handler.startProcessingInstruction(coreGetTarget());
     }
 
     public final void CoreProcessingInstruction.serializeEndEvent(XmlHandler handler) throws
StreamException {

Modified: webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/common/serializer/push/stax/StAXSerializer.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/common/serializer/push/stax/StAXSerializer.java?rev=1733517&r1=1733516&r2=1733517&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/common/serializer/push/stax/StAXSerializer.java
(original)
+++ webservices/axiom/trunk/aspects/om-aspects/src/main/java/org/apache/axiom/om/impl/common/serializer/push/stax/StAXSerializer.java
Thu Mar  3 19:50:23 2016
@@ -184,7 +184,7 @@ public class StAXSerializer implements X
     @Override
     public void endProcessingInstruction() throws StreamException {
         try {
-            writer.writeProcessingInstruction(piTarget, stopBuffering());
+            writer.writeProcessingInstruction(piTarget + " ", stopBuffering());
             piTarget = null;
         } catch (XMLStreamException ex) {
             throw new StreamException(ex);



Mime
View raw message