FIXUP: give names to sec_vt_command's
[wireshark-wip.git] / diameter / dictionary.dtd
bloba7639b934d28e6066d7f5e160dae1e4dbb73af02
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 $Log: dictionary.dtd,v $
4 Revision 1.1 2001/11/01 21:52:44 guy
5 From David Frascone: duUpdate to Diameter dissector to load the
6 dictionary as an XML file rather than building it in, and various
7 Diameter updates.
9 Revision 1.1 2001/08/24 18:04:44 chaos
10 Added per Mark's request
12 Revision 1.3 2001/07/31 17:43:36 chaos
13 Oops, forgot to turn on validity checking. Fixed some errors found with validity checking turned on
15 Revision 1.2 2001/07/31 16:56:15 chaos
16 Lots of changes to support flags like in the draft, and to support commands
18 -->
19 <!ELEMENT dictionary (base, application*)>
20 <!ELEMENT base (command*, vendor*, typedefn+, avp+)>
21 <!ATTLIST base
22 uri CDATA #IMPLIED
25 <!ELEMENT application (command*, vendor*, typedefn*, avp*)>
26 <!ATTLIST application
27 id CDATA #REQUIRED
28 name CDATA #IMPLIED
29 uri CDATA #IMPLIED
31 <!ELEMENT command (#PCDATA)>
32 <!ATTLIST command
33 name CDATA #REQUIRED
34 code CDATA #REQUIRED
35 vendor-id IDREF #IMPLIED
37 <!ELEMENT vendor EMPTY>
38 <!ATTLIST vendor
39 vendor-id ID #REQUIRED
40 code CDATA #REQUIRED
41 name CDATA #IMPLIED
43 <!ELEMENT typedefn EMPTY>
44 <!ATTLIST typedefn
45 type-name ID #REQUIRED
46 type-parent IDREF #IMPLIED
47 description CDATA #IMPLIED
49 <!ELEMENT avp ((type | grouped), (enum*))>
50 <!ATTLIST avp
51 name IDREF #REQUIRED
52 description CDATA #IMPLIED
53 code CDATA #REQUIRED
54 may-encrypt (yes | no) "yes"
55 mandatory (must | may | mustnot | shouldnot) "may"
56 protected (must | may | mustnot | shouldnot) "may"
57 vendor-bit (must | may | mustnot | shouldnot) "mustnot"
58 vendor-id IDREF #IMPLIED
59 constrained (true | false) "false"
61 <!ELEMENT type EMPTY>
62 <!ATTLIST type
63 type-name IDREF #REQUIRED
65 <!ELEMENT grouped (gavp+)>
66 <!ELEMENT gavp EMPTY>
67 <!ATTLIST gavp
68 name IDREF #REQUIRED
70 <!ELEMENT enum EMPTY>
71 <!ATTLIST enum
72 name CDATA #REQUIRED
73 code CDATA #REQUIRED