xml2lua
xml2lua copied to clipboard
Test failure: acceptance_test_repeated_tags1_spec.lua:47: there should have an item with a 'something1' myattr value
trafficstars
The given table:
tag = {
array = {
item = { _attr = { myattr = "something1" } },
item = { _attr = { myattr = "something2" } },
}
}
should be parsed as the following XML:
<tag>
<array>
<item myattr="something1"/>
<item myattr="something2"/>
</array>
</tag>
but only the last item tag is being generated in the final XML.