lua testxml.lua
lua: testxml.lua:95: attempt to call a nil value (global 'read')
stack traceback:
testxml.lua:95: in main chunk
[C]: in ?
Need fix something like
index = 1
+ if #arg == 0 then print(_usage); return end
domHandler dont work
lua testxml.lua -dom people.xml
File people.xml
----------- Dom
lua: .\xmlhandler/dom.lua:110: attempt to index a nil value (field 'current')
stack traceback:
.\xmlhandler/dom.lua:110: in function 'xmlhandler/dom.decl'
.\XmlParser.lua:205: in upvalue 'parseXmlDeclaration'
.\XmlParser.lua:367: in upvalue 'parseTagType'
.\XmlParser.lua:449: in function 'XmlParser.parse'
testxml.lua:124: in main chunk
[C]: in ?
Need fix something like
domHandler
dont work