| <?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/Abstract" |
| targetNamespace="http://xbean/scomp/derivation/Abstract" |
| xmlns:extT="http://xbean/scomp/derivation/Block" |
| > |
| |
| <xsd:import namespace="http://xbean/scomp/derivation/Block" |
| schemaLocation="Block.xsd"/> |
| |
| |
| <!--overwrite finalDefault/block--> |
| <xsd:complexType name="abstractT" abstract="true"> |
| <xsd:sequence> |
| <xsd:element name="name" type="xsd:string"/> |
| <xsd:element name="age" type="extT:ageT"/> |
| </xsd:sequence> |
| </xsd:complexType> |
| |
| |
| <!--EXTENDED TYPES--> |
| <xsd:complexType name="abstractImplT"> |
| <xsd:complexContent> |
| <xsd:extension base="abstractT"> |
| <xsd:sequence> |
| <xsd:element name="gender" type="extT:genderT"/> |
| </xsd:sequence> |
| </xsd:extension> |
| </xsd:complexContent> |
| </xsd:complexType> |
| |
| |
| <xsd:element name="EltAbstract" type="abstractT"/> |
| <xsd:element name="EltConcrete" type="abstractImplT"/> |
| </xsd:schema> |