v1.4-1: Bugfix release
Fix conversion of arrays to XML, correctly using the name of the array as tag names instead of using their indexes.
For instance, consider the following XML:
<object>
<item>item 1</item>
<item>item 2</item>
</object>
That XML is converted to the following lua table, where item
is an array:
object = {
item = {'item 1', 'item 2'}
}
Converting such a table back to XML was wrongly resulting in:
<object>
<1>item 1</2>
<2>item 2</2>
</object>
Now the conversion from the lua table returns the same XML shown at the top of this document.