alabianca / xml-to-json

Stream based XML to JSON converter
13 stars 9 forks source link

Incorrect parsing of child elements that share their parent's tag #12

Open recalcitrantQ opened 3 years ago

recalcitrantQ commented 3 years ago

The previous fix is only looking one level deep for additional open tags, leading to falsely labelling some files as invalid xml and failing to parse them.

I have created a PR with this fix at https://github.com/alabianca/xml-to-json/pull/11

alabianca commented 3 years ago

@recalcitrantQ sorry for the delay. Will take a look