manoelcampos / xml2lua

XML Parser written entirely in Lua that works for Lua 5.1+. Convert XML to and from Lua Tables 🌖💱
MIT License
290 stars 74 forks source link

Serialiser is good but has shortcomings #41

Closed ghost closed 4 years ago

ghost commented 4 years ago

@manoelcampos I've been using the following as a test file: infobox.xml

When parsed by the tree handler and serialised back, stuff breaks. In particular, there are _attr tags present, and text nodes are wrapped with <%d+></%d+> unnecessarily.