diff options
-rw-r--r-- | sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXAttributeProcessor.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/ExtensibleStAXAttributeProcessor.java b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXAttributeProcessor.java index aa159ac629..5bf7e88779 100644 --- a/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXAttributeProcessor.java +++ b/sca-java-2.x/trunk/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXAttributeProcessor.java @@ -140,7 +140,7 @@ public class ExtensibleStAXAttributeProcessor implements StAXAttributeProcessor< // Delegate to the processor associated with the attribute QName int event = source.getEventType(); if (event == XMLStreamConstants.START_DOCUMENT) { - source.nextTag(); + while (source.next() != XMLStreamReader.START_ELEMENT); } StAXAttributeProcessor<?> processor = null; |