beckchr / staxon

JSON via StAX
107 stars 47 forks source link

Getting "element has children or text" error on a JSON to XML transformation from a well formed JSON generated by Staxon from an XML #49

Open ppazos opened 6 years ago

ppazos commented 6 years ago

Source exception: https://github.com/beckchr/staxon/blob/master/core/src/main/java/de/odysseus/staxon/base/AbstractXMLStreamReader.java#L288

This is the JSON:

cucucu.json.txt

My transformation follows the code from the guide on JSON to XML transformation. Not sure what's the issue.