diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-12 15:50:33 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-12 15:50:33 +0000 |
commit | f3dc86430a464967caef5487931665c716281b68 (patch) | |
tree | a8d75b6231ff3ea9353943e92aca70aceb626787 /sca-java-2.x/trunk/modules/contribution/src | |
parent | 5bd7ebb83f8071139dfb7a4ccdc232d132411e31 (diff) |
TUSCANY-3713 apply patch from Yang to process past non-whitespace before document start. Thanks Yang.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1021805 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/contribution/src')
-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; |