Ignore:
Timestamp:
02/12/14 15:53:09 (10 years ago)
Author:
oschonef
Message:
  • add vc:maxVersion attributes
  • always wrap <Collection> in <Collections>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • FederatedSearch/schema/Endpoint-Description.xsd

    r4489 r4503  
    44    xmlns:ed="http://clarin.eu/fcs/1.0/endpoint-description" elementFormDefault="qualified"
    55    xmlns:h="http://www.w3.org/1999/xhtml"
    6     xml:lang="en" vc:minVersion="1.0"
     6    xml:lang="en" vc:minVersion="1.0" vc:maxVersion="1.1"
    77    targetNamespace="http://clarin.eu/fcs/1.0/endpoint-description">
    88    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
     
    104104                </xs:element>
    105105                <!-- Collections -->
    106                 <xs:element name="Collections">
    107                     <xs:annotation>
    108                         <xs:documentation>
    109                             <h:p>
    110                                 A list of collections, that are available
     106                <xs:element ref="ed:Collections">
     107                    <xs:annotation>
     108                        <xs:documentation>
     109                            <h:p>
     110                                A list of top-level collections, that are available
    111111                                at an Endpoint. An Endpoint MUST
    112                                 declare at least one collection.
    113                             </h:p>
    114                         </xs:documentation>
    115                     </xs:annotation>
    116                     <xs:complexType>
    117                         <xs:sequence>
    118                             <xs:element ref="ed:Collection" maxOccurs="unbounded"/>
    119                         </xs:sequence>                           
    120                     </xs:complexType>
     112                                declare at least one top-level collection.
     113                            </h:p>
     114                        </xs:documentation>
     115                    </xs:annotation>
    121116                </xs:element>
    122117            </xs:sequence>
     118        </xs:complexType>
     119    </xs:element>
     120
     121    <xs:element name="Collections">
     122        <xs:annotation>
     123            <xs:documentation>
     124                <h:p>
     125                    A list of collections, that are available
     126                    at an Endpoint. An Endpoint MUST
     127                    declare at least one collection.
     128                </h:p>
     129            </xs:documentation>
     130        </xs:annotation>
     131        <xs:complexType>
     132            <xs:sequence>
     133                <xs:element ref="ed:Collection" maxOccurs="unbounded"/>
     134            </xs:sequence>                           
    123135        </xs:complexType>
    124136    </xs:element>
     
    195207                    </xs:complexType>
    196208                </xs:element>
    197                 <xs:element ref="ed:Collection" minOccurs="0" maxOccurs="unbounded">
     209                <xs:element ref="ed:Collections" minOccurs="0">
    198210                    <xs:annotation>
    199211                        <xs:documentation>
Note: See TracChangeset for help on using the changeset viewer.