Revision ebc64c13bc695994f1d4d5b56ba117d800bba4da authored by Gautier Hattenberger on 25 July 2012, 15:31:03 UTC, committed by Gautier Hattenberger on 25 July 2012, 15:31:03 UTC
Units that can be automatically converted should come last so other
possibilities are tested first. (ok, that is a lazy and fragile
solution...)
A the type of auto conversion ("display" or "code" can be changed only
for conversions that were already using auto mode (eg. deg <-> decideg
will not be auto converted)
1 parent 16c6ea2
Raw File
messages.dtd
<!ELEMENT protocol (class+)>
<!ATTLIST protocol>

<!ELEMENT class (message+)>
<!ATTLIST class
  name CDATA #REQUIRED
>

<!ELEMENT message (field*)>
<!ATTLIST message
  name CDATA #REQUIRED
  id   CDATA #REQUIRED
  link CDATA #IMPLIED
>

<!ELEMENT field EMPTY>
<!ATTLIST field
  name CDATA #REQUIRED
  type CDATA #REQUIRED
  format CDATA #IMPLIED
  unit CDATA #IMPLIED
  values CDATA #IMPLIED
  alt_unit CDATA #IMPLIED
  alt_unit_coef CDATA #IMPLIED
>

back to top