However, adding a doctype definition to the data.xml crashes the speedata publisher:
Loading data file "/Users/conrad/Repositories/creisch-dev/creisch-fachinfo-template/data.xml"
Error: [page 1] ...ch-fachinfo-template/speedata-publisher/sw/lua/luxor.lua:69: bad argument #1 to 'gsub' (string expected, got nil)
stack traceback:
...-template/speedata-publisher/sw/lua/publisher/spinit.lua:57: in function 'call'
...-template/speedata-publisher/sw/lua/publisher/spinit.lua:408: in function 'main_loop'
...-template/speedata-publisher/sw/lua/publisher/spinit.lua:417: in main chunk
[C]: in function 'require'
[\directlua]:1: in main chunk
Stop processing data
1 errors occurred
May I kindly ask to review luxor.lua?
BR, Conrad
P.S.: I try my best to create a merge request in the future.
Some HTML entities that are used within xml in VSCode cause warnings, e.g.:
<
,>
and some others work fine
or€
create a warning message.VSCode proposes to create a DOCTYPE definition, e.g. for
:However, adding a doctype definition to the data.xml crashes the speedata publisher:
May I kindly ask to review luxor.lua?
BR, Conrad
P.S.: I try my best to create a merge request in the future.