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

Wrong Syntax for DRS 1.2 DTD

    XMLWordPrintable

Details

    Description


      Seems to be syntax errors in the new drs.dtd which came with 8u60 and was
      published here:
      http://www.oracle.com/technetwork/java/javase/8u60-relnotes-2620227.html

      It seems this would be correct (ATTLIST instead of ATTRIBUTE, parenthesis
      behind id, element name before permission, version and force of the action
      element):


      <!ELEMENT ruleset (rule*)>
      <!ATTLIST ruleset href CDATA #IMPLIED>
      <!ATTLIST ruleset version CDATA #REQUIRED>

      <!ELEMENT rule (id, action)>

      <!ELEMENT id (certificate?, checksum?)>
      <!ATTLIST id title CDATA #IMPLIED>
      <!ATTLIST id location CDATA #IMPLIED>

      <!ELEMENT certificate EMPTY>
      <!ATTLIST certificate algorithm CDATA #IMPLIED>
      <!ATTLIST certificate hash CDATA #REQUIRED>

      <!ELEMENT checksum EMPTY>
      <!ATTLIST checksum algorithm CDATA #IMPLIED>
      <!ATTLIST checksum hash CDATA #REQUIRED>

      <!ELEMENT action (message?)>
      <!ATTLIST action permission (run | block | default) #REQUIRED>
      <!ATTLIST action version CDATA #IMPLIED>
      <!ATTLIST action force (true|false) "false">

      <!ELEMENT message (#PCDATA)>
      <!ATTLIST message locale CDATA #IMPLIED>

      Attachments

        Activity

          People

            van Vivi An (Inactive)
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: