blob: 5514356d57493ff1fac8c3d644e6a4863d886711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Relax NG schema for UPnP Device Description files. See section 2.1 of UPnP
# Device Architecture 1.0 for the canonical reference.
default namespace = "urn:schemas-upnp-org:device-1-0"
start = root
root = element root {
element specVersion {
element major { text } &
element minor { text }
} &
element URLBase { text }? &
device
}
device = element device {
element deviceType { text } &
element friendlyName { text } &
element manufacturer { text } &
element manufacturerURL { text }? &
element modelDescription { text }? &
element modelName { text } &
element modelNumber { text }? &
element modelURL { text }? &
element serialNumber { text }? &
element UDN { text } &
element UPC { text }? &
element iconList {
element icon {
element mimetype { text } &
element width { text } &
element height { text } &
element depth { text } &
element url { text }
}+
}? &
element serviceList {
element service {
element serviceType { text } &
element serviceId { text } &
element SCPDURL { text } &
element controlURL { text } &
element eventSubURL { text }
}+
}? &
element deviceList {
device+
}? &
element presentationURL { text }?
}+
|