xml.js icon indicating copy to clipboard operation
xml.js copied to clipboard

Reduce xmllint to ~2MB

Open Programmierschmied opened this issue 6 years ago • 2 comments
trafficstars

…e0322acb60868750697ca03aab

I just adjust some parameter in the scripts. Maybe you will like it. Webassembly isn't supported by every browser and won't needed anymore. --with-minimum will reduce xmllint to ~2MB.

Programmierschmied avatar Apr 11 '19 05:04 Programmierschmied

Uncaught (in promise) TypeError: Module.intArrayFromString is not a function at Module.preRun (xml.js:17) at callRuntimeCallbacks (xml.js:17) at preRun (xml.js:17) at run (xml.js:31) at Object.xmllint.validateXML (xml.js:31) at CheckInterface.getInterface.then.xsd (VM240 add_interface.aspx:172)

kondr1 avatar Jul 24 '19 20:07 kondr1

Hello kondr1,

this is a general problem of the project. You have to define the function Module['intArrayFromString'] = intArrayFromString before run(); function in the bottom of file to fix it.

Programmierschmied avatar Jul 25 '19 05:07 Programmierschmied