Debian Codegraph @

jax-maven-plugin-test/src/main/jaxb/kml-2-2/xsd/atom-author-link.xsd

raw symbols SCIP
1 <schema xmlns="http://www.w3.org/2001/XMLSchema"
2 elementFormDefault="qualified"
3 targetNamespace="http://www.w3.org/2005/Atom"
4 xmlns:atom="http://www.w3.org/2005/Atom" version="1.0.0">
5
6 <annotation>
7 <appinfo>atom-author-link.xsd 2008-01-23</appinfo>
8 <documentation>There is no official atom XSD. This XSD is created based on:
9 http://atompub.org/2005/08/17/atom.rnc. A subset of Atom as used in the
10 ogckml22.xsd is defined here. </documentation>
11 </annotation>
12
13 <!-- Person Construct -->
14 <complexType name="atomPersonConstruct">
15 <choice minOccurs="0" maxOccurs="unbounded">
16 <element ref="atom:name"/>
17 <element ref="atom:uri"/>
18 <element ref="atom:email"/>
19 </choice>
20 </complexType>
21
22 <element name="name" type="string"/>
23 <element name="uri" type="string"/>
24 <element name="email" type="atom:atomEmailAddress"/>
25
26 <!-- atom:author -->
27 <element name="author" type="atom:atomPersonConstruct"/>
28
29 <!-- atom:link -->
30 <element name="link">
31 <complexType>
32
33 <attribute name="href" use="required"/>
34 <attribute name="rel"/>
35 <attribute name="type" type="atom:atomMediaType"/>
36 <attribute name="hreflang" type="atom:atomLanguageTag"/>
37 <attribute name="title"/>
38 <attribute name="length"/>
39
40 </complexType>
41
42 </element>
43
44 <!-- Whatever a media type is, it contains at least one slash -->
45 <simpleType name="atomMediaType">
46 <restriction base="string">
47 <pattern value=".+/.+"/>
48 </restriction>
49 </simpleType>
50
51 <!-- As defined in RFC 3066 -->
52 <simpleType name="atomLanguageTag">
53 <restriction base="string">
54 <pattern value="[A-Za-z]{1,8}(-[A-Za-z0-9]{1,8})*"/>
55 </restriction>
56 </simpleType>
57
58 <!-- Whatever an email address is, it contains at least one @ -->
59 <simpleType name="atomEmailAddress">
60 <restriction base="string">
61 <pattern value=".+@.+"/>
62 </restriction>
63 </simpleType>
64
65 </schema>