bug fix, see details 

it should be a bug when you parse the following xml file 

<a>
  <a1>hello</a1>
  <a2>world</a2>
</a>

<b>
  <b1>hello2</b1>
  <b2>world2</b2>
</b>