Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2199114 | 7 | Andy Herrick | P3 | Resolved | Fixed | b64 |
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.
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.
- backported by
-
JDK-2199114 Typo in recommended public ID for JNLP DTDs
-
- Resolved
-