Merge pull request #3091 from alexanderkyte/mobile_static_fix_mcs_tests
[mono.git] / mcs / class / System.Data / Test / System.Data / own_schema2.xsd
1 <?xml version="1.0" standalone="yes"?>
2 <xs:schema id="test_dataset" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
3   <xs:element name="test_dataset" msdata:IsDataSet="true" msdata:MainDataTable="second_test_table" msdata:UseCurrentLocale="true">
4     <xs:complexType>
5       <xs:choice maxOccurs="unbounded">
6         <xs:element name="second_test_table">
7           <xs:complexType>
8             <xs:sequence>
9               <xs:element name="second_first" default="default_value" minOccurs="0">
10                 <xs:simpleType>
11                   <xs:restriction base="xs:string">
12                     <xs:maxLength value="100" />
13                   </xs:restriction>
14                 </xs:simpleType>
15               </xs:element>
16             </xs:sequence>
17           </xs:complexType>
18         </xs:element>
19       </xs:choice>
20     </xs:complexType>
21     <xs:unique name="Constraint1">
22       <xs:selector xpath=".//test_table" />
23       <xs:field xpath="first" />
24     </xs:unique>
25     <xs:unique name="second_test_table_Constraint1" msdata:ConstraintName="Constraint1">
26       <xs:selector xpath=".//second_test_table" />
27       <xs:field xpath="second_first" />
28     </xs:unique>
29   </xs:element>
30 </xs:schema>