Hello,
I'm trying to use the Java wrapper on a HTML that contains the following fragment at lines 36-39
<select name="xyz" onchange="if (document.forms[0].click && document.forms[0].click.value) { document.forms[0].click.value = ''; } this.form.submit();">
<option>1</option>
<option>2</option>
</select>
The conversion fails, logging the following message
Mon Jul 30 10:54:30 2012: ---- begin
Mon Jul 30 10:54:30 2012: Loading document...
Mon Jul 30 10:54:30 2012: -:36: error: xmlParseEntityRef: no name
Mon Jul 30 10:54:30 2012: -:36: error: xmlParseEntityRef: no name
Mon Jul 30 10:54:30 2012: -: error: could not load input file
Mon Jul 30 10:54:30 2012: error: no input documents to process
Mon Jul 30 10:54:30 2012: finished: failure
Mon Jul 30 10:54:30 2012: ---- end
The same errors are reported when using the Prince GUI, but the conversion at least takes place, producing a PDF showing the first option of the select.
What is the underlying problem? The HTML passes the W3C validator and can be opened by any modern browser.
I'm trying to use the Java wrapper on a HTML that contains the following fragment at lines 36-39
<select name="xyz" onchange="if (document.forms[0].click && document.forms[0].click.value) { document.forms[0].click.value = ''; } this.form.submit();">
<option>1</option>
<option>2</option>
</select>
The conversion fails, logging the following message
Mon Jul 30 10:54:30 2012: ---- begin
Mon Jul 30 10:54:30 2012: Loading document...
Mon Jul 30 10:54:30 2012: -:36: error: xmlParseEntityRef: no name
Mon Jul 30 10:54:30 2012: -:36: error: xmlParseEntityRef: no name
Mon Jul 30 10:54:30 2012: -: error: could not load input file
Mon Jul 30 10:54:30 2012: error: no input documents to process
Mon Jul 30 10:54:30 2012: finished: failure
Mon Jul 30 10:54:30 2012: ---- end
The same errors are reported when using the Prince GUI, but the conversion at least takes place, producing a PDF showing the first option of the select.
What is the underlying problem? The HTML passes the W3C validator and can be opened by any modern browser.