diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-05-25 08:44:59 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-05-25 08:44:59 +0000 |
commit | 2f3e3c39b50ead78a85b48d57fe317102460d8f4 (patch) | |
tree | bd7699551d826014feeefddf0cff897b772b6437 /addons/xbmc.addon | |
parent | d5314a27a5e4db21e48a197dd7268dfe977e67b2 (diff) |
cleanup: metadata.xsd enhancements
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30549 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/xbmc.addon')
-rw-r--r-- | addons/xbmc.addon/metadata.xsd | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/addons/xbmc.addon/metadata.xsd b/addons/xbmc.addon/metadata.xsd index cafc62033d..639f4d828b 100644 --- a/addons/xbmc.addon/metadata.xsd +++ b/addons/xbmc.addon/metadata.xsd @@ -1,24 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="extension"> - <xs:complexType> - <xs:attribute name="point" type="xs:string" use="required"/> - <xs:attribute name="id" type="simpleIdentifier"/> - <xs:attribute name="name" type="xs:string"/> - <xs:element name="supportedcontent" type="xs:string"/> - <xs:element name="platforms" type="xs:string"/> - <xs:element name="summary" type="translatedString" use="required"/> - <xs:element name="description" type="translatedString"/> - <xs:element name="disclaimer" type="translatedString"/> - <xs:element name="license" type="xs:string"/> - </xs:complexType> - </xs:element> - <xs:simpleType name="simpleIdentifier"> - <xs:restriction base="xs:string"> - <xs:pattern value="[^.]+"/> - </xs:restriction> - </xs:simpleType> + <xs:element name="extension"> + <xs:complexType> + <xs:sequence> + <xs:element name="summary" type="translatedString" minOccurs="1" maxOccurs="unbounded"/> + <xs:element name="description" type="translatedString" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="disclaimer" type="translatedString" minOccurs="0"/> + <xs:element name="license" type="xs:string"/> + <xs:element name="platform" type="xs:string" minOccurs="0"/> + <xs:element name="supportedcontent" type="xs:string" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="point" type="xs:string" use="required"/> + <xs:attribute name="id" type="simpleIdentifier"/> + <xs:attribute name="name" type="xs:string"/> + </xs:complexType> + </xs:element> + <xs:simpleType name="simpleIdentifier"> + <xs:restriction base="xs:string"> + <xs:pattern value="[^.]+"/> + </xs:restriction> + </xs:simpleType> <xs:complexType name="translatedString"> <xs:simpleContent> <xs:extension base="xs:string"> |