You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ce...@apache.org on 2005/03/10 00:21:21 UTC
svn commit: r156710 [1/5] - in xmlbeans/trunk/test: cases/xbean/compile/som/
cases/xbean/misc/ cases/xbean/misc/jira/ src/compile/scomp/som/checkin/
src/compile/scomp/som/common/ src/compile/scomp/som/detailed/
src/misc/common/ src/misc/detailed/
Author: cezar
Date: Wed Mar 9 15:20:56 2005
New Revision: 156710
URL: http://svn.apache.org/viewcvs?view=rev&rev=156710
Log:
Contributed By Rajiv Balachandran and Jacob Danner. Jira Regression Test Cases. Updates to partial som test cases
Added:
xmlbeans/trunk/test/cases/xbean/compile/som/constraints.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/constraints.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/constraints_added.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/constraints_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/datatypes.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/datatypes.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/datatypes_added.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/datatypes_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/datatypes_modified.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/datatypes_modified.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/derived_types.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/derived_types.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/derived_types_added.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/derived_types_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/derived_types_modifed.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/derived_types_modifed.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/elemattr.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/elemattr.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/elemattr_added.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/elemattr_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/elemattr_modified.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/elemattr_modified.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/groups.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/groups.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/groups_added.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/groups_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/groups_modified.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/groups_modified.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces1.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/namespaces1.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces2.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/namespaces2.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd_
- copied, changed from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd_
- copied, changed from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_noimports.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_noimports.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/reusable_grps.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/reusable_grps.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/reusable_grps_modified.xsd_
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/reusable_grps_modified.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/
xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_04.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_06.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102_netui-config.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105a.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_14.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33a.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33b.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34a.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34b.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_45a.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_45a.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_45b.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_45b.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_46.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_46.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_48.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_48.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_48b.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_48b.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_49.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_54.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_57.xml
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_57.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_62.xml
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_62.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_64.xml
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_64.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_64.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_64.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_68.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_68.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_71.xml
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_71.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_71.xsd
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_71.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_78.xml
- copied unchanged from r156688, xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_78.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_90.xsd_
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_98.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_98.xsd
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_98_exp.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_99.xml
xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_99.xsd
xmlbeans/trunk/test/src/misc/common/
xmlbeans/trunk/test/src/misc/common/JiraTestBase.java
xmlbeans/trunk/test/src/misc/detailed/JiraRegression1_50Test.java
xmlbeans/trunk/test/src/misc/detailed/JiraRegression50_100Test.java
xmlbeans/trunk/test/src/misc/detailed/JiraRegressionTest101_150.java
Removed:
xmlbeans/trunk/test/cases/xbean/compile/som/constraints.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/constraints_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/datatypes.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/datatypes_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/datatypes_modified.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/derived_types.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/derived_types_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/derived_types_modifed.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/elemattr.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/elemattr_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/elemattr_modified.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/groups.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/groups_added.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/groups_modified.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces1.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces2.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_noimports.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/reusable_grps.xsd
xmlbeans/trunk/test/cases/xbean/compile/som/reusable_grps_modified.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_45a.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_45b.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_46.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_48.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_48b.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_57.xml
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_62.xml
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_64.xml
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_64.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_68.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_71.xml
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_71.xsd
xmlbeans/trunk/test/cases/xbean/misc/xmlbeans_78.xml
xmlbeans/trunk/test/src/misc/detailed/JiraRegressionsTest.java
Modified:
xmlbeans/trunk/test/src/compile/scomp/som/checkin/PartialSOMCheckinTest.java
xmlbeans/trunk/test/src/compile/scomp/som/common/SomTestBase.java
xmlbeans/trunk/test/src/compile/scomp/som/detailed/PartialSOMDetailedTest.java
xmlbeans/trunk/test/src/misc/detailed/SampleRunner.java
Copied: xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd_ (from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd)
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd_?view=diff&rev=156710&p1=xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd&r1=156688&p2=xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd_&r2=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd (original)
+++ xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_import_fileonly.xsd_ Wed Mar 9 15:20:56 2005
@@ -38,10 +38,10 @@
<!-- import with just the file name -->
<xs:import namespace="http://openuri.org/namespaceimported"
- schemaLocation="namespaces1.xsd" />
+ schemaLocation="namespaces1.xsd_" />
- <xs:element name="NamespaceRootElem">
+ <xs:element name="NamespaceRootElem1">
<xs:complexType>
<xs:sequence>
<xs:element ref="imp:ImportedSchemaElem">
Copied: xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd_ (from r156688, xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd)
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd_?view=diff&rev=156710&p1=xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd&r1=156688&p2=xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd_&r2=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd (original)
+++ xmlbeans/trunk/test/cases/xbean/compile/som/namespaces_include.xsd_ Wed Mar 9 15:20:56 2005
@@ -25,7 +25,7 @@
<xsd:include schemaLocation="namespaces2.xsd" />
-->
- <xsd:include schemaLocation="file:///D:/SVNNEW/xmlbeans/trunk/test/cases/xbean/compile/som/namespaces2.xsd" />
+ <xsd:include schemaLocation="namespaces2.xsd_" />
<xsd:element name="NamespaceInclRootElem">
<xsd:complexType>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml Wed Mar 9 15:20:56 2005
@@ -0,0 +1,41 @@
+<?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.
+ */
+-->
+
+<purchase-order xmlns="http://openuri.org/easypo">
+ <customer>
+ <name>Gladys Kravitz</name>
+ <address>Anytown, PA</address>
+ </customer>
+ <date>2003-01-07T14:16:00-05:00</date>
+ <line-item>
+ <description>Burnham's Celestial Handbook, Vol 1</description>
+ <per-unit-ounces>5</per-unit-ounces>
+ <price>21.79</price>
+ <quantity>2</quantity>
+ </line-item>
+ <line-item>
+ <description>Burnham's Celestial Handbook, Vol 2</description>
+ <per-unit-ounces>5</per-unit-ounces>
+ <price>19.89</price>
+ <quantity>2</quantity>
+ </line-item>
+ <shipper>
+ <name>ZipShip</name>
+ <per-ounce-rate>0.74</per-ounce-rate>
+ </shipper>
+</purchase-order>
\ No newline at end of file
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_04.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_04.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_04.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_04.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,29 @@
+<?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">
+
+<xs:element name="sb2OfficeID">
+ <xs:simpleType>
+ <xs:restriction base="xs:decimal">
+ <xs:totalDigits value="38"/>
+ <xs:fractionDigits value="0"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:element>
+</xs:schema>
\ No newline at end of file
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_06.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_06.xsd?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_06.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_06.xsd Wed Mar 9 15:20:56 2005
@@ -0,0 +1,35 @@
+<?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 targetNamespace="http://xmlbeans_06"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:test="http://xmlbeans_06">
+ <xs:simpleType name="StateProvince">
+ <xs:restriction base="xs:string">
+ <xs:minLength value="2"/>
+ <xs:maxLength value="2"/>
+ <xs:enumeration value="OR" id="Oregon"/>
+ <xs:enumeration value="WA" id="Washington"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:complexType name="Area">
+ <xs:sequence>
+ <xs:element name="state" type="test:StateProvince" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,44 @@
+<?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"
+ elementFormDefault="qualified">
+
+<xsd:element name="speaktest" type="speaktest"/>
+
+<xsd:group name="speaktest.class">
+ <xsd:sequence>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:any namespace="##other" processContents="lax"/>
+ </xsd:choice>
+ <xsd:anyAttribute namespace="##any"
+processContents="strict"/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:group>
+
+<xsd:complexType name="speaktest" mixed="true">
+ <xsd:group ref="speaktest.class"/>
+ </xsd:complexType>
+
+</xsd:schema>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,35 @@
+<?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 targetNamespace="http://www.w3.org/2001/10/synthesis"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns="http://www.w3.org/2001/10/synthesis" elementFormDefault="qualified">
+
+<xsd:redefine schemaLocation="xmlbeans_08.xsd_">
+
+<xsd:complexType name="speaktest" mixed="true">
+ <xsd:complexContent>
+ <xsd:restriction base="speaktest">
+ <xsd:group ref="speaktest.class"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+</xsd:redefine>
+
+</xsd:schema>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xml?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xml (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xml Wed Mar 9 15:20:56 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+/* 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.
+ */
+-->
+
+<doc>
+ <defns>
+ <enumDef key="one">enum1</enumDef>
+ </defns>
+ <refs>
+ <enumRef>one</enumRef>
+ </refs>
+</doc>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_09.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,75 @@
+<?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">
+ <xsd:element name="doc">
+ <xsd:complexType>
+ <xsd:sequence>
+<xsd:element ref="defns" minOccurs="1" maxOccurs="1"/>
+<xsd:element ref="refs" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ <xsd:key name="enumKeys">
+ <xsd:selector xpath=".//defns/enumDef"/>
+ <xsd:field xpath="@key"/>
+ </xsd:key>
+ <xsd:keyref name="enumKeyRef" refer="enumKeys">
+ <xsd:selector xpath="./refs/enumRef"/>
+ <xsd:field xpath="."/>
+ </xsd:keyref>
+ </xsd:element>
+
+<xsd:element name="defns" type="defnsType"/>
+ <xsd:element name="enumDef" type="enumDefType"/>
+ <xsd:element name="refs" type="refsType"/>
+ <xsd:element name="enumRef" type="enumRefType"/>
+
+<xsd:complexType name="defnsType">
+ <xsd:sequence>
+ <xsd:element ref="enumDef"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="enumDefType">
+ <xsd:simpleContent>
+ <xsd:extension base="enumType">
+<xsd:attribute name="key" type="xsd:string"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+<xsd:simpleType name="enumRefType">
+ <xsd:restriction base="enumType"/>
+ </xsd:simpleType>
+
+<xsd:simpleType name="enumType">
+ <xsd:restriction base="xsd:token">
+ <xsd:enumeration value="enum1"/>
+ <xsd:enumeration value="enum2"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+<xsd:complexType name="refsType">
+ <xsd:sequence>
+ <xsd:element ref="enumRef"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+</xsd:schema>
+
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102.xsd?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102.xsd Wed Mar 9 15:20:56 2005
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- @todo: need to remove the legacy-tag-support from this -->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://beehive.apache.org/netui/2004/server/config"
+ xmlns:netui="http://beehive.apache.org/netui/2004/server/config"
+ elementFormDefault="qualified">
+
+ <xsd:element name="netui-config">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="legacy-tag-support" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false"/>
+ <xsd:element name="expression-languages" type="netui:expression-languages" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="pageflow-action-interceptors" type="netui:pageflow-action-interceptors" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="pageflow-handlers" type="netui:pageflow-handlers" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="pageflow-config" type="netui:pageflow-config" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="type-converters" type="netui:type-converters" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="jsp-tag-config" type="netui:jsp-tag-config" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="iterator-factories" type="netui:iterator-factories" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType name="action-interceptor">
+ <xsd:sequence>
+ <xsd:element name="interceptor-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="pageflow-action-interceptors">
+ <xsd:sequence>
+ <xsd:element name="global" minOccurs="0" maxOccurs="1">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="before-action" minOccurs="0" maxOccurs="1">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="action-interceptor" type="netui:action-interceptor" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="after-action" minOccurs="0" maxOccurs="1">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="action-interceptor" type="netui:action-interceptor" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="pageflow-handlers">
+ <xsd:sequence>
+ <xsd:element name="login-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="forward-redirect-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="reloadable-class-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="exceptions-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="module-config-locators">
+ <xsd:sequence>
+ <xsd:element name="module-config-locator" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="locator-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="pageflow-config">
+ <xsd:sequence>
+ <xsd:element name="enable-renesting" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false"/>
+ <xsd:element name="max-forwards-per-request" type="xsd:int" minOccurs="0" maxOccurs="1" default="25"/>
+ <xsd:element name="max-nesting-stack-depth" type="xsd:int" minOccurs="0" maxOccurs="1" default="10"/>
+ <xsd:element name="ensure-secure-forwards" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false"/>
+ <xsd:element name="throw-session-expired-exception" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="true"/>
+ <xsd:element name="multipart-handler" minOccurs="0" maxOccurs="1" default="disabled">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="disabled"/>
+ <xsd:enumeration value="memory"/>
+ <xsd:enumeration value="disk"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="module-config-locators" type="netui:module-config-locators" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="jsp-tag-config">
+ <xsd:sequence>
+ <xsd:element name="doctype" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="id-javascript" minOccurs="0" maxOccurs="1" default="default">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="default"/>
+ <!-- This flag will turn on Legacy JavaScript support for id and name attributes. When this is
+ set the default tag JavaScript will also be output. -->
+ <xsd:enumeration value="legacy"/>
+ <!-- This flag will make Legacy JavaScript support the only type of JavaScript output for id
+ and name attributes. -->
+ <xsd:enumeration value="legacyOnly"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="tree-image-location" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="type-converters">
+ <xsd:sequence>
+ <xsd:element name="type-converter" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="type" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="converter-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="iterator-factories">
+ <xsd:sequence>
+ <xsd:element name="iterator-factory" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="factory-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="expression-languages">
+ <xsd:sequence>
+ <xsd:element name="default-language" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="expression-language" minOccurs="1" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="factory-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="binding-contexts" type="netui:binding-contexts" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="binding-contexts">
+ <xsd:sequence>
+ <xsd:element name="binding-context" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="factory-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+</xsd:schema>
+
+
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102_netui-config.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102_netui-config.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102_netui-config.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_102_netui-config.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- @todo: need to remove the legacy-tag-support from this -->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://beehive.apache.org/netui/2004/server/config"
+ xmlns:netui="http://beehive.apache.org/netui/2004/server/config"
+ elementFormDefault="qualified">
+
+ <xsd:element name="netui-config">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="legacy-tag-support" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false"/>
+ <xsd:element name="expression-languages" type="netui:expression-languages" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="pageflow-action-interceptors" type="netui:pageflow-action-interceptors" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="pageflow-handlers" type="netui:pageflow-handlers" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="pageflow-config" type="netui:pageflow-config" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="type-converters" type="netui:type-converters" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="jsp-tag-config" type="netui:jsp-tag-config" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="iterator-factories" type="netui:iterator-factories" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType name="action-interceptor">
+ <xsd:sequence>
+ <xsd:element name="interceptor-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="pageflow-action-interceptors">
+ <xsd:sequence>
+ <xsd:element name="global" minOccurs="0" maxOccurs="1">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="before-action" minOccurs="0" maxOccurs="1">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="action-interceptor" type="netui:action-interceptor" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="after-action" minOccurs="0" maxOccurs="1">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="action-interceptor" type="netui:action-interceptor" minOccurs="1" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="pageflow-handlers">
+ <xsd:sequence>
+ <xsd:element name="login-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="forward-redirect-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="reloadable-class-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="exceptions-handler-class" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="module-config-locators">
+ <xsd:sequence>
+ <xsd:element name="module-config-locator" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="locator-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="pageflow-config">
+ <xsd:sequence>
+ <xsd:element name="enable-renesting" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false"/>
+ <xsd:element name="max-forwards-per-request" type="xsd:int" minOccurs="0" maxOccurs="1" default="25"/>
+ <xsd:element name="max-nesting-stack-depth" type="xsd:int" minOccurs="0" maxOccurs="1" default="10"/>
+ <xsd:element name="ensure-secure-forwards" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false"/>
+ <xsd:element name="throw-session-expired-exception" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="true"/>
+ <xsd:element name="multipart-handler" minOccurs="0" maxOccurs="1" default="disabled">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="disabled"/>
+ <xsd:enumeration value="memory"/>
+ <xsd:enumeration value="disk"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="module-config-locators" type="netui:module-config-locators" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="jsp-tag-config">
+ <xsd:sequence>
+ <xsd:element name="doctype" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="id-javascript" minOccurs="0" maxOccurs="1" default="default">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="default"/>
+ <!-- This flag will turn on Legacy JavaScript support for id and name attributes. When this is
+ set the default tag JavaScript will also be output. -->
+ <xsd:enumeration value="legacy"/>
+ <!-- This flag will make Legacy JavaScript support the only type of JavaScript output for id
+ and name attributes. -->
+ <xsd:enumeration value="legacyOnly"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:element>
+ <xsd:element name="tree-image-location" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="type-converters">
+ <xsd:sequence>
+ <xsd:element name="type-converter" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="type" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="converter-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="iterator-factories">
+ <xsd:sequence>
+ <xsd:element name="iterator-factory" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="factory-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="expression-languages">
+ <xsd:sequence>
+ <xsd:element name="default-language" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="expression-language" minOccurs="1" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="factory-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="binding-contexts" type="netui:binding-contexts" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="binding-contexts">
+ <xsd:sequence>
+ <xsd:element name="binding-context" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ <xsd:element name="factory-class" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+</xsd:schema>
+
+
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xml?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xml (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xml Wed Mar 9 15:20:56 2005
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+
+<ResourceUnknownFault xmlns="http://jira/xmlbeans_105">
+ <Timestamp>2004-05-14T10:21:18.6939682+08:00</Timestamp>
+</ResourceUnknownFault>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xsd?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105.xsd Wed Mar 9 15:20:56 2005
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+
+<xsd:schema targetNamespace="http://jira/xmlbeans_105"
+ elementFormDefault="qualified"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsnt="http://jira/xmlbeans_105"
+ xmlns:wsbf="http://jira/xmlbeans_105">
+
+ <xsd:import namespace="http://jira/xmlbeans_105"
+ schemaLocation="xmlbeans_105a.xsd" />
+
+ <xsd:complexType name="ResourceUnknownFaultType">
+ <xsd:complexContent>
+ <xsd:extension base="wsbf:BaseFaultType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:element name="ResourceUnknownFault"
+ type="wsnt:ResourceUnknownFaultType"/>
+
+</xsd:schema>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105a.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105a.xsd?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105a.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_105a.xsd Wed Mar 9 15:20:56 2005
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+
+<xsd:schema targetNamespace="http://jira/xmlbeans_105"
+ elementFormDefault="qualified"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsbf="http://jira/xmlbeans_105">
+
+ <xsd:complexType name="BaseFaultType">
+ <xsd:sequence>
+ <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string" />
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+</xsd:schema>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_14.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_14.xsd?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_14.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_14.xsd Wed Mar 9 15:20:56 2005
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+Copyright © 2002-2004 BEA Systems Inc., International Business Machines Corporation,
+Microsoft Corporation, Inc, SAP AG, and Sun Microsystems, Inc.. All rights reserved.
+
+Permission to copy, display, perform, modify and distribute the WS-Addressing Specification,
+and to authorize others to do the foregoing, in any medium without fee or royalty is hereby
+granted for the purpose of developing and evaluating the WS-Addressing Specification.
+
+BEA, IBM, Microsoft, SAP AG, and Sun Microsystems (collectively, the "Authors") each agree
+to grant a license to third parties, under royalty-free and otherwise reasonable,
+non-discriminatory terms and conditions, to their respective essential patent claims that
+they deem necessary to implement the WS-Addressing Specification.
+
+DISCLAIMERS:
+
+THE WS-Addressing Specification IS PROVIDED "AS IS", AND THE AUTHORS MAKE NO REPRESENTATIONS
+OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE
+CONTENTS OF THE WS-Addressing Specification IS SUITABLE FOR ANY PURPOSE; NOR THAT THE
+IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
+TRADEMARKS OR OTHER RIGHTS.
+
+THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
+DAMAGES ARISING OUT OF ANY USE OF THE WS-Addressing Specification OR THE PERFORMANCE OR
+IMPLEMENTATION OF THE CONTENTS THEREOF.
+
+You may remove these disclaimers from your modified versions of the WS-Addressing
+Specification provided that you effectively disclaim all warranties and liabilities on behalf
+of all copyright holders in the copies of any such modified versions you distribute.
+
+The name and trademarks of the Authors may NOT be used in any manner, including advertising
+or publicity pertaining to the WS-Addressing Specification or its contents without specific,
+written prior permission. Title to copyright in the WS-Addressing Specification will at all
+times remain with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+
+
+-->
+<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" blockDefault="#all">
+ <!-- //////////////////// WS-Addressing ////////////////////
+ -->
+ <!-- Endpoint reference
+ -->
+ <xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
+ <xs:complexType name="EndpointReferenceType">
+ <xs:sequence>
+ <xs:element name="Address" type="wsa:AttributedURI"/>
+ <xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
+ <xs:element name="ReferenceParameters" type="wsa:ReferenceParametersType" minOccurs="0"/>
+ <xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
+ <xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).</xs:documentation>
+ </xs:annotation>
+ </xs:any>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="ReferencePropertiesType">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ReferenceParametersType">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="ServiceNameType">
+ <xs:simpleContent>
+ <xs:extension base="xs:QName">
+ <xs:attribute name="PortName" type="xs:NCName"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <!-- Message information header blocks
+ -->
+ <xs:element name="MessageID" type="wsa:AttributedURI"/>
+ <xs:element name="RelatesTo" type="wsa:Relationship"/>
+ <xs:element name="To" type="wsa:AttributedURI"/>
+ <xs:element name="Action" type="wsa:AttributedURI"/>
+ <xs:element name="From" type="wsa:EndpointReferenceType"/>
+ <xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
+ <xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
+ <xs:complexType name="Relationship">
+ <xs:simpleContent>
+ <xs:extension base="xs:anyURI">
+ <xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:simpleType name="RelationshipTypeValues">
+ <xs:restriction base="xs:QName">
+ <xs:enumeration value="wsa:Reply"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name="ReplyAfter" type="wsa:ReplyAfterType"/>
+ <xs:complexType name="ReplyAfterType">
+ <xs:simpleContent>
+ <xs:extension base="xs:nonNegativeInteger">
+ <xs:anyAttribute namespace="##other"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:simpleType name="FaultSubcodeValues">
+ <xs:restriction base="xs:QName">
+ <xs:enumeration value="wsa:InvalidMessageInformationHeader"/>
+ <xs:enumeration value="wsa:MessageInformationHeaderRequired"/>
+ <xs:enumeration value="wsa:DestinationUnreachable"/>
+ <xs:enumeration value="wsa:ActionNotSupported"/>
+ <xs:enumeration value="wsa:EndpointUnavailable"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attribute name="Action" type="xs:anyURI"/>
+ <!-- Common declarations and definitions
+ -->
+ <xs:complexType name="AttributedQName">
+ <xs:simpleContent>
+ <xs:extension base="xs:QName">
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="AttributedURI">
+ <xs:simpleContent>
+ <xs:extension base="xs:anyURI">
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33a.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33a.xsd?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33a.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33a.xsd Wed Mar 9 15:20:56 2005
@@ -0,0 +1,54 @@
+<?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.
+ */
+-->
+
+<schema targetNamespace="urn:xbeans:jira_33a:SAML:1.0:assertion"
+xmlns:saml="urn:xbeans:jira_33a:SAML:1.0:assertion"
+xmlns="http://www.w3.org/2001/XMLSchema"
+elementFormDefault="unqualified"
+attributeFormDefault="unqualified" version="1.1">
+
+ <element name="Subject" type="saml:SubjectType"/>
+ <complexType name="SubjectType">
+ <choice>
+ <sequence>
+ <element ref="saml:NameIdentifier"/>
+ <element ref="saml:SubjectConfirmation" minOccurs="0"/>
+ </sequence>
+ <element ref="saml:SubjectConfirmation"/>
+ </choice>
+ </complexType>
+ <element name="NameIdentifier" type="saml:NameIdentifierType"/>
+ <complexType name="NameIdentifierType">
+ <simpleContent>
+ <extension base="string">
+ <attribute name="NameQualifier" type="string" use="optional"/>
+ <attribute name="Format" type="anyURI" use="optional"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ <element name="SubjectConfirmation" type="saml:SubjectConfirmationType"/>
+ <complexType name="SubjectConfirmationType">
+ <sequence>
+ <element ref="saml:ConfirmationMethod" maxOccurs="unbounded"/>
+ <element ref="saml:SubjectConfirmationData" minOccurs="0"/>
+<!-- <element ref="ds:KeyInfo" minOccurs="0"/> -->
+ </sequence>
+ </complexType>
+ <element name="SubjectConfirmationData" type="anyType"/>
+ <element name="ConfirmationMethod" type="anyURI"/>
+</schema>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33b.xsd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33b.xsd?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33b.xsd (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_33b.xsd Wed Mar 9 15:20:56 2005
@@ -0,0 +1,41 @@
+<?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 targetNamespace="urn:xbeans:jira33b"
+ xmlns="urn:xbeans:jira33b"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:saml="urn:xbeans:jira_33a:SAML:1.0:assertion"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+
+ <xs:import namespace="urn:xbeans:jira_33a:SAML:1.0:assertion"
+ schemaLocation="xmlbeans_33a.xsd"/>
+
+ <xs:complexType name="SubjectType">
+ <xs:complexContent>
+ <xs:extension base="saml:SubjectType">
+ <xs:sequence>
+ <xs:element ref="IDPProvidedNameIdentifier"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+<!--
+ <xs:element name="Subject" type="SubjectType" substitutionGroup="saml:Subject"/>
+-->
+ <xs:element name="IDPProvidedNameIdentifier" type="saml:NameIdentifierType"/>
+</xs:schema>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34a.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34a.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34a.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34a.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,40 @@
+<?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 targetNamespace="http://openuri.org/" xmlns="http://openuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1.0">
+ <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/>
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+
+ <xsd:complexType name="CheckResultType">
+ <xsd:sequence>
+ <xsd:element name="Code" type="xsd:nonNegativeInteger"/>
+ <xsd:element name="Info" type="AnyChildrenType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="AnyChildrenType" mixed="true">
+ <xsd:sequence minOccurs="0" maxOccurs="unbounded">
+ <xsd:any namespace="##any" processContents="lax"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+</xsd:schema>
+
+
+
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34b.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34b.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34b.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_34b.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,46 @@
+<?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 targetNamespace="http://openuri.org/this" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://openuri.org/this" xmlns:sl10="http://openuri.org/" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1.0">
+
+<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/>
+<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+<xsd:import namespace="http://openuri.org/" schemaLocation="xmlbeans_34a.xsd_"/>
+
+ <!--### Verify XML Signature Response ###-->
+ <xsd:element name="TestElem" type="ReferencesCheckResultType"/>
+ <xsd:complexType name="ReferencesCheckResultType">
+ <xsd:complexContent>
+ <xsd:restriction base="sl10:CheckResultType">
+ <xsd:sequence>
+ <xsd:element name="Code" type="xsd:nonNegativeInteger"/>
+ <xsd:element name="Info" type="ReferencesCheckResultInfoType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="ReferencesCheckResultInfoType" mixed="true">
+ <xsd:complexContent mixed="true">
+ <xsd:restriction base="sl10:AnyChildrenType">
+ <xsd:sequence>
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="FailedReference" type="xsd:positiveInteger" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+</xsd:schema>
Added: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_?view=auto&rev=156710
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_ (added)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_ Wed Mar 9 15:20:56 2005
@@ -0,0 +1,111 @@
+<?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 targetNamespace="http://openuri/org/xbeans36" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:p="http://openuri/org/xbeans36" elementFormDefault="qualified" attributeFormDefault="unqualified" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd">
+ <xs:element name="config_test">
+ <xs:annotation>
+ <xs:documentation>XPL root element</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="param_test" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name_test" type="xs:string" use="required"/>
+ <xs:attribute name="type_test" type="xs:string" use="required"/>
+ <xs:attributeGroup ref="p:debug-schema-attributes"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:group ref="p:statements_test"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:group name="statement">
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="processor_test">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="input" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="name_test" type="xs:string" use="required"/>
+ <xs:attribute name="href_test" type="xs:string" use="optional"/>
+ <xs:attributeGroup ref="p:debug-schema-attributes"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="output" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="name_test" type="xs:string" use="required"/>
+ <xs:attribute name="id_test" type="xs:string" use="optional"/>
+ <xs:attribute name="ref" type="xs:string" use="optional"/>
+ <xs:attributeGroup ref="p:debug-schema-attributes"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="uri_test" type="xs:anyURI" use="optional"/>
+ <xs:attribute name="name_test" type="xs:anyURI" use="optional"/>
+ <xs:attribute name="encapsulation_test" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="choose">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="when_test" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:group ref="p:statements_test"/>
+ <xs:attribute name="test" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="otherwise_test" minOccurs="0">
+ <xs:complexType>
+ <xs:group ref="p:statements_test"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="href_test" type="xs:string" use="required"/>
+ <xs:attributeGroup ref="p:debug-schema-attributes"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="for-each">
+ <xs:complexType>
+ <xs:group ref="p:statements_test"/>
+ <xs:attribute name="href_test" type="xs:string" use="required"/>
+ <xs:attribute name="select_test" type="xs:string" use="required"/>
+ <xs:attribute name="id_test" type="xs:QName" use="required"/>
+ <xs:attribute name="root_test" type="xs:QName" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="statements_test">
+ <xs:sequence>
+ <xs:group ref="p:statement" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:attributeGroup name="debug-schema-attributes">
+ <xs:attribute name="debug_test" type="xs:string" use="optional"/>
+ <xs:attribute name="schema-href_test" type="xs:anyURI" use="optional"/>
+ <xs:attribute name="schema-uri_test" type="xs:anyURI" use="optional"/>
+ </xs:attributeGroup>
+</xs:schema>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org