Regarding the XML Parser (xml.lua):
We've used this code to parse XMLs with CDATA (which not a lot of parser offer) and noticed that the data at the end of our CDATA value was cut by one character at the end. We've changed:
top.value = (top.value or "")..xmlText:sub(abs,cdata_end-2)
to:
top.value = (top.value or "")..xmlText:sub(abs,cdata_end-1)
and that seems to work, but we don't know if we affected anything else...
Regarding the XML Parser (xml.lua):
We've used this code to parse XMLs with CDATA (which not a lot of parser offer) and noticed that the data at the end of our CDATA value was cut by one character at the end. We've changed:
top.value = (top.value or "")..xmlText:sub(abs,cdata_end-2)to:
top.value = (top.value or "")..xmlText:sub(abs,cdata_end-1)and that seems to work, but we don't know if we affected anything else...