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

Typo in recommended public ID for JNLP DTDs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6u12
    • 5.0
    • deploy
    • None
    • b01
    • x86
    • linux
    • Verified

        In

        http://java.sun.com/dtd/JNLP-1.5.dtd

        and

        http://java.sun.com/dtd/JNLP-6.0.dtd

        which I surmise are the official JNLP descriptor DTDs (though it is difficult to find them - needed some time with Google!), the public IDs use the word "Discriptor". This should of course be "Descriptor".

        This is not simply a documentation buglet - public IDs are expected to be enforced, i.e. *.jnlp files are technically _required_ to misspell this word by beginning with e.g.

        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Discriptor 6.0//EN" "http://java.sun.com/dtd/JNLP-6.0.dtd">
        <jnlp>
        <!-- ... -->

        Using a correctly-spelled public ID would still let the document be valid according to an XML parser but XML offline catalog resolvers would not be able to find the DTD by public ID.

        I am not sure if this can be fixed for the existing DTDs but it should certainly be fixed for any future revisions.

              herrick Andy Herrick (Inactive)
              jglick Jesse Glick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: