diff options
Diffstat (limited to 'tags/cpp-1.0-incubating-M2-RC1/sdo/runtime/core/test/b46617b.xsd')
-rw-r--r-- | tags/cpp-1.0-incubating-M2-RC1/sdo/runtime/core/test/b46617b.xsd | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/tags/cpp-1.0-incubating-M2-RC1/sdo/runtime/core/test/b46617b.xsd b/tags/cpp-1.0-incubating-M2-RC1/sdo/runtime/core/test/b46617b.xsd new file mode 100644 index 0000000000..6f24f9cb8b --- /dev/null +++ b/tags/cpp-1.0-incubating-M2-RC1/sdo/runtime/core/test/b46617b.xsd @@ -0,0 +1,75 @@ + +<!-- + Copyright 2006 The Apache Software Foundation or its licensors, as applicable. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" +xmlns:sdo="commonj.sdo" xmlns:sdoxml="commonj.sdo/xml" +xmlns:tns="companyNS" targetNamespace="companyNS"> + +<xsd:element name="employeeType" type="tns:EmployeeType"/> +<xsd:complexType name="EmployeeType"> +<xsd:sequence> +<xsd:element name="SN" type="xsd:String" minOccurs="0"/> +<xsd:element name="manager" type="xsd:boolean" minOccurs="0"/> +</xsd:sequence> +<xsd:attribute name="name" type="xsd:String"/> +</xsd:complexType> + +<xsd:element name="departmentType" type="tns:DepartmentType"/> +<xsd:complexType name="DepartmentType"> +<xsd:sequence> +<xsd:element name="location" type="xsd:String" minOccurs="0"/> +<xsd:element name="number" type="xsd:integer" minOccurs="0"/> +<xsd:element name="employees" type="tns:EmployeeType" minOccurs="0" maxOccurs="unbounded"/> +</xsd:sequence> +<xsd:attribute name="name" type="xsd:String"/> +</xsd:complexType> + +<xsd:element name="companyType" type="tns:CompanyType"/> +<xsd:complexType name="CompanyType" mixed="true"> +<xsd:choice maxOccurs="unbounded"> +<xsd:element name="departments" type="tns:DepartmentType" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="string" type="xsd:String" minOccurs="0"/> +<xsd:element name="bool" type="xsd:boolean" minOccurs="0"/> +<xsd:element name="byte" type="xsd:byte" minOccurs="0"/> +<xsd:element name="bytes" type="xsd:hexBinary" minOccurs="0"/> +<xsd:element name="char" type="xsd:string" minOccurs="0"/> +<xsd:element name="date" type="xsd:dateTime" minOccurs="0"/> +<xsd:element name="double" type="xsd:double" minOccurs="0"/> +<xsd:element name="float" type="xsd:float" minOccurs="0"/> +<xsd:element name="int" type="xsd:integer" minOccurs="0"/> +<xsd:element name="long" type="xsd:long" minOccurs="0"/> +<xsd:element name="short" type="xsd:short" minOccurs="0"/> +<xsd:element name="uri" type="xsd:anyURI" minOccurs="0"/> +<xsd:element name="Mstring" type="xsd:String" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mbool" type="xsd:boolean" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mbyte" type="xsd:byte" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mbytes" type="xsd:hexBinary" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mchar" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mdate" type="xsd:dateTime" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mdouble" type="xsd:double" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mfloat" type="xsd:float" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mint" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mlong" type="xsd:long" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Mshort" type="xsd:short" minOccurs="0" maxOccurs="unbounded"/> +<xsd:element name="Muri" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded"/> +</xsd:choice> + +<xsd:element name="CEO" type="tns:EmployeeType" minOccurs="0"/> +<xsd:element name="changeSummary" type="sdo:ChangeSummaryType"/> +<xsd:attribute name="name" type="xsd:String"/> +<xsd:attribute name="employeeOfTheMonth" sdoxml:propertyType="tns:EmployeeType" type="xsd:IDREF"/> +</xsd:complexType> +</xsd:schema>
\ No newline at end of file |