Modify copy-scripts.sh so that on one hand Lua scripts are loaded from ‘lib’ project subdirectory instead of ‘scripts’, and on the other the compilation of these scripts is done by calling the separate shell script compile-scripts.sh. Modify luaconf.h to add ‘lib’ project subdirectory in the search path for Lua scripts.
Patch xml parser to handle CDATA tags. Patch xml parser to accept as its last argument a Lua function to be used to process a parsing error. This function takes as its only argument a table with the xml parsing error info in its fields, and returns no value. That is, wax.xml.parse() can now be used like this: wax.xml.parse("...xml string...", function(e) print(e.message) end) This error handling function argument is optional, and is expected to be the last argument of wax.xml.parse(). Explanation about what the error structure fields mean can be found at http://xmlsoft.org/html/libxml-xmlerror.html#xmlParserError. Also with this modification, wax.xml.parse() no longer terminates the program upon finding a parsing error, as before, but simply returns nil. Co-authored-by: Manolis Tsangaris <email@example.com>