diff options
author | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
---|---|---|
committer | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
commit | 1ebf5a5fcda0c9154e22ed02404fd46525a7fd9f (patch) | |
tree | 4b6214a7142ab1035cb0e47444e88af38e712421 /schemas/rls-services.xsd | |
download | doubango-1.0.zip doubango-1.0.tar.gz |
Move deprecated v1.0 from trunk to branches1.0
Diffstat (limited to 'schemas/rls-services.xsd')
-rw-r--r-- | schemas/rls-services.xsd | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/schemas/rls-services.xsd b/schemas/rls-services.xsd new file mode 100644 index 0000000..23bb033 --- /dev/null +++ b/schemas/rls-services.xsd @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ietf:params:xml:ns:rls-services" xmlns:rl="urn:ietf:params:xml:ns:resource-lists" targetNamespace="urn:ietf:params:xml:ns:rls-services" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:element name="rls-services"> + <xs:complexType> + <xs:sequence minOccurs="0" maxOccurs="unbounded"> + <xs:element name="service" type="serviceType"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:complexType name="serviceType"> + <xs:sequence> + <xs:choice> + <xs:element name="resource-list" type="xs:anyURI"/> + <xs:element name="list" type="rl:listType"/> + </xs:choice> + <xs:element name="packages" type="packagesType" minOccurs="0"/> + <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="uri" type="xs:anyURI" use="required"/> + <xs:anyAttribute namespace="##other"/> + </xs:complexType> + <xs:complexType name="packagesType"> + <xs:sequence minOccurs="0" maxOccurs="unbounded"> + <xs:element name="package" type="packageType"/> + <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + <xs:simpleType name="packageType"> + <xs:restriction base="xs:string"/> + </xs:simpleType> +</xs:schema> |