summaryrefslogtreecommitdiffstats
path: root/hcid/service-record.dtd
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-10-30 14:11:16 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-10-30 14:11:16 +0000
commita3845caff59550486be6f96a213900772df830b2 (patch)
tree830e52630a1ea3ae8105cba80f7e3e732d10ff78 /hcid/service-record.dtd
parent5695fceb8dd3b72d5abd5da79b7a0551111d7400 (diff)
Update service record DTD and example record
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>