Skip to content

Wrong number at line 109 #1

@mmaslati

Description

@mmaslati

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions