configurationengine/source/cone/validation/confml_xsd/confml2.xsd
changeset 9 63964d875993
parent 5 d2c80f5cab53
equal deleted inserted replaced
8:a2e65c705db8 9:63964d875993
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 	<!--
     2 <xs:schema xmlns:tns="http://www.s60.com/xml/confml/2"
     3 		Scheme according to 0.84 2.6.2008 Draft s60configurationml.doc 11.08.
     3            xmlns:xs="http://www.w3.org/2001/XMLSchema"
     4 		2008 initial version hajduivo 2008-08-14 hajduivo update: xlink
     4            xmlns:xlink="http://www.w3.org/1999/xlink"
     5 		added,but generated xml files contains wrong prefix at xlink
     5            xmlns:xi="http://www.w3.org/2001/XInclude"
     6 		attributes 2008-08-15 hajduivo update: XInclude added
     6            xmlns:xml="http://www.w3.org/XML/1998/namespace"
     7 	-->
     7            targetNamespace="http://www.s60.com/xml/confml/2"
     8 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
     8            elementFormDefault="qualified"
     9 	xmlns:tns="http://www.s60.com/xml/confml/2" xmlns:xlink="http://www.w3.org/1999/xlink"
     9            attributeFormDefault="unqualified">
    10 	xmlns:xi="http://www.w3.org/2001/XInclude" targetNamespace="http://www.s60.com/xml/confml/2"
    10   <xs:import namespace="http://www.w3.org/2001/XMLSchema"
    11 	elementFormDefault="qualified" attributeFormDefault="unqualified">
    11              id="xs" schemaLocation="XMLSchema.xsd"/>
    12 	<xs:import id="xlink" namespace="http://www.w3.org/1999/xlink"
    12   <xs:import namespace="http://www.w3.org/1999/xlink"
    13 		schemaLocation="xlink.xsd" />
    13              id="xlink" schemaLocation="xlink.xsd" />
    14 	<xs:import id="xs" namespace="http://www.w3.org/2001/XMLSchema"
    14   <xs:import namespace="http://www.w3.org/2001/XInclude"
    15 		schemaLocation="XMLSchema.xsd" />
    15              id="xi" schemaLocation="XInclude.xsd" />
    16 	<xs:import namespace="http://www.w3.org/2001/XInclude"
    16   <xs:import namespace="http://www.w3.org/XML/1998/namespace"
    17 		schemaLocation="XInclude.xsd" />
    17              id="xml" schemaLocation="xml.xsd"/>
    18 		
    18 	     
    19 	<!-- Fixed Elements -->
    19   <xs:element name="configuration"
    20 	<xs:element name="configuration" type="tns:configurationType" />
    20               type="tns:configurationType" />
    21 	<xs:element name="meta" type="tns:metaType" />
    21   <xs:element name="meta"
    22 	<xs:element name="desc" type="tns:descType" />
    22               type="tns:metaType" />
    23 	<xs:element name="icon" type="tns:iconType" />
    23   <xs:element name="desc"
    24 	<xs:element name="view" type="tns:viewType" />
    24               type="tns:descType" />
    25 	<xs:element name="group" type="tns:groupType" />
    25   <xs:element name="icon"
    26 	<xs:element name="feature" type="tns:featureType" />
    26               type="tns:iconType" />
    27 	<xs:element name="setting" type="tns:settingType" />
    27   <xs:element name="view"
    28 	<xs:element name="data" type="tns:dataType" />
    28               type="tns:viewType" />
    29 	<xs:element name="rfs" type="tns:rfsType" />
    29   <xs:element name="group"
    30 	<xs:element name="link" type="tns:linkType" />
    30               type="tns:groupType" />
    31 	<xs:element name="option" type="tns:optionType" />
    31   <xs:element name="feature"
    32 	<xs:element name="property" type="tns:propertyType" />
    32               type="tns:featureType" />
    33 	<xs:element name="localPath" type="tns:localTargetPathType"/>
    33   <xs:element name="setting"
    34 	<xs:element name="targetPath" type="tns:localTargetPathType"/>
    34               type="tns:settingType" />
    35 	<xs:complexType name="configurationType">
    35   <xs:element name="data"
    36 		<xs:choice minOccurs="0" maxOccurs="unbounded">
    36               type="tns:dataType" />
    37 			<xs:element ref="tns:meta" />
    37   <xs:element name="rfs"
    38 			<xs:element ref="tns:desc" />
    38               type="tns:rfsType" />
    39 			<xs:element ref="tns:icon" />
    39   <xs:element name="link"
    40 			<xs:element ref="tns:view" />
    40               type="tns:linkType" />
    41 			<xs:element ref="tns:feature" />
    41   <xs:element name="option"
    42 			<xs:element ref="tns:link" />
    42               type="tns:optionType" />
    43 			<xs:element ref="tns:data" />
    43   <xs:element name="property"
    44 			<xs:element ref="tns:rfs" />
    44               type="tns:propertyType" />
    45 			<xs:element	ref="tns:configuration" />
    45   <xs:element name="localPath"
    46 			<xs:element ref="xi:include"/>
    46               type="tns:pathType" />
    47 		</xs:choice>
    47   <xs:element name="targetPath"
    48 		<xs:attribute name="version" type="xs:NMTOKEN" />
    48               type="tns:pathType" />
    49 		<xs:attribute name="name" type="xs:string" />
    49   <xs:element name="extensions"
    50 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
    50               type="tns:extensionsType" />
    51 	</xs:complexType>
    51   <xs:complexType name="extensionsType">
    52 	<xs:complexType name="metaType">
    52     <xs:choice minOccurs="0"
    53 		<xs:all>
    53                maxOccurs="unbounded">
    54 			<xs:element name="id" type="tns:idType" minOccurs="0" />
    54       <xs:any namespace="##other"
    55 			<xs:element name="date" type="tns:dateType" maxOccurs="1"
    55               processContents="skip"
    56 				minOccurs="0" />
    56               minOccurs="0"
    57 			<xs:element name="owner" type="tns:ownerType" maxOccurs="1"
    57               maxOccurs="unbounded" />
    58 				minOccurs="0" />
    58     </xs:choice>
    59 			<xs:element name="editor" type="tns:editorType" maxOccurs="1"
    59     <xs:attributeGroup ref="tns:CommonAttrs" />
    60 				minOccurs="0" />
    60   </xs:complexType>
    61 			<xs:element name="status" type="tns:statusType" maxOccurs="1"
    61   <xs:complexType name="configurationType">
    62 				minOccurs="0" />
    62     <xs:choice minOccurs="0"
    63 			<xs:element name="version" minOccurs="0" type="tns:versionType" />
    63                maxOccurs="unbounded">
    64 			<xs:element name="platform" type="tns:platformType"
    64       <xs:element ref="tns:meta"
    65 				maxOccurs="1" minOccurs="0" />
    65                   maxOccurs="1" />
    66 			<xs:element name="product" type="tns:productType"
    66       <xs:element ref="tns:desc" />
    67 				maxOccurs="1" minOccurs="0" />
    67       <xs:element ref="tns:icon" />
    68 			<xs:element name="release" minOccurs="0" type="tns:releaseType" />
    68       <xs:element ref="tns:view" />
    69 			<xs:element name="customer" minOccurs="0" type="tns:customerType" />
    69       <xs:element ref="tns:feature" />
    70 			<xs:element name="origin" minOccurs="0" type="tns:customerType" />
    70       <xs:element ref="tns:link" />
    71 			<xs:element name="target" minOccurs="0" type="tns:customerType" />
    71       <xs:element ref="tns:data"
    72 			<xs:element name="desc" minOccurs="0" type="tns:descType" />
    72                   maxOccurs="1" />
    73 			<xs:element name="icon" minOccurs="0" type="tns:iconType" />
    73       <xs:element ref="tns:rfs"
    74 			<xs:element ref="tns:link" maxOccurs="1" minOccurs="0"></xs:element>
    74                   maxOccurs="1" />
    75 		</xs:all>
    75       <xs:element ref="tns:configuration" />
    76 	</xs:complexType>
    76       <xs:element ref="xi:include" />
    77 	<xs:complexType name="descType" mixed="true">
    77       <xs:element ref="tns:extensions" />
    78 		<xs:attribute ref="xlink:href" />
    78     </xs:choice>
    79 		<xs:attribute ref="xlink:title" />
    79     <xs:attribute name="version"
    80 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
    80                   use="required">
    81 	</xs:complexType>
    81       <xs:simpleType>
    82 	<xs:complexType name="iconType">
    82         <xs:restriction base="xs:token">
    83 		<xs:attribute ref="xlink:href" use="optional" />
    83           <xs:pattern value="[0-9]{1,3}\.[0-9]{1,3}(\.[0-9]{1,3})?" />
    84 		<xs:attribute ref="xlink:title" />
    84           <!-- This regexp matches versions declared as x.y[.z] -->
    85 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
    85         </xs:restriction>
    86 	</xs:complexType>
    86       </xs:simpleType>
    87 	<xs:complexType name="linkType">
    87     </xs:attribute>
    88 		<xs:attribute ref="xlink:href" use="optional" />
    88     <xs:attribute name="name"
    89 		<xs:attribute ref="xlink:title" />
    89                   type="xs:token" />
    90 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
    90     <xs:attributeGroup ref="tns:CommonAttrs" />
    91 	</xs:complexType>
    91     <xs:attribute ref="xml:base" />
    92 	<xs:complexType name="propertyType">
    92     <xs:anyAttribute namespace="##other"
    93 		<xs:choice minOccurs="0" maxOccurs="unbounded">
    93                      processContents="skip" />
    94 			<xs:element ref="tns:desc" />
    94   </xs:complexType>
    95 			<xs:element ref="tns:icon" />
    95   <xs:complexType name="metaType">
    96 			<xs:element ref="tns:link" />
    96     <xs:choice minOccurs="0"
    97 		</xs:choice>
    97                maxOccurs="unbounded">
    98 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
    98       <xs:element name="id"
    99 		<xs:attribute name="name" type="xs:NMTOKEN" use="optional"></xs:attribute>
    99                   type="tns:idType" />
   100 		<xs:attribute name="value" type="xs:string"></xs:attribute>
   100       <xs:element name="date"
   101 		<xs:attribute name="unit" type="xs:token"></xs:attribute>
   101                   type="tns:dateType" />
   102 	</xs:complexType>
   102       <xs:element name="owner"
   103 	<xs:complexType name="settingType">
   103                   type="tns:ownerType" />
   104 		<xs:choice minOccurs="0" maxOccurs="unbounded">
   104       <xs:element name="editor"
   105 			<xs:element ref="tns:desc" />
   105                   type="tns:editorType" />
   106 			<xs:element ref="tns:icon" />
   106       <xs:element name="status"
   107 			<xs:element ref="tns:link" />
   107                   type="tns:statusType" />
   108 			<xs:element ref="tns:option" />
   108       <xs:element name="version"
   109 			<xs:element ref="tns:property" />
   109                   type="tns:versionType" />
   110 			<xs:element ref="tns:setting" />
   110       <xs:element name="platform"
   111 			<xs:element ref="tns:localPath" />
   111                   type="tns:platformType" />
   112 			<xs:element ref="tns:targetPath" />
   112       <xs:element name="product"
   113 			<xs:element ref="xs:minInclusive"></xs:element>
   113                   type="tns:productType" />
   114 			<xs:element ref="xs:maxInclusive"></xs:element>
   114       <xs:element name="release"
   115 			<xs:element ref="xs:minExclusive"></xs:element>
   115                   type="tns:releaseType" />
   116 			<xs:element ref="xs:maxExclusive"></xs:element>
   116       <xs:element name="customer"
   117 			<xs:element ref="xs:pattern"></xs:element>
   117                   type="tns:customerType" />
   118 			<xs:element ref="xs:length"></xs:element>
   118       <xs:element name="origin"
   119 			<xs:element ref="xs:minLength"></xs:element>
   119                   type="tns:originType" />
   120 			<xs:element ref="xs:maxLength"></xs:element>
   120       <xs:element name="target"
   121 			<xs:element ref="xs:totalDigits"></xs:element>
   121                   type="tns:targetType" />
   122 		</xs:choice>
   122       <xs:element name="desc"
   123 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   123                   type="tns:descType" />
   124 		<xs:attribute name="relevant" type="xs:token" default="true"/>
   124       <xs:element name="icon"
   125 		<xs:attribute name="constraint" type="xs:token" default="true"/>
   125                   type="tns:iconType" />
   126 		<xs:attribute name="readOnly" type="xs:NMTOKEN" default="true"/>
   126       <xs:element ref="tns:link" />
   127 		<xs:attribute name="name" type="xs:string"></xs:attribute>
   127       <xs:element ref="tns:extensions" />
   128 		<xs:attribute name="type" type="tns:typeType" use="optional"></xs:attribute>
   128     </xs:choice>
   129 		<xs:attribute name="ref" type="xs:string" use="optional"></xs:attribute>
   129   </xs:complexType>
   130 		<!--
   130   <xs:complexType name="descType"
   131 			TODO inconsistent defaults: for generic settings this does not have a
   131                   mixed="true">
   132 			sense
   132     <xs:attribute ref="xlink:href" />
   133 		-->
   133     <xs:attribute ref="xlink:title" />
   134 		<xs:attribute name="minOccurs" type="xs:nonNegativeInteger"
   134     <xs:attributeGroup ref="tns:CommonAttrs" />
   135 			default="0"></xs:attribute>
   135   </xs:complexType>
   136 		<xs:attribute name="maxOccurs" type="xs:allNNI" default="unbounded"></xs:attribute>
   136   <xs:complexType name="iconType">
   137 		<xs:attribute name="mapKey" type="xs:string"></xs:attribute>
   137     <xs:attribute ref="xlink:href"
   138 		<xs:attribute name="mapValue" type="xs:string"></xs:attribute>
   138                   use="optional" />
   139 		<xs:attribute name="required" type="xs:boolean" default="false"></xs:attribute>
   139     <xs:attribute ref="xlink:title" />
   140 	</xs:complexType>
   140     <xs:attributeGroup ref="tns:CommonAttrs" />
   141 	<xs:complexType name="featureType">
   141   </xs:complexType>
   142 		<xs:choice minOccurs="0" maxOccurs="unbounded">
   142   <xs:complexType name="linkType">
   143 			<xs:element ref="tns:desc" />
   143     <xs:attribute ref="xlink:href"
   144 			<xs:element ref="tns:icon" />
   144                   use="optional" />
   145 			<xs:element ref="tns:link" />
   145     <xs:attribute ref="xlink:title" />
   146 			<xs:element ref="tns:setting"></xs:element>
   146     <xs:attributeGroup ref="tns:CommonAttrs" />
   147 		</xs:choice>
   147   </xs:complexType>
   148 		<xs:attribute name="name" type="xs:string" />
   148   <xs:complexType name="propertyType">
   149 		<xs:attribute name="relevant" type="xs:string"></xs:attribute>
   149     <xs:choice minOccurs="0"
   150 		<xs:attribute name="ref" type="xs:NMTOKEN" use="required" />
   150                maxOccurs="unbounded">
   151 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   151       <xs:element ref="tns:desc" />
   152 	</xs:complexType>
   152       <xs:element ref="tns:icon" />
   153 	<xs:complexType name="optionType">
   153       <xs:element ref="tns:link" />
   154 		<xs:choice minOccurs="0" maxOccurs="unbounded">
   154     </xs:choice>
   155 			<xs:element ref="tns:desc" />
   155     <xs:attributeGroup ref="tns:CommonAttrs" />
   156 			<xs:element ref="tns:icon" />
   156     <xs:attribute name="name"
   157 			<xs:element ref="tns:link" />
   157                   type="xs:token"
   158 		</xs:choice>
   158                   use="optional" />
   159 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   159     <xs:attribute name="value"
   160 		<xs:attribute name="name" type="xs:token" use="optional"></xs:attribute>
   160                   type="xs:string"
   161 		<xs:attribute name="value" type="xs:string" use="optional"></xs:attribute>
   161                   use="optional" />
   162 		<xs:attribute name="relevant" type="xs:token" default="true"></xs:attribute>
   162     <xs:attribute name="unit"
   163 		<xs:attribute name="map" type="xs:string"></xs:attribute>
   163                   type="xs:token" />
   164 	</xs:complexType>
   164   </xs:complexType>
   165 	<xs:complexType name="groupType">
   165   <xs:complexType name="settingType">
   166 		<xs:choice minOccurs="0" maxOccurs="unbounded">
   166     <xs:choice minOccurs="0"
   167 			<xs:element ref="tns:desc" />
   167                maxOccurs="unbounded">
   168 			<xs:element ref="tns:icon" />
   168       <xs:element ref="tns:desc" />
   169 			<xs:element ref="tns:link" />
   169       <xs:element ref="tns:icon" />
   170 			<xs:element ref="tns:group" />
   170       <xs:element ref="tns:link" />
   171 			<xs:element ref="tns:setting" />
   171       <xs:element ref="tns:option" />
   172 		</xs:choice>
   172       <xs:element ref="tns:property" />
   173 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   173       <xs:element ref="tns:setting" />
   174 		<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
   174       <xs:element ref="tns:localPath" />
   175 	</xs:complexType>
   175       <xs:element ref="tns:targetPath" />
   176 	<xs:complexType name="viewType">
   176       <xs:element ref="xs:pattern" />
   177 		<xs:choice minOccurs="0" maxOccurs="unbounded">
   177       <xs:element ref="xs:minInclusive" />
   178 			<xs:element ref="tns:meta" />
   178       <xs:element ref="xs:maxInclusive" />
   179 			<xs:element ref="tns:desc" />
   179       <xs:element ref="xs:minExclusive" />
   180 			<xs:element ref="tns:icon" />
   180       <xs:element ref="xs:maxExclusive" />
   181 			<xs:element ref="tns:link" />
   181       <xs:element ref="xs:length" />
   182 			<xs:element ref="tns:group"></xs:element>
   182       <xs:element ref="xs:minLength" />
   183 		</xs:choice>
   183       <xs:element ref="xs:maxLength" />
   184 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   184       <xs:element ref="xs:totalDigits" />
   185 		<xs:attribute name="name" type="xs:token" use="optional"></xs:attribute>
   185       <xs:element ref="tns:extensions" />
   186 	</xs:complexType>
   186     </xs:choice>
   187 	<xs:complexType name="localTargetPathType">
   187     <xs:attributeGroup ref="tns:CommonAttrs" />
   188 		<xs:choice minOccurs="0" maxOccurs="unbounded">
   188     <xs:attribute name="relevant"
   189 			<xs:element ref="tns:desc" />
   189                   type="xs:token"
   190 			<xs:element ref="tns:icon" />
   190                   default="true" />
   191 			<xs:element ref="tns:link" />
   191     <xs:attribute name="constraint"
   192 		</xs:choice>
   192                   type="xs:token"
   193 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   193                   default="true" />
   194 		<xs:attribute name="constraint" type="xs:token"/>
   194     <xs:attribute name="readOnly"
   195 		<xs:attribute name="readOnly" type="xs:NMTOKEN"/>
   195                   type="xs:boolean"
   196 		<xs:attribute name="required" type="xs:NMTOKEN"/>
   196                   default="false" />
   197 		<xs:attribute name="map" type="xs:string"></xs:attribute>
   197     <xs:attribute name="name"
   198 	</xs:complexType>
   198                   type="xs:string" />
   199 	<xs:simpleType name="idType">
   199     <xs:attribute name="type"
   200 		<xs:restriction base="xs:NMTOKEN"></xs:restriction>
   200                   type="tns:typeType" />
   201 	</xs:simpleType>
   201     <xs:attribute name="ref"
   202 	<xs:simpleType name="dateType">
   202                   type="xs:token" />
   203 		<xs:restriction base="xs:date"></xs:restriction>
   203     <xs:attribute name="minOccurs"
   204 	</xs:simpleType>
   204                   type="xs:nonNegativeInteger"
   205 	<xs:simpleType name="ownerType">
   205                   default="0" />
   206 		<xs:restriction base="xs:string"></xs:restriction>
   206     <xs:attribute name="maxOccurs"
   207 	</xs:simpleType>
   207                   type="xs:NMTOKEN"
   208 	<xs:simpleType name="editorType">
   208                   default="unbounded" />
   209 		<xs:restriction base="xs:string"></xs:restriction>
   209     <xs:attribute name="displayName"
   210 	</xs:simpleType>
   210                   type="xs:string" />
   211 	<xs:simpleType name="productType">
   211     <xs:attribute name="mapKey"
   212 		<xs:restriction base="xs:string"></xs:restriction>
   212                   type="xs:string" />
   213 	</xs:simpleType>
   213     <xs:attribute name="mapValue"
   214 	<xs:simpleType name="statusType">
   214                   type="xs:string" />
   215 		<xs:restriction base="xs:string"></xs:restriction>
   215     <xs:attribute name="required"
   216 	</xs:simpleType>
   216                   type="xs:boolean"
   217 	<xs:simpleType name="platformType">
   217                   default="false" />
   218 		<xs:restriction base="xs:string"></xs:restriction>
   218     <xs:anyAttribute namespace="##other"
   219 	</xs:simpleType>
   219                      processContents="skip" />
   220 	<xs:simpleType name="versionType">
   220   </xs:complexType>
   221 		<xs:restriction base="xs:string"></xs:restriction>
   221   <xs:complexType name="featureType">
   222 	</xs:simpleType>
   222     <xs:choice minOccurs="0"
   223 	<xs:simpleType name="releaseType">
   223                maxOccurs="unbounded">
   224 		<xs:restriction base="xs:string"></xs:restriction>
   224       <xs:element ref="tns:desc" />
   225 	</xs:simpleType>
   225       <xs:element ref="tns:icon" />
   226 	<xs:simpleType name="customerType">
   226       <xs:element ref="tns:link" />
   227 		<xs:restriction base="xs:string"></xs:restriction>
   227       <xs:element ref="tns:setting" />
   228 	</xs:simpleType>
   228       <xs:element ref="tns:extensions" />
   229 <!-- <xs:attribute name="id" type="xs:NMTOKEN" />-->
   229     </xs:choice>
   230 	<!--
   230     <xs:attribute name="name"
   231 		<xs:attribute name="href" type="xs:anyURI" /> <xs:attribute
   231                   type="xs:token" />
   232 		name="title" type="xs:string" />
   232     <xs:attribute name="relevant"
   233 	-->
   233                   type="xs:token"
   234 	<xs:attributeGroup name="CommonAttrs">
   234                   default="true" />
   235 		<xs:attribute name="id" type="xs:ID"></xs:attribute>
   235     <xs:attribute name="ref"
   236 	</xs:attributeGroup>
   236                   type="xs:token"
   237 	<xs:complexType name="dataType">
   237                   use="required" />
   238 		<xs:sequence>
   238     <xs:attributeGroup ref="tns:CommonAttrs" />
   239 			<xs:any namespace="##any" processContents="skip" minOccurs="0"
   239     <xs:anyAttribute namespace="##other"
   240 				maxOccurs="unbounded"></xs:any>
   240                      processContents="skip" />
   241 		</xs:sequence>
   241   </xs:complexType>
   242 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   242   <xs:complexType name="optionType">
   243 		<xs:attribute name="extensionPolicy" type="xs:NMTOKEN"
   243     <xs:choice minOccurs="0"
   244 			default="replace">
   244                maxOccurs="unbounded">
   245 		</xs:attribute>
   245       <xs:element ref="tns:desc" />
   246 		<xs:attribute name="template" type="xs:NMTOKEN" default="false"></xs:attribute>
   246       <xs:element ref="tns:icon" />
   247 	</xs:complexType>
   247       <xs:element ref="tns:link" />
   248 	<xs:complexType name="rfsType">
   248     </xs:choice>
   249 		<xs:sequence>
   249     <xs:attributeGroup ref="tns:CommonAttrs" />
   250 			<xs:any namespace="##any" processContents="skip" minOccurs="0"
   250     <xs:attribute name="name"
   251 				maxOccurs="unbounded"></xs:any>
   251                   type="xs:token" />
   252 		</xs:sequence>
   252     <xs:attribute name="value"
   253 		<xs:attributeGroup ref="tns:CommonAttrs"></xs:attributeGroup>
   253                   type="xs:string" />
   254 	</xs:complexType>
   254     <xs:attribute name="relevant"
   255 	<xs:simpleType name="typeType">
   255                   type="xs:token"
   256 		<xs:restriction base="xs:string">
   256                   default="true" />
   257 			<xs:enumeration id="int" value="int"></xs:enumeration>
   257     <xs:attribute name="map"
   258 			<xs:enumeration value="boolean"></xs:enumeration>
   258                   type="xs:string" />
   259 			<xs:enumeration value="real"></xs:enumeration>
   259     <xs:attribute name="mapValue"
   260 			<xs:enumeration value="string"></xs:enumeration>
   260                   type="xs:string" />
   261 			<xs:enumeration value="file"></xs:enumeration>
   261     <xs:attribute name="displayName"
   262 			<xs:enumeration value="folder"></xs:enumeration>
   262                   type="xs:string" />
   263 			<xs:enumeration value="sequence"></xs:enumeration>
   263     <xs:anyAttribute namespace="##other"
   264 			<xs:enumeration value="selection"></xs:enumeration>
   264                      processContents="skip" />
   265 			<xs:enumeration value="multiSelection"></xs:enumeration>
   265   </xs:complexType>
   266 			<xs:enumeration value="date"></xs:enumeration>
   266   <xs:complexType name="groupType">
   267 			<xs:enumeration value="time"></xs:enumeration>
   267     <xs:choice minOccurs="0"
   268 			<xs:enumeration value="dateTime"></xs:enumeration>
   268                maxOccurs="unbounded">
   269 			<xs:enumeration value="duration"></xs:enumeration>
   269       <xs:element ref="tns:desc" />
   270 		</xs:restriction>
   270       <xs:element ref="tns:icon" />
   271 	</xs:simpleType>
   271       <xs:element ref="tns:link" />
       
   272       <xs:element ref="tns:group" />
       
   273       <xs:element ref="tns:setting" />
       
   274     </xs:choice>
       
   275     <xs:attributeGroup ref="tns:CommonAttrs" />
       
   276     <xs:attribute name="name"
       
   277                   type="xs:token" />
       
   278   </xs:complexType>
       
   279   <xs:complexType name="viewType">
       
   280     <xs:choice minOccurs="0"
       
   281                maxOccurs="unbounded">
       
   282       <xs:element ref="tns:meta"
       
   283                   maxOccurs="1" />
       
   284       <xs:element ref="tns:desc" />
       
   285       <xs:element ref="tns:icon" />
       
   286       <xs:element ref="tns:link" />
       
   287       <xs:element ref="tns:group" />
       
   288     </xs:choice>
       
   289     <xs:attributeGroup ref="tns:CommonAttrs" />
       
   290     <xs:attribute name="name"
       
   291                   type="xs:token" />
       
   292   </xs:complexType>
       
   293   <xs:simpleType name="idType">
       
   294     <xs:restriction base="xs:NMTOKEN" />
       
   295   </xs:simpleType>
       
   296   <xs:simpleType name="dateType">
       
   297     <xs:restriction base="xs:date" />
       
   298   </xs:simpleType>
       
   299   <xs:simpleType name="ownerType">
       
   300     <xs:restriction base="xs:string" />
       
   301   </xs:simpleType>
       
   302   <xs:simpleType name="editorType">
       
   303     <xs:restriction base="xs:string" />
       
   304   </xs:simpleType>
       
   305   <xs:simpleType name="productType">
       
   306     <xs:restriction base="xs:string" />
       
   307   </xs:simpleType>
       
   308   <xs:simpleType name="statusType">
       
   309     <xs:restriction base="xs:string" />
       
   310   </xs:simpleType>
       
   311   <xs:simpleType name="platformType">
       
   312     <xs:restriction base="xs:string" />
       
   313   </xs:simpleType>
       
   314   <xs:simpleType name="versionType">
       
   315     <xs:restriction base="xs:string" />
       
   316   </xs:simpleType>
       
   317   <xs:simpleType name="releaseType">
       
   318     <xs:restriction base="xs:string" />
       
   319   </xs:simpleType>
       
   320   <xs:simpleType name="customerType">
       
   321     <xs:restriction base="xs:string" />
       
   322   </xs:simpleType>
       
   323   <xs:simpleType name="originType">
       
   324     <xs:restriction base="xs:string" />
       
   325   </xs:simpleType>
       
   326   <xs:simpleType name="targetType">
       
   327     <xs:restriction base="xs:string" />
       
   328   </xs:simpleType>
       
   329   <xs:attributeGroup name="CommonAttrs">
       
   330     <xs:attribute name="id"
       
   331                   type="xs:NMTOKEN" />
       
   332   </xs:attributeGroup>
       
   333   <xs:complexType name="dataType">
       
   334     <xs:sequence>
       
   335       <xs:any namespace="##any"
       
   336               processContents="skip"
       
   337               minOccurs="0"
       
   338               maxOccurs="unbounded" />
       
   339     </xs:sequence>
       
   340     <xs:attributeGroup ref="tns:CommonAttrs" />
       
   341     <xs:attribute name="extensionPolicy"
       
   342                   type="xs:NMTOKEN"
       
   343                   default="replace" />
       
   344     <xs:attribute name="template"
       
   345                   type="xs:NMTOKEN"
       
   346                   default="false" />
       
   347     <xs:attribute name="map"
       
   348                   type="xs:string" />
       
   349     <xs:attribute name="empty"
       
   350                   type="xs:NMTOKEN"
       
   351                   default="false" />
       
   352   </xs:complexType>
       
   353   <xs:complexType name="rfsType">
       
   354     <xs:sequence>
       
   355       <xs:any namespace="##any"
       
   356               processContents="skip"
       
   357               minOccurs="0"
       
   358               maxOccurs="unbounded" />
       
   359     </xs:sequence>
       
   360     <xs:attributeGroup ref="tns:CommonAttrs" />
       
   361   </xs:complexType>
       
   362   <xs:simpleType name="typeType">
       
   363     <xs:restriction base="xs:string">
       
   364       <xs:enumeration value="int" />
       
   365       <xs:enumeration value="boolean" />
       
   366       <xs:enumeration value="real" />
       
   367       <xs:enumeration value="string" />
       
   368       <xs:enumeration value="file" />
       
   369       <xs:enumeration value="folder" />
       
   370       <xs:enumeration value="sequence" />
       
   371       <xs:enumeration value="selection" />
       
   372       <xs:enumeration value="multiSelection" />
       
   373       <xs:enumeration value="date" />
       
   374       <xs:enumeration value="time" />
       
   375       <xs:enumeration value="dateTime" />
       
   376       <xs:enumeration value="duration" />
       
   377       <xs:enumeration value="hexBinary" />
       
   378     </xs:restriction>
       
   379   </xs:simpleType>
       
   380   <xs:complexType name="pathType"
       
   381                   mixed="true">
       
   382     <xs:choice minOccurs="0"
       
   383                maxOccurs="unbounded">
       
   384       <xs:element ref="tns:desc" />
       
   385       <xs:element ref="tns:icon" />
       
   386       <xs:element ref="tns:link" />
       
   387       <xs:element ref="xs:pattern" />
       
   388       <xs:element ref="xs:length" />
       
   389       <xs:element ref="xs:minLength" />
       
   390       <xs:element ref="xs:maxLength" />
       
   391       <xs:element ref="tns:property" />
       
   392     </xs:choice>
       
   393     <xs:attributeGroup ref="tns:CommonAttrs" />
       
   394     <xs:attribute name="constraint"
       
   395                   type="xs:token"
       
   396                   default="true" />
       
   397     <xs:attribute name="readOnly"
       
   398                   type="xs:boolean"
       
   399                   default="false" />
       
   400     <xs:attribute name="required"
       
   401                   type="xs:boolean"
       
   402                   default="false" />
       
   403     <xs:attribute name="map"
       
   404                   type="xs:string" />
       
   405   </xs:complexType>
   272 </xs:schema>
   406 </xs:schema>