Closed michaeltalyansky closed 7 years ago
Thanks for reporting.
This is an actual issue. It should be as you mentioned, since str
is the parameter for the obj.parse
function, which is expected to be passed to string.sub()
.
I appreciate your help.
Hi @ michaeltalyansky,
I've fixed this issue and also completely refactored and re-organized the project.
Now it's an actual Lua module which can be called using require("luaxml")
.
Check the new documentation, example and the message of the commit 2997c378ae9709bc406ac7d9eb5aacd64405aab9.
Realize the module was also renamed, as explained in f3134e11760b8b7ac05585a4b76e746994995858
I appreciate if you could give some feedback. Thanks.
In xml.lua:292:
In my environment this dies, because 'string' is a string library:
If I replace this line with:
all seems to work fine. I think there are other places in the code that have a similar issue.
Is this a legitimate problem? Will be happy to fix if it is.
Thanks!