[FileItem] Fix mimetype content lookup
[xbmc.git] / addons / kodi.resource / language.xsd
blobd073196a105b6dfe9b048bc607b95cd364f438b3
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="charsets">
8 <xs:complexType>
9 <xs:all>
10 <xs:element name="gui">
11 <xs:complexType>
12 <xs:simpleContent>
13 <xs:extension base="xs:string">
14 <xs:attribute name="unicodefont" type="xs:boolean"/>
15 </xs:extension>
16 </xs:simpleContent>
17 </xs:complexType>
18 </xs:element>
19 <xs:element name="subtitle" type="xs:string"/>
20 </xs:all>
21 </xs:complexType>
22 </xs:element>
23 <xs:element name="sorttokens" minOccurs="0">
24 <xs:complexType>
25 <xs:sequence>
26 <xs:element name="token" minOccurs="1" maxOccurs="unbounded">
27 <xs:complexType>
28 <xs:simpleContent>
29 <xs:extension base="xs:string">
30 <xs:attribute name="separators" type="xs:string"/>
31 </xs:extension>
32 </xs:simpleContent>
33 </xs:complexType>
34 </xs:element>
35 </xs:sequence>
36 </xs:complexType>
37 </xs:element>
38 <xs:element name="dvd" minOccurs="0">
39 <xs:complexType>
40 <xs:all>
41 <xs:element name="menu" type="xs:string" minOccurs="0"/>
42 <xs:element name="audio" type="xs:string" minOccurs="0"/>
43 <xs:element name="subtitle" type="xs:string" minOccurs="0"/>
44 </xs:all>
45 </xs:complexType>
46 </xs:element>
47 </xs:all>
48 <xs:attribute name="point" type="xs:string" use="required"/>
49 <xs:attribute name="id" type="simpleIdentifier"/>
50 <xs:attribute name="name" type="xs:string"/>
51 <xs:attribute name="locale" type="langIdentifier"/>
52 <xs:attribute name="language" type="xs:string"/>
53 <xs:attribute name="region" type="xs:string"/>
54 </xs:complexType>
55 </xs:element>
56 <xs:simpleType name="simpleIdentifier">
57 <xs:restriction base="xs:string">
58 <xs:pattern value="kodi\.resource\.language"/>
59 </xs:restriction>
60 </xs:simpleType>
61 <xs:simpleType name="langIdentifier">
62 <xs:restriction base="xs:string">
63 <xs:pattern value="[a-z]{2,3}(_[A-Z]{2}(@\S+)?)?"/>
64 </xs:restriction>
65 </xs:simpleType>
66 </xs:schema>