Update the GUPnP-AV.changes file.
[profile/ivi/GUPnP-AV.git] / data / simpledc20021212.xsd
1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://purl.org/dc/elements/1.1/" targetNamespace="http://purl.org/dc/elements/1.1/" elementFormDefault="qualified" attributeFormDefault="unqualified">
2
3   <xs:annotation>
4     <xs:documentation xml:lang="en">
5       Simple DC XML Schema, 2002-10-09
6       by Pete Johnston (p.johnston@ukoln.ac.uk),
7       Carl Lagoze (lagoze@cs.cornell.edu), Andy Powell (a.powell@ukoln.ac.uk),
8       Herbert Van de Sompel (hvdsomp@yahoo.com).
9       This schema defines terms for Simple Dublin Core, i.e. the 15
10       elements from the http://purl.org/dc/elements/1.1/ namespace, with
11       no use of encoding schemes or element refinements.
12       Default content type for all elements is xs:string with xml:lang
13       attribute available.
14
15       Supercedes version of 2002-03-12.
16       Amended to remove namespace declaration for http://www.w3.org/XML/1998/namespace namespace,
17       and to reference lang attribute via built-in xml: namespace prefix.
18       xs:appinfo also removed.
19     </xs:documentation>
20   </xs:annotation>
21
22   <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd">
23   </xs:import>
24
25   <xs:element name="title" type="elementType"/>
26   <xs:element name="creator" type="elementType"/>
27   <xs:element name="subject" type="elementType"/>
28   <xs:element name="description" type="elementType"/>
29   <xs:element name="publisher" type="elementType"/>
30   <xs:element name="contributor" type="elementType"/>
31   <xs:element name="date" type="elementType"/>
32   <xs:element name="type" type="elementType"/>
33   <xs:element name="format" type="elementType"/>
34   <xs:element name="identifier" type="elementType"/>
35   <xs:element name="source" type="elementType"/>
36   <xs:element name="language" type="elementType"/>
37   <xs:element name="relation" type="elementType"/>
38   <xs:element name="coverage" type="elementType"/>
39   <xs:element name="rights" type="elementType"/>
40
41   <xs:group name="elementsGroup">
42   <xs:sequence>
43     <xs:choice minOccurs="0" maxOccurs="unbounded">
44       <xs:element ref="title"/>
45       <xs:element ref="creator"/>
46       <xs:element ref="subject"/>
47       <xs:element ref="description"/>
48       <xs:element ref="publisher"/>
49       <xs:element ref="contributor"/>
50       <xs:element ref="date"/>
51       <xs:element ref="type"/>
52       <xs:element ref="format"/>
53       <xs:element ref="identifier"/>
54       <xs:element ref="source"/>
55       <xs:element ref="language"/>
56       <xs:element ref="relation"/>
57       <xs:element ref="coverage"/>
58       <xs:element ref="rights"/>
59     </xs:choice>
60     </xs:sequence>
61   </xs:group>
62
63   <xs:complexType name="elementType">
64     <xs:simpleContent>
65       <xs:extension base="xs:string">
66         <xs:attribute ref="xml:lang" use="optional"/>
67       </xs:extension>
68     </xs:simpleContent>
69   </xs:complexType>
70
71 </xs:schema>