[ExecString] combine SplitParameters with identical function of CUtil
[xbmc.git] / addons / xbmc.addon / repository.xsd
blob8ff271cdc02d06faab6a33ce4dcc93c801c54460
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4 <xs:element name="extension">
5 <xs:complexType>
6 <xs:all>
7 <xs:element name="info" type="infoItem" minOccurs="1"/>
8 <xs:element name="checksum" type="checksumItem" minOccurs="1"/>
9 <xs:element name="datadir" type="datadirItem" minOccurs="1"/>
10 <xs:element name="artdir" type="xs:string"/>
11 <xs:element name="hashes" type="xs:string"/>
12 </xs:all>
13 <xs:attribute name="point" type="xs:string" use="required"/>
14 <xs:attribute name="id" type="simpleIdentifier"/>
15 <xs:attribute name="name" type="xs:string"/>
16 </xs:complexType>
17 </xs:element>
18 <xs:complexType name="checksumItem">
19 <xs:simpleContent>
20 <xs:extension base="xs:string">
21 <xs:attribute name="verify" type="xs:string"/>
22 </xs:extension>
23 </xs:simpleContent>
24 </xs:complexType>
25 <xs:complexType name="infoItem">
26 <xs:simpleContent>
27 <xs:extension base="xs:string">
28 <xs:attribute name="compressed" type="xs:boolean"/>
29 </xs:extension>
30 </xs:simpleContent>
31 </xs:complexType>
32 <xs:complexType name="datadirItem">
33 <xs:simpleContent>
34 <xs:extension base="xs:string">
35 <xs:attribute name="zip" type="xs:boolean"/>
36 </xs:extension>
37 </xs:simpleContent>
38 </xs:complexType>
39 <xs:simpleType name="simpleIdentifier">
40 <xs:restriction base="xs:string">
41 <xs:pattern value="xbmc\.addon\.repository"/>
42 </xs:restriction>
43 </xs:simpleType>
44 </xs:schema>