<?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. --> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:sub="http://jira/xmlbeans_228/substitution" | |
targetNamespace="http://jira/xmlbeans_228/substitution" | |
elementFormDefault="qualified"> | |
<xs:annotation> | |
<xs:documentation> | |
<xs:documentation>Wrong element order after substitution.</xs:documentation> | |
<creationdate>14.11.05 11:11</creationdate> | |
</xs:documentation> | |
</xs:annotation> | |
<xs:element name="Person"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="FirstName" type="xs:string"/> | |
<xs:element name="LastName" type="xs:string"/> | |
<xs:element ref="sub:Comment" minOccurs="0"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="Comment" type="sub:CommentType"/> | |
<xs:complexType name="CommentType"> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"/> | |
</xs:simpleContent> | |
</xs:complexType> | |
<xs:element name="FirstCommentElement" type="sub:FirstCommentType" substitutionGroup="sub:Comment"/> | |
<xs:complexType name="FirstCommentType"> | |
<xs:simpleContent> | |
<xs:extension base="sub:CommentType"/> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:schema> |