Skip to content

Commit 3f23367

Browse files
committed
Adding 2006 pre documentation version
1 parent 767bd8c commit 3f23367

40 files changed

+3439
-5643
lines changed

Makefile

-25
This file was deleted.

alias.txt

+1,597
Large diffs are not rendered by default.

architecture.gif

-17.5 KB
Binary file not shown.

architecture.vsd

-73 KB
Binary file not shown.

dc.xsd

+118
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3+
xmlns="http://purl.org/dc/elements/1.1/"
4+
targetNamespace="http://purl.org/dc/elements/1.1/"
5+
elementFormDefault="qualified"
6+
attributeFormDefault="unqualified">
7+
8+
<xs:annotation>
9+
<xs:documentation xml:lang="en">
10+
DCMES 1.1 XML Schema
11+
XML Schema for http://purl.org/dc/elements/1.1/ namespace
12+
13+
Created 2003-04-02
14+
15+
Created by
16+
17+
Tim Cole (t-cole3@uiuc.edu)
18+
Tom Habing (thabing@uiuc.edu)
19+
Jane Hunter (jane@dstc.edu.au)
20+
Pete Johnston (p.johnston@ukoln.ac.uk),
21+
Carl Lagoze (lagoze@cs.cornell.edu)
22+
23+
This schema declares XML elements for the 15 DC elements from the
24+
http://purl.org/dc/elements/1.1/ namespace.
25+
26+
It defines a complexType SimpleLiteral which permits mixed content
27+
and makes the xml:lang attribute available. It disallows child elements by
28+
use of minOcccurs/maxOccurs.
29+
30+
However, this complexType does permit the derivation of other complexTypes
31+
which would permit child elements.
32+
33+
All elements are declared as substitutable for the abstract element any,
34+
which means that the default type for all elements is dc:SimpleLiteral.
35+
36+
</xs:documentation>
37+
38+
</xs:annotation>
39+
40+
41+
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
42+
schemaLocation="http://www.w3.org/2001/03/xml.xsd">
43+
</xs:import>
44+
45+
<xs:complexType name="SimpleLiteral">
46+
<xs:annotation>
47+
<xs:documentation xml:lang="en">
48+
This is the default type for all of the DC elements.
49+
It permits text content only with optional
50+
xml:lang attribute.
51+
Text is allowed because mixed="true", but sub-elements
52+
are disallowed because minOccurs="0" and maxOccurs="0"
53+
are on the xs:any tag.
54+
55+
This complexType allows for restriction or extension permitting
56+
child elements.
57+
</xs:documentation>
58+
</xs:annotation>
59+
60+
<xs:complexContent mixed="true">
61+
<xs:restriction base="xs:anyType">
62+
<xs:sequence>
63+
<xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
64+
</xs:sequence>
65+
<xs:attribute ref="xml:lang" use="optional"/>
66+
</xs:restriction>
67+
</xs:complexContent>
68+
</xs:complexType>
69+
70+
<xs:element name="any" type="SimpleLiteral" abstract="true"/>
71+
72+
<xs:element name="title" substitutionGroup="any"/>
73+
<xs:element name="creator" substitutionGroup="any"/>
74+
<xs:element name="subject" substitutionGroup="any"/>
75+
<xs:element name="description" substitutionGroup="any"/>
76+
<xs:element name="publisher" substitutionGroup="any"/>
77+
<xs:element name="contributor" substitutionGroup="any"/>
78+
<xs:element name="date" substitutionGroup="any"/>
79+
<xs:element name="type" substitutionGroup="any"/>
80+
<xs:element name="format" substitutionGroup="any"/>
81+
<xs:element name="identifier" substitutionGroup="any"/>
82+
<xs:element name="source" substitutionGroup="any"/>
83+
<xs:element name="language" substitutionGroup="any"/>
84+
<xs:element name="relation" substitutionGroup="any"/>
85+
<xs:element name="coverage" substitutionGroup="any"/>
86+
<xs:element name="rights" substitutionGroup="any"/>
87+
88+
<xs:group name="elementsGroup">
89+
<xs:annotation>
90+
<xs:documentation xml:lang="en">
91+
This group is included as a convenience for schema authors
92+
who need to refer to all the elements in the
93+
http://purl.org/dc/elements/1.1/ namespace.
94+
</xs:documentation>
95+
</xs:annotation>
96+
97+
<xs:sequence>
98+
<xs:choice minOccurs="0" maxOccurs="unbounded">
99+
<xs:element ref="any"/>
100+
</xs:choice>
101+
</xs:sequence>
102+
</xs:group>
103+
104+
<xs:complexType name="elementContainer">
105+
<xs:annotation>
106+
<xs:documentation xml:lang="en">
107+
This complexType is included as a convenience for schema authors who need to define a root
108+
or container element for all of the DC elements.
109+
</xs:documentation>
110+
</xs:annotation>
111+
112+
<xs:choice>
113+
<xs:group ref="elementsGroup"/>
114+
</xs:choice>
115+
</xs:complexType>
116+
117+
118+
</xs:schema>

dcmitype.xsd

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3+
xmlns="http://purl.org/dc/dcmitype/"
4+
targetNamespace="http://purl.org/dc/dcmitype/"
5+
elementFormDefault="qualified"
6+
attributeFormDefault="unqualified">
7+
8+
<xs:annotation>
9+
<xs:documentation xml:lang="en">
10+
DCMI Type Vocabulary XML Schema
11+
XML Schema for http://purl.org/dc/dcmitype/ namespace
12+
13+
Created 2003-04-02
14+
15+
Created by
16+
17+
Tim Cole (t-cole3@uiuc.edu)
18+
Tom Habing (thabing@uiuc.edu)
19+
Jane Hunter (jane@dstc.edu.au)
20+
Pete Johnston (p.johnston@ukoln.ac.uk),
21+
Carl Lagoze (lagoze@cs.cornell.edu)
22+
23+
This schema defines a simpleType which enumerates
24+
the allowable values for the DCMI Type Vocabulary.
25+
</xs:documentation>
26+
27+
28+
</xs:annotation>
29+
30+
31+
<xs:simpleType name="DCMIType">
32+
<xs:union>
33+
<xs:simpleType>
34+
<xs:restriction base="xs:Name">
35+
<xs:enumeration value="Collection"/>
36+
<xs:enumeration value="Dataset"/>
37+
<xs:enumeration value="Event"/>
38+
<xs:enumeration value="Image"/>
39+
<xs:enumeration value="InteractiveResource"/>
40+
<xs:enumeration value="Service"/>
41+
<xs:enumeration value="Software"/>
42+
<xs:enumeration value="Sound"/>
43+
<xs:enumeration value="Text"/>
44+
<xs:enumeration value="PhysicalObject"/>
45+
</xs:restriction>
46+
</xs:simpleType>
47+
</xs:union>
48+
</xs:simpleType>
49+
50+
</xs:schema>

dcterms.xsd

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3+
xmlns:dc="http://purl.org/dc/elements/1.1/"
4+
xmlns:dcmitype="http://purl.org/dc/dcmitype/"
5+
targetNamespace="http://purl.org/dc/terms/"
6+
xmlns="http://purl.org/dc/terms/"
7+
elementFormDefault="qualified"
8+
attributeFormDefault="unqualified">
9+
10+
<xs:annotation>
11+
<xs:documentation xml:lang="en">
12+
DCterms XML Schema
13+
XML Schema for http://purl.org/dc/terms/ namespace
14+
15+
Created 2003-04-02
16+
17+
Created by
18+
19+
Tim Cole (t-cole3@uiuc.edu)
20+
Tom Habing (thabing@uiuc.edu)
21+
Jane Hunter (jane@dstc.edu.au)
22+
Pete Johnston (p.johnston@ukoln.ac.uk),
23+
Carl Lagoze (lagoze@cs.cornell.edu)
24+
25+
This schema declares XML elements for the DC elements and
26+
DC element refinements from the http://purl.org/dc/terms/ namespace.
27+
28+
It reuses the complexType dc:SimpleLiteral, imported from the dc.xsd
29+
schema, which permits simple element content, and makes the xml:lang
30+
attribute available.
31+
32+
This complexType permits the derivation of other complexTypes
33+
which would permit child elements.
34+
35+
DC elements are declared as substitutable for the abstract element dc:any, and
36+
DC element refinements are defined as substitutable for the base elements
37+
which they refine.
38+
39+
This means that the default type for all XML elements (i.e. all DC elements and
40+
element refinements) is dc:SimpleLiteral.
41+
42+
Encoding schemes are defined as complexTypes which are restrictions
43+
of the dc:SimpleLiteral complexType. These complexTypes restrict
44+
values to an appropriates syntax or format using data typing,
45+
regular expressions, or enumerated lists.
46+
47+
In order to specify one of these encodings an xsi:type attribute must
48+
be used in the instance document.
49+
50+
Also, note that one shortcoming of this approach is that any type can be
51+
applied to any of the elements or refinements. There is no convenient way
52+
to restrict types to specific elements using this approach.
53+
54+
</xs:documentation>
55+
56+
</xs:annotation>
57+
58+
59+
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
60+
schemaLocation="http://www.w3.org/2001/03/xml.xsd">
61+
</xs:import>
62+
63+
<xs:import namespace="http://purl.org/dc/elements/1.1/"
64+
schemaLocation="dc.xsd"/>
65+
66+
<xs:import namespace="http://purl.org/dc/dcmitype/"
67+
schemaLocation="dcmitype.xsd"/>
68+
69+
<xs:element name="alternative" substitutionGroup="dc:title"/>
70+
71+
<xs:element name="tableOfContents" substitutionGroup="dc:description"/>
72+
<xs:element name="abstract" substitutionGroup="dc:description"/>
73+
74+
<xs:element name="created" substitutionGroup="dc:date"/>
75+
<xs:element name="valid" substitutionGroup="dc:date"/>
76+
<xs:element name="available" substitutionGroup="dc:date"/>
77+
<xs:element name="issued" substitutionGroup="dc:date"/>
78+
<xs:element name="modified" substitutionGroup="dc:date"/>
79+
<xs:element name="dateAccepted" substitutionGroup="dc:date"/>
80+
<xs:element name="dateCopyrighted" substitutionGroup="dc:date"/>
81+
<xs:element name="dateSubmitted" substitutionGroup="dc:date"/>
82+
83+
<xs:element name="extent" substitutionGroup="dc:format"/>
84+
<xs:element name="medium" substitutionGroup="dc:format"/>
85+
86+
<xs:element name="isVersionOf" substitutionGroup="dc:relation"/>
87+
<xs:element name="hasVersion" substitutionGroup="dc:relation"/>
88+
<xs:element name="isReplacedBy" substitutionGroup="dc:relation"/>
89+
<xs:element name="replaces" substitutionGroup="dc:relation"/>
90+
<xs:element name="isRequiredBy" substitutionGroup="dc:relation"/>
91+
<xs:element name="requires" substitutionGroup="dc:relation"/>
92+
<xs:element name="isPartOf" substitutionGroup="dc:relation"/>
93+
<xs:element name="hasPart" substitutionGroup="dc:relation"/>
94+
<xs:element name="isReferencedBy" substitutionGroup="dc:relation"/>
95+
<xs:element name="references" substitutionGroup="dc:relation"/>
96+
<xs:element name="isFormatOf" substitutionGroup="dc:relation"/>
97+
<xs:element name="hasFormat" substitutionGroup="dc:relation"/>
98+
<xs:element name="conformsTo" substitutionGroup="dc:relation"/>
99+
100+
<xs:element name="spatial" substitutionGroup="dc:coverage"/>
101+
<xs:element name="temporal" substitutionGroup="dc:coverage"/>
102+
103+
<xs:element name="audience" substitutionGroup="dc:any"/>
104+
105+
<xs:element name="mediator" substitutionGroup="audience"/>
106+
<xs:element name="educationLevel" substitutionGroup="audience"/>
107+
108+
<xs:element name="accessRights" substitutionGroup="dc:rights"/>
109+
110+
<xs:element name="bibliographicCitation" substitutionGroup="dc:identifier"/>
111+
112+
</xs:schema>

examples/capabilities_request.xml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<request xmlns="http://res.tdwg.org/tapir/1.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://res.tdwg.org/tapir/1.0 http://ww2.biocase.org/svn/tapir/trunk/protocol/tapir.xsd">
5+
<header>
6+
<source accesspoint="http://url_from_client" sendtime="2005-11-11T12:23:56.023+01:00">
7+
</source>
8+
</header>
9+
<capabilities/>
10+
</request>

0 commit comments

Comments
 (0)