Sourcecode Listing of

http://purl.oclc.org/NEUMES/ref/NeumesXML_obd.xsd





Color Key :   [•] XML code      [•] XML code annotation      [•] XML comment   

Line
0001 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
0002 <!--
0003 *   NeumesXML Schema file generated on 28 August 2005.
0004 *   Filename: http://www.scribeserver.com/NEUMES/xml/NeumesXML_obd.xsd
0005 *   Version: 2.2.a
0006 *   Owner: The NEUMES Project
0007 *   (Neumed and Ecphonetic Universal Manuscript Encoding Standard).
0008 *   For details see, http://purl.oclc.org/SCRIBE/NEUMES/
0009 *   Authors: Louis W. G. Barton.
0010 *   Type: XML Schema
0011 -->
0012 
0013 <!--   NeumesXML OBD Schema
0014    This XML Schema defines auxiliary meta-language Elements for the NeumesXML
0015    version 2 Schema. This file defines OBD (Out-of-Band Declarations) that are
0016    used in constraining the content of documentation tags in NeumesXML Instance
0017    documents, and other functionality not provided in the standard XML Schema
0018    language. NeumesXML is an XML (Extensible Markup Language) application for
0019    describing medieval chant manuscript sources and transcribing their content
0020    to the NEUMES data representation (Neumed and Ekphonetic Universal Manuscript
0021    Encoding Standard).
0022 
0023    Protected by law under one or more of the following copyrights:
0024    Copyright 2005, The University of Oxford.
0025    Copyright 2003-2005, Louis W. G. Barton.
0026    Copyright 2002-2003, The President and Fellows of Harvard College; contains
0027    software or other intellectual property licensed from Louis W. G. Barton,
0028    copyright 1995-2001 by Louis W. G. Barton.
0029 
0030    The copyright holders grant royalty-free license to transmit, display,
0031    perform and/or distribute without modification the NeumeXML version 2
0032    Schema and its accompanying documentation for non-commercial educational,
0033    cultural, and charitable uses, provided that the above copyright notice
0034    and this paragraph appear in all copies. The copyright holders make no
0035    representation about the suitability of the Schema and its accompanying
0036    documentation for any purpose. It is provided "as is" without expressed
0037    or implied warranty.
0038 -->
0039 
0040 <!-- NeumesXML_schema.dtd includes the NeumesXML_obd.dtd: -->
0041 <!DOCTYPE xsd:schema SYSTEM "http://www.scribeserver.com/NEUMES/xml/NeumesXML_schema.dtd">
0042 
0043 <!-- *************** ROOT ELEMENT: *************** -->
0044 <xsd:schema
0045    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
0046    targetNamespace="http://www.scribeserver.com/NEUMES/xml/NeumesXML_obd"
0047    xmlns="http://www.scribeserver.com/NEUMES/xml/NeumesXML_obd"
0048    elementFormDefault="qualified"
0049    attributeFormDefault="unqualified"
0050 >
0051 <!-- End, Root Element.  -->
0052 
0053 
0054 <!--  PROGRAMMER'S NOTES:
0055 * Out-of-Band declarations are for use in _annotation_ branches of NeumesXML,
0056    including _documentation_ and _appInfo_ leaves. These declarations can be
0057    used by an XSLT stylesheet or other program for additional, non-XSD processing.
0058 * This Schema serves as a kind of 'meta-schema' for regulating use of
0059   _documentation_ and _appInfo_ tags across the app's several Schemas.
0060   Normally, one should declare only datatypes (not elements) in external
0061   declaration documents like this, but it is done here to declare schema
0062   constrints in the 'meta-schema'.
0063 * NeumesXML_obd.xsd does not use either the obd elements or the Neumes entities,
0064   and it does not have additional attributes on the <xsd:schema> element, and so
0065   there is no need for those declarations to be included in the DTD for this schema.
0066   We use NeumesXML_schema.dtd for NeumesXML_obd.xsd as an expedient, and because we
0067   might want to use the obd elements for documentation in this schema in the future.
0068 * Non-validating parsers aren't required to read namespace definitions of imports.
0069 * namespaces must be unique and persistent; namespaces are only *names* (not paths).
0070 * The NCName type is a string (not beginning with '_') containing no space or colon.
0071 [End, PROGRAMMER'S NOTES.] -->
0072 
0073 
0074 <!-- *************** SCHEMA DOCUMENTATION ELEMENTS: *************** -->
0075 
0076 <xsd:element name="definition" id="definition">
0077    <xsd:annotation>
0078       <xsd:documentation xml:lang="en">
0079       For a definition of the Element, Attribute, or Type.
0080       </xsd:documentation>
0081    </xsd:annotation>
0082    <xsd:complexType>
0083       <xsd:simpleContent>
0084          <xsd:extension base="xsd:string">
0085             <xsd:attribute name="processor" type="xsd:anyURI" use="optional">
0086                <xsd:annotation>
0087                   <xsd:documentation xml:lang="en">
0088                   URL of the processor that handles this construction.
0089                   </xsd:documentation>
0090                </xsd:annotation>
0091             </xsd:attribute>
0092          </xsd:extension>
0093       </xsd:simpleContent>
0094    </xsd:complexType>
0095 </xsd:element>
0096 
0097 <xsd:element name="definition_remark" id="definition_remark">
0098    <xsd:annotation>
0099       <xsd:documentation xml:lang="en">
0100       For remark about the _definition_.
0101       </xsd:documentation>
0102    </xsd:annotation>
0103    <xsd:complexType>
0104       <xsd:simpleContent>
0105          <xsd:extension base="xsd:string">
0106             <xsd:attribute name="processor" type="xsd:anyURI" use="optional">
0107                <xsd:annotation>
0108                   <xsd:documentation xml:lang="en">
0109                   URL of the processor that handles this construction.
0110                   </xsd:documentation>
0111                </xsd:annotation>
0112             </xsd:attribute>
0113          </xsd:extension>
0114       </xsd:simpleContent>
0115    </xsd:complexType>
0116 </xsd:element>
0117 
0118 <xsd:element name="example" id="example">
0119    <xsd:annotation>
0120       <xsd:documentation xml:lang="en">
0121       For an example-of-use in instance documents.
0122       </xsd:documentation>
0123    </xsd:annotation>
0124    <xsd:complexType>
0125       <xsd:simpleContent>
0126          <xsd:extension base="xsd:string">
0127             <xsd:attribute name="processor" type="xsd:anyURI" use="optional">
0128                <xsd:annotation>
0129                   <xsd:documentation xml:lang="en">
0130                   URL of the processor that handles this construction.
0131                   </xsd:documentation>
0132                </xsd:annotation>
0133             </xsd:attribute>
0134          </xsd:extension>
0135       </xsd:simpleContent>
0136    </xsd:complexType>
0137 </xsd:element>
0138 
0139 <xsd:element name="example_remark" id="example_remark">
0140    <xsd:annotation>
0141       <xsd:documentation xml:lang="en">
0142       For remark about the _example_.
0143       </xsd:documentation>
0144    </xsd:annotation>
0145    <xsd:complexType>
0146       <xsd:simpleContent>
0147          <xsd:extension base="xsd:string">
0148             <xsd:attribute name="processor" type="xsd:anyURI" use="optional">
0149                <xsd:annotation>
0150                   <xsd:documentation xml:lang="en">
0151                   URL of the processor that handles this construction.
0152                   </xsd:documentation>
0153                </xsd:annotation>
0154             </xsd:attribute>
0155          </xsd:extension>
0156       </xsd:simpleContent>
0157    </xsd:complexType>
0158 </xsd:element>
0159 
0160 <!-- [End, Schema Documentation Elements] -->
0161 
0162 
0163 <!-- *************** SCHEMA STRUCTURAL ELEMENTS: *************** -->
0164 
0165 <xsd:element name="partition_dependencies">
0166    <xsd:annotation>
0167       <xsd:documentation xml:lang="en">
0168       Lists the partitions of the app's lexical space that are dependents of the main Schema.
0169       </xsd:documentation>
0170    </xsd:annotation>
0171    <!-- choice: -->
0172    <xsd:complexType>
0173       <xsd:sequence>
0174          <xsd:element name="partitionRef" maxOccurs="unbounded">
0175             <xsd:complexType>
0176                <xsd:attribute name="partition" type="xsd:NCName" use="required"/>
0177                <xsd:attribute name="namespace" type="xsd:anyURI" use="required"/>
0178                <xsd:attribute name="ns_prefix" type="xsd:NCName" use="required"/>
0179                <xsd:attribute name="URL" type="xsd:anyURI" use="required"/>
0180             </xsd:complexType>
0181          </xsd:element>
0182       </xsd:sequence>
0183       <xsd:attribute name="processor" type="xsd:anyURI" use="optional">
0184          <xsd:annotation>
0185             <xsd:documentation xml:lang="en">
0186             URL of the processor that handles this construction.
0187             </xsd:documentation>
0188          </xsd:annotation>
0189       </xsd:attribute>
0190    </xsd:complexType>
0191 </xsd:element>
0192 <!-- [End, partition_dependencies] -->
0193 
0194 <xsd:element name="complexTypeChoice">
0195    <xsd:annotation>
0196       <xsd:documentation xml:lang="en">
0197       Lists the complexType declarations from which a choice is made (cf, genre_Type).
0198       </xsd:documentation>
0199    </xsd:annotation>
0200    <!-- choice: -->
0201    <xsd:complexType>
0202       <xsd:sequence>
0203          <xsd:element name="typeRef" maxOccurs="unbounded">
0204             <xsd:complexType>
0205                <xsd:attribute name="link" type="xsd:NCName" use="required"/>
0206             </xsd:complexType>
0207          </xsd:element>
0208       </xsd:sequence>
0209       <xsd:attribute name="processor" type="xsd:anyURI" use="optional">
0210          <xsd:annotation>
0211             <xsd:documentation xml:lang="en">
0212             URL of the processor that handles this construction.
0213             </xsd:documentation>
0214          </xsd:annotation>
0215       </xsd:attribute>
0216    </xsd:complexType>
0217 </xsd:element>
0218 <!-- [End, complexTypeChoice] -->
0219 
0220 <xsd:element name="genre_service_dependency">
0221    <xsd:annotation>
0222       <xsd:documentation xml:lang="en">
0223       Appears in a chant Genre to show that it belongs to a liturgical Service type.
0224       </xsd:documentation>
0225    </xsd:annotation>
0226    <xsd:complexType>
0227       <xsd:sequence>
0228          <xsd:element name="typeRef" maxOccurs="unbounded">
0229             <xsd:complexType>
0230                <xsd:attribute name="link" type="xsd:NCName" use="required"/>
0231             </xsd:complexType>
0232          </xsd:element>
0233       </xsd:sequence>
0234       <xsd:attribute name="processor" type="xsd:anyURI" use="optional">
0235          <xsd:annotation>
0236             <xsd:documentation xml:lang="en">
0237             URL of the processor that handles this construction.
0238             </xsd:documentation>
0239          </xsd:annotation>
0240       </xsd:attribute>
0241    </xsd:complexType>
0242 </xsd:element>
0243 <!-- [End, genre_service_dependency] -->
0244 
0245 <!-- [End, Schema Structural Elements] -->
0246 
0247 </xsd:schema>
0248 
0249 <!-- END, NeumesXML_obd.xsd -->
= END LISTING =