You found an old piece of code! Change the script to read debug(...). I changed the code for proper syntax highlighting in SublimeText3.
You’re using the script from github? Script is corrected.
It is for testing purposes only, so you can set the toggle at the start to
.
If you want you can insert a small xdxf-file there to do fast testing of the subroutine newConvertXDXFtoStardictXML. I should have disabled those tests and removed the alternative subroutines. Script is corrected.
After I have ironed out some codepage conversions, I will make a nice clean version of the script on github.