Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong number at line 109 #1

Open
mmaslati opened this issue Nov 28, 2017 · 0 comments
Open

Wrong number at line 109 #1

mmaslati opened this issue Nov 28, 2017 · 0 comments

Comments

@mmaslati
Copy link

mmaslati commented Nov 28, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant