Author: veithen
Date: Sat Dec  6 14:21:02 2008
New Revision: 724045

URL: http://svn.apache.org/viewvc?rev=724045&view=rev
Log:
WSCOMMONS-237: In StAXOMBuilder, set lastNode correctly after creation of a PI 
node.

Modified:
    
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java?rev=724045&r1=724044&r2=724045&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
 Sat Dec  6 14:21:02 2008
@@ -236,7 +236,7 @@
                     createDTD();
                     break;
                 case XMLStreamConstants.PROCESSING_INSTRUCTION:
-                    createPI();
+                    lastNode = createPI();
                     break;
                 case XMLStreamConstants.ENTITY_REFERENCE:
                     lastNode = 
createOMText(XMLStreamConstants.ENTITY_REFERENCE);


Reply via email to