4

During debugging my DW script, When I debug xmlStreamReader I have tried to look for .hasNext() which will give me TRUE but getting .next() will terminate the script, thus I am not able to continue from .next() point after that.

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143
Joel
  • 55
  • 3

1 Answers1

4

I also faced the same problem, I have made the hasNext as Number variable.

The issue is with this -> orderXMLReader.next() == XMLStreamConstants.START_ELEMENT

Here orderXMLReader.next() return String value and it is compared with Number constant

Chintan Panchal
  • 721
  • 6
  • 11