Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4404765

Typo in example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.0.1
    • 1.0
    • deploy
    • None
    • 1.0.1
    • generic, x86
    • solaris_7, windows_nt
    • Not verified

       
      > Developers,
      >
      > I have found some confusing examples in the JNLP specification. Please see
      > section 4.4 In the beginning of the section you use this example:
      >
      > <jar href="sound.jar" download="lazy"/>
      > <nativelib href="native-sound.jar" download="eager"/>
      >
      > However you use this example at the end of the section:
      >
      > <resources>
      > <jar href="sound.jar" part="sound" kind="lazy"/>
      > </resources>
      > <resources os="Windows"/>
      > <nativelib href="sound-native-win.jar" part="sound" kind="lazy"/>
      > </resources>
      > <resources os="SunOS"/>
      > <nativelib href="sound-native-solaris.jar" part="sound" kind="lazy"/>
      > </resources>
      >
      > I believe that in the second example, there is an error. in the jar and
      > nativelib you use the tag "kind" instead of "download". Using the "kind" tag
      > in webstart does not work. I am sure that this confuses many developers. I
      > am not sure if there are any more errors in you document like this but I would
      > like for you to please check for more errors in the rest of your examples.
      >
      > Chris G Matthew <###@###.###>
      > I-Net Architecture
      > Caterpillar Inc.

      -----

      feedback from "Mark Claassen" <###@###.###>

      > Section 4.4 Page 25
      > The attribute "kind" is not defined in the DTD for jar or nativelib.
      > Instead, the attribute should be "download"
      >

            rschmidtsunw Rene Schmidt (Inactive)
            rschmidtsunw Rene Schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: