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