Changeset 1930 for FederatedSearch/Resource.xsd
- Timestamp:
- 05/08/12 16:00:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FederatedSearch/Resource.xsd
r1662 r1930 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://clarin.eu/fcs/1.0"3 xmlns:fcs="http://clarin.eu/fcs/1.0">2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fcs="http://clarin.eu/fcs/1.0" 3 targetNamespace="http://clarin.eu/fcs/1.0" elementFormDefault="qualified"> 4 4 <xs:annotation> 5 5 <xs:documentation>This schema shall define the generic inner structure … … 19 19 </xs:annotation> 20 20 21 <xs:element name="Resource" type="fcs:ResourceType"> </xs:element> 21 <xs:element name="Resource" type="fcs:ResourceType"/> 22 22 23 <xs:complexType name="ResourceType"> 23 24 <xs:sequence> 24 25 <xs:element maxOccurs="unbounded" minOccurs="0" name="Resource" type="fcs:ResourceType"/> 25 26 <xs:element maxOccurs="unbounded" minOccurs="0" name="DataView" type="fcs:DataViewType"/> 26 <xs:element maxOccurs="unbounded" minOccurs="0" name="ResourceFragment" 27 type="fcs:ResourceFragmentType"/> 27 <xs:element maxOccurs="unbounded" minOccurs="0" name="ResourceFragment" type="fcs:ResourceFragmentType"/> 28 28 </xs:sequence> 29 29 <xs:attribute name="pid" type="fcs:pidType" use="optional"/> … … 34 34 <xs:complexType name="ResourceFragmentType"> 35 35 <xs:sequence> 36 <xs:element maxOccurs="unbounded" minOccurs="0" name="DataView" type="fcs:DataViewType" 37 /> 36 <xs:element maxOccurs="unbounded" minOccurs="0" name="DataView" type="fcs:DataViewType"/> 38 37 </xs:sequence> 39 38 <xs:attribute name="pid" type="fcs:pidType" use="optional"/> … … 43 42 <xs:complexType name="DataViewType"> 44 43 <xs:annotation> 45 <xs:documentation>the content expressed in XML that complies with another XML Schema (namespace=#other). </xs:documentation> 44 <xs:documentation> 45 The content expressed in XML that complies with another XML Schema (namespace=#other). 46 </xs:documentation> 46 47 </xs:annotation> 47 48 <xs:sequence> … … 51 52 <xs:attribute name="pid" type="fcs:pidType"/> 52 53 <xs:attribute name="ref" type="fcs:refType"/> 53 <xs:attribute name="schema" type="fcs:schemaType"/>54 54 </xs:complexType> 55 55 56 56 <xs:simpleType name="DataViewTypeType"> 57 57 <xs:annotation> 58 <xs:documentation> This is obviously not exhaustive.59 60 Could this be a superset of of MIME-type?</xs:documentation>58 <xs:documentation> 59 This is obviously not exhaustive. Could this be a superset of of MIME-type? 60 </xs:documentation> 61 61 </xs:annotation> 62 62 <xs:restriction base="xs:string"> … … 81 81 </xs:simpleType> 82 82 83 84 <xs:simpleType name="schemaType">85 <xs:annotation>86 <xs:documentation>a reference to a schema, describing the content of the DataView</xs:documentation>87 </xs:annotation>88 <xs:restriction base="xs:anyURI"/>89 </xs:simpleType>90 83 </xs:schema>
Note: See TracChangeset
for help on using the changeset viewer.