You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2007/06/26 14:33:41 UTC

svn commit: r550791 - /incubator/servicemix/branches/servicemix-3.1/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java

Author: gnodet
Date: Tue Jun 26 05:33:40 2007
New Revision: 550791

URL: http://svn.apache.org/viewvc?view=rev&rev=550791
Log:
Fix for SM-960: JSR181 Orchestration sample doesn't work (IllegalStateException)

Modified:
    incubator/servicemix/branches/servicemix-3.1/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java

Modified: incubator/servicemix/branches/servicemix-3.1/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.1/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java?view=diff&rev=550791&r1=550790&r2=550791
==============================================================================
--- incubator/servicemix/branches/servicemix-3.1/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java (original)
+++ incubator/servicemix/branches/servicemix-3.1/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java Tue Jun 26 05:33:40 2007
@@ -140,5 +140,9 @@
     		return getParent().getNamespaceURI(prefix);
     	}
     }
-    
+
+    public boolean isStartElement() {
+    	return event == START_ELEMENT;
+    }
+
 }