summaryrefslogtreecommitdiffstats
path: root/hcid/service-record.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/service-record.dtd')
-rw-r--r--hcid/service-record.dtd32
1 files changed, 29 insertions, 3 deletions
diff --git a/hcid/service-record.dtd b/hcid/service-record.dtd
index 8f86ca32..86b2bc43 100644
--- a/hcid/service-record.dtd
+++ b/hcid/service-record.dtd
@@ -1,11 +1,37 @@
<!ELEMENT record (attribute)*>
-<!ELEMENT attribute (data|sequence|alternate)+>
+<!ELEMENT attribute (sequence|alternate|text|url|uuid|boolean|uint8|uint16|uint32|uint64|nil|data)+>
<!ATTLIST attribute id CDATA #REQUIRED>
-<!ELEMENT sequence (data|sequence|alternate)+>
+<!ELEMENT sequence (sequence|alternate|text|url|uuid|boolean|uint8|uint16|uint32|uint64|nil|data)+>
-<!ELEMENT alternate (data|sequence|alternate)+>
+<!ELEMENT alternate (sequence|alternate|text|url|uuid|boolean|uint8|uint16|uint32|uint64|nil|data)+>
+
+<!ELEMENT text EMPTY>
+<!ATTLIST text value CDATA #REQUIRED>
+
+<!ELEMENT url EMPTY>
+<!ATTLIST url value CDATA #REQUIRED>
+
+<!ELEMENT uuid EMPTY>
+<!ATTLIST uuid value CDATA #REQUIRED>
+
+<!ELEMENT boolean EMPTY>
+<!ATTLIST boolean value CDATA #REQUIRED>
+
+<!ELEMENT uint8 EMPTY>
+<!ATTLIST uint8 value CDATA #REQUIRED>
+
+<!ELEMENT uint16 EMPTY>
+<!ATTLIST uint16 value CDATA #REQUIRED>
+
+<!ELEMENT uint32 EMPTY>
+<!ATTLIST uint32 value CDATA #REQUIRED>
+
+<!ELEMENT uint64 EMPTY>
+<!ATTLIST uint64 value CDATA #REQUIRED>
+
+<!ELEMENT nil EMPTY>
<!ELEMENT data EMPTY>
<!ATTLIST data type CDATA #REQUIRED>