summaryrefslogtreecommitdiffstats
path: root/xmlschemata/teiP5osis/examples.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'xmlschemata/teiP5osis/examples.xsd')
-rw-r--r--xmlschemata/teiP5osis/examples.xsd40
1 files changed, 40 insertions, 0 deletions
diff --git a/xmlschemata/teiP5osis/examples.xsd b/xmlschemata/teiP5osis/examples.xsd
new file mode 100644
index 0000000..dd7f3db
--- /dev/null
+++ b/xmlschemata/teiP5osis/examples.xsd
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.tei-c.org/ns/Examples" xmlns:dcr="http://www.isocat.org/ns/dcr" xmlns:ns1="http://www.crosswire.org/2013/TEIOSIS/namespace" xmlns:examples="http://www.tei-c.org/ns/Examples">
+ <xs:import namespace="http://www.isocat.org/ns/dcr" schemaLocation="http://www.crosswire.org/OSIS/dcr.xsd"/>
+ <xs:import namespace="http://www.crosswire.org/2013/TEIOSIS/namespace" schemaLocation="http://www.crosswire.org/OSIS/teiP5osis.2.5.0.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2004/10/xml.xsd"/>
+ <xs:element name="egXML">
+ <xs:annotation>
+ <xs:documentation>(example of XML) contains a single well-formed XML fragment demonstrating the use of some XML element or attribute, in which the egXML element itself functions as the root element. [22.1.1. ]</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:macro.anyXML"/>
+ <xs:attributeGroup ref="ns1:att.global.attributes"/>
+ <xs:attributeGroup ref="ns1:att.source.attributes"/>
+ <xs:attribute name="valid" default="true">
+ <xs:annotation>
+ <xs:documentation>indicates the intended validity of the example with respect to a schema.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="true">
+ <xs:annotation>
+ <xs:documentation>the example is intended to be fully valid, assuming that its root element, or a provided root element, could have been used as a possible root element in the schema concerned.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="feasible">
+ <xs:annotation>
+ <xs:documentation>the example could be transformed into a valid document by inserting any number of valid attributes and child elements anywhere within it; or it is valid against a version of the schema concerned in which the provision of character data, list, element, or attribute values has been made optional.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="false">
+ <xs:annotation>
+ <xs:documentation>the example is not intended to be valid, and contains deliberate errors.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>