commit | a2f040a5acf4ca91b60dc36aec98365c25dd1d71 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Onofre <jbonofre@apache.org> | Thu Apr 15 11:53:36 2010 +0000 |
committer | Jean-Baptiste Onofre <jbonofre@apache.org> | Thu Apr 15 11:53:36 2010 +0000 |
tree | 5f18138c31e353f1e407676f867d0389772a3ae2 | |
parent | c961979128c0164d4cf6a136dca3aef043774cc5 [diff] |
[SM-1783] Code works in version 3.2.2, but fails in version 3.3. git-svn-id: https://svn.apache.org/repos/asf/servicemix/utils/trunk@934379 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java b/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java index 28f2c75..91641d5 100644 --- a/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java +++ b/src/main/java/org/apache/servicemix/jbi/jaxp/FragmentStreamReader.java
@@ -41,6 +41,10 @@ public FragmentStreamReader(XMLStreamReader parent) { super(parent); + + // fix for SM-1783 + state = parent.getEventType(); + NamespaceContext ctx = getParent().getNamespaceContext(); if (ctx instanceof ExtendedNamespaceContext) { rootPrefixes = new ArrayList();