[Bug 1026] Apps fail to run because of the nanoxml parser's strict XML validation

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Jun 3 03:55:57 PDT 2013


--- Comment #8 from Heiko <lil_tux at web.de> ---
Just to be clear, jnlp-7-mrel-spec states:

"URLs in a JNLP file should always be properly encoded (also known as "escaped"
form in RFC 2396 Section 2.4.2), e.g., a space should be represented as %20 in
a HTTP URL. A JNLP Client must use the URL exactly as specified in the JNLP
file when making a request to the Web server"


request ::= href [ "?" arguments ]
arguments ::= key "=" value ( "&" key "=" value ) *

"Should" does not mean "must". And the client must not alter the URL, which in
<=icetea-web-1.3 is done by the kind-of broken nanoxml code.

The patch I use stops nanoxml from changing '&' to '&amp;', where nanoxml
kind-of runs amok since it tries to do the replacement everywhere, even in
URLs, descriptions and PCDATA.

Is there an easy way to test out icedtea-web-1.4? Im currently on:

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130603/3f9ecc32/attachment.html 

More information about the distro-pkg-dev mailing list