| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Copyright 2004 The Apache Software Foundation |
| |
| 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="http://xbean/scomp/derivation/ElementWCRestriction" |
| targetNamespace="http://xbean/scomp/derivation/ElementWCRestriction" |
| xmlns:base="http://xbean/scomp/namespace/ElementWC" |
| > |
| |
| <xsd:complexType name="OtherLaxT"> |
| <xsd:complexContent> |
| <xsd:restriction base="base:AnyLaxT"> |
| <xsd:sequence maxOccurs="2"> |
| <xsd:any namespace="##other" |
| processContents="lax"/> |
| </xsd:sequence> |
| </xsd:restriction> |
| </xsd:complexContent> |
| </xsd:complexType> |
| |
| <xsd:complexType name="UriSkipT"> |
| <xsd:complexContent> |
| <xsd:restriction base="base:AnyLaxT"> |
| <xsd:sequence minOccurs="2" maxOccurs="2"> |
| <xsd:any namespace="http://xbean/scomp/element/GlobalEltDefault" |
| processContents="skip"/> |
| </xsd:sequence> |
| </xsd:restriction> |
| </xsd:complexContent> |
| </xsd:complexType> |
| |
| <xsd:complexType name="ConcreteT"> |
| <xsd:complexContent> |
| <xsd:restriction base="base:AnyLaxT"> |
| <xsd:sequence maxOccurs="1"> |
| <xsd:element name="concreteChild"/> |
| </xsd:sequence> |
| </xsd:restriction> |
| </xsd:complexContent> |
| </xsd:complexType> |
| |
| <xsd:element name="OtherLax" type="OtherLaxT"/> |
| <xsd:element name="UriSkip" type="UriSkipT"/> |
| <xsd:element name="ConcreteElt" type="ConcreteT"/> |
| <xsd:element name="testElt"/> |
| |
| </xsd:schema> |