servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r934379 - /servicemix/utils/trunk/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java
Date Thu, 15 Apr 2010 11:53:37 GMT
Author: jbonofre
Date: Thu Apr 15 11:53:36 2010
New Revision: 934379

URL: http://svn.apache.org/viewvc?rev=934379&view=rev
Log:
[SM-1783] Code works in version 3.2.2, but fails in version 3.3.

Modified:
    servicemix/utils/trunk/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java

Modified: servicemix/utils/trunk/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java
URL: http://svn.apache.org/viewvc/servicemix/utils/trunk/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java?rev=934379&r1=934378&r2=934379&view=diff
==============================================================================
--- servicemix/utils/trunk/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java
(original)
+++ servicemix/utils/trunk/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java
Thu Apr 15 11:53:36 2010
@@ -41,6 +41,10 @@ public class FragmentStreamReader extend
 
     public FragmentStreamReader(XMLStreamReader parent) {
         super(parent);
+        
+        // fix for SM-1783
+        state = parent.getEventType();
+        
         NamespaceContext ctx = getParent().getNamespaceContext();
         if (ctx instanceof ExtendedNamespaceContext) {
             rootPrefixes = new ArrayList();



Mime
View raw message