qzindustries / qz-print

Free browser applet for sending documents and raw commands to a printer.
Other
49 stars 4 forks source link

XMLParseException (JNLP parser error on Ubuntu) #23

Closed tresf closed 9 years ago

tresf commented 10 years ago

Looks like an old copy of the JNLP is kicking around as this issue existed in a pre-1.8.0 build.

net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of the XML definition at line 1: Expected: '<' but got: ''

The issue is because the JNLP has some invalid white-space characters which Windows ignores but Ubuntu does not.

The fix is to use JNLP from 1.8.0 and bundle it with the next beta release of 2.0.0 (likely 1.9.9.5).

Specifically, this is located at qz-print/src/JNLP-INF/APPLICATION.JNLP. The qz-print_jnlp.jnlp will be replaced automatically by the build script.

tresf commented 9 years ago

Closing, this bug exists solely on a non-maintained branch (master). https://github.com/qzind/qz-print has the latest (1.9 at the time of writing this).