diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-08-17 15:20:35 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-08-17 15:20:35 +0000 |
commit | 1798efc6a2291275dcf9a75b6cc06e64776a5cfa (patch) | |
tree | 215c9f095ba0d2671614b56aa62ffa99eb4ea144 /sca-java-2.x/trunk | |
parent | af12c60edacb21d99760862e702e4665717471b7 (diff) |
TUSCANY-3920: Copy fix from TUSCANY-3713 to the ExtensibleStAXArtifactProcessor
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1158766 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java index 132b7a8858..b50f9a71be 100644 --- a/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java +++ b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java @@ -152,7 +152,7 @@ public class ExtensibleStAXArtifactProcessor implements StAXArtifactProcessor<Ob // Delegate to the processor associated with the element QName int event = source.getEventType(); if (event == XMLStreamConstants.START_DOCUMENT) { - source.nextTag(); + while (source.next() != XMLStreamReader.START_ELEMENT); } QName name = source.getName(); StAXArtifactProcessor<?> processor = (StAXArtifactProcessor<?>)processors.getProcessor(name); |