Wrong Java Web Start file association documentation at java.sun.com

Sun’s JNLP syntax documentation documents the syntax for the <association> tag incorrectly.

The wrong usage is:

<association>
  <mime-type="application-x/swingset2-file"/>
  <extensions="swingset2"/>
</association>

That’s not just wrong documentation, it’s invalid XML.

The correct usage is:

<association mime-type="application-x/swingset2-file"
  extensions="swingset2" />

I have filed bug 6182087 on the Java Bug Parade about this.

One Response to “Wrong Java Web Start file association documentation at java.sun.com”

  1. Growlmurrdurr Technical Weblog: 2004-12-08 Says:

    […] when you double click on it. The first part was easy - Keith Lea already documented the problem, and Go […]

Leave a Reply