blob: 663fd5ce94c0d7d16aeae869122950534b4aed72 [file] [log] [blame]
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you 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.
-->
<s:schema elementFormDefault="qualified"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://apache.org/axis2/schema/union2"
targetNamespace="http://apache.org/axis2/schema/union2">
<s:simpleType name="TestUnion1">
<s:union memberTypes="s:string s:boolean tns:TestRestriction"/>
</s:simpleType>
<s:simpleType name="TestRestriction">
<s:restriction base="s:string">
</s:restriction>
</s:simpleType>
<s:element name="TestUnionElement1" type="tns:TestUnion1"/>
<s:element name="TestUnionElement2">
<s:complexType>
<s:sequence>
<s:element name="param1" type="tns:TestUnion1"/>
</s:sequence>
<s:attribute name="attribute1" type="tns:TestUnion1"/>
</s:complexType>
</s:element>
<s:simpleType name="TestList1">
<s:list itemType="s:string"/>
</s:simpleType>
<s:element name="TestListElement1">
<s:complexType>
<s:sequence>
<s:element name="param1" type="tns:TestList1"/>
</s:sequence>
<s:attribute name="attribute1" type="tns:TestList1"/>
</s:complexType>
</s:element>
<s:element name="TestFuzzyDateType" type="tns:fuzzyDateType"/>
<s:simpleType name="fuzzyDateType">
<s:union memberTypes="s:date s:dateTime s:gYear s:gYearMonth">
</s:union>
</s:simpleType>
<s:element name="TestElement">
<s:complexType>
<s:sequence>
<s:element name="creationDate" type="s:string"/>
<s:element name="CreationDate" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>