From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001 From: dims Date: Tue, 17 Jun 2008 00:23:01 +0000 Subject: Move Tuscany from Incubator to top level. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68 --- interop/src/main/resources/README.txt | 198 +++ interop/src/main/resources/createdb-db2.ddl | 80 + interop/src/main/resources/createdb-mysql.ddl | 54 + interop/src/main/resources/datagraph.xsd | 77 + interop/src/main/resources/importschema.xsd | 30 + interop/src/main/resources/insertdata-db2.ddl | 82 + interop/src/main/resources/insertdata-mysql.ddl | 76 + interop/src/main/resources/interop.wsdl | 1814 +++++++++++++++++++++++ interop/src/main/resources/interop00-in.xml | 128 ++ interop/src/main/resources/interop00.xsd | 309 ++++ interop/src/main/resources/interop01-in.xml | 22 + interop/src/main/resources/interop01.xsd | 33 + interop/src/main/resources/interop02-in.xml | 27 + interop/src/main/resources/interop02.xsd | 36 + interop/src/main/resources/interop03-in.xml | 22 + interop/src/main/resources/interop03.xsd | 31 + interop/src/main/resources/interop04-in.xml | 20 + interop/src/main/resources/interop04.xsd | 29 + interop/src/main/resources/interop05-in.xml | 22 + interop/src/main/resources/interop05.xsd | 35 + interop/src/main/resources/interop06-in.xml | 21 + interop/src/main/resources/interop06.xsd | 23 + interop/src/main/resources/interop07-in.xml | 21 + interop/src/main/resources/interop07.xsd | 28 + interop/src/main/resources/interop08-in.xml | 21 + interop/src/main/resources/interop08.xsd | 35 + interop/src/main/resources/interop09-in.xml | 21 + interop/src/main/resources/interop09.xsd | 30 + interop/src/main/resources/interop10-in.xml | 21 + interop/src/main/resources/interop10.xsd | 32 + interop/src/main/resources/interop11-in.xml | 23 + interop/src/main/resources/interop11.xsd | 34 + interop/src/main/resources/interop12-in.xml | 21 + interop/src/main/resources/interop12.xsd | 33 + interop/src/main/resources/interop13-in.xml | 21 + interop/src/main/resources/interop13.xsd | 36 + interop/src/main/resources/interop14-in.xml | 23 + interop/src/main/resources/interop14.xsd | 33 + interop/src/main/resources/interop15-in.xml | 23 + interop/src/main/resources/interop15.xsd | 33 + interop/src/main/resources/interop16-in.xml | 23 + interop/src/main/resources/interop16.xsd | 33 + interop/src/main/resources/interop17-in.xml | 22 + interop/src/main/resources/interop17.xsd | 42 + interop/src/main/resources/interop18-in.xml | 21 + interop/src/main/resources/interop18.xsd | 30 + interop/src/main/resources/interop19-in.xml | 23 + interop/src/main/resources/interop19.xsd | 34 + interop/src/main/resources/interop20-in.xml | 23 + interop/src/main/resources/interop20.xsd | 36 + interop/src/main/resources/interop21-in.xml | 23 + interop/src/main/resources/interop21.xsd | 35 + interop/src/main/resources/interop22-in.xml | 24 + interop/src/main/resources/interop22.xsd | 44 + interop/src/main/resources/interop23-in.xml | 23 + interop/src/main/resources/interop23.xsd | 35 + interop/src/main/resources/interop24-in.xml | 24 + interop/src/main/resources/interop24.xsd | 40 + interop/src/main/resources/interop25-in.xml | 23 + interop/src/main/resources/interop25.xsd | 38 + interop/src/main/resources/interop26-in.xml | 23 + interop/src/main/resources/interop26.xsd | 41 + interop/src/main/resources/interop27-in.xml | 23 + interop/src/main/resources/interop27.xsd | 38 + interop/src/main/resources/interop28-in.xml | 26 + interop/src/main/resources/interop28.xsd | 36 + interop/src/main/resources/interop29-in.xml | 23 + interop/src/main/resources/interop29.xsd | 37 + interop/src/main/resources/interop30-in.xml | 28 + interop/src/main/resources/interop30.xsd | 36 + interop/src/main/resources/interop31-in.xml | 23 + interop/src/main/resources/interop31.xsd | 39 + interop/src/main/resources/interop32-in.xml | 32 + interop/src/main/resources/interop32.xsd | 56 + interop/src/main/resources/interop33-in.xml | 31 + interop/src/main/resources/interop33.xsd | 46 + interop/src/main/resources/interop34-in.xml | 21 + interop/src/main/resources/interop34.xsd | 29 + interop/src/main/resources/interop35-in.xml | 23 + interop/src/main/resources/interop35.xsd | 29 + interop/src/main/resources/interop36-in.xml | 21 + interop/src/main/resources/interop36.xsd | 28 + interop/src/main/resources/interop37-in.xml | 22 + interop/src/main/resources/interop37.xsd | 45 + interop/src/main/resources/interop38-in.xml | 24 + interop/src/main/resources/interop38.xsd | 37 + interop/src/main/resources/interop39-in.xml | 22 + interop/src/main/resources/interop39.xsd | 29 + interop/src/main/resources/interop40-in.xml | 39 + interop/src/main/resources/interop40.xsd | 49 + interop/src/main/resources/interop41-in.xml | 23 + interop/src/main/resources/interop41.xsd | 28 + interop/src/main/resources/interop42-in.xml | 23 + interop/src/main/resources/interop42.xsd | 28 + interop/src/main/resources/interop43-in.xml | 23 + interop/src/main/resources/interop43.xsd | 29 + interop/src/main/resources/interop44-in.xml | 23 + interop/src/main/resources/interop44.xsd | 29 + interop/src/main/resources/interop45-in.xml | 23 + interop/src/main/resources/interop45.xsd | 30 + interop/src/main/resources/interop46-in.xml | 23 + interop/src/main/resources/interop46.xsd | 30 + interop/src/main/resources/interop47-in.xml | 25 + interop/src/main/resources/interop47.xsd | 31 + interop/src/main/resources/interop50-in.xml | 78 + interop/src/main/resources/interop50.xsd | 79 + interop/src/main/resources/sdoJava.xsd | 85 ++ interop/src/main/resources/sdoModel.xsd | 217 +++ 108 files changed, 6037 insertions(+) create mode 100644 interop/src/main/resources/README.txt create mode 100644 interop/src/main/resources/createdb-db2.ddl create mode 100644 interop/src/main/resources/createdb-mysql.ddl create mode 100644 interop/src/main/resources/datagraph.xsd create mode 100644 interop/src/main/resources/importschema.xsd create mode 100644 interop/src/main/resources/insertdata-db2.ddl create mode 100644 interop/src/main/resources/insertdata-mysql.ddl create mode 100644 interop/src/main/resources/interop.wsdl create mode 100644 interop/src/main/resources/interop00-in.xml create mode 100644 interop/src/main/resources/interop00.xsd create mode 100644 interop/src/main/resources/interop01-in.xml create mode 100644 interop/src/main/resources/interop01.xsd create mode 100644 interop/src/main/resources/interop02-in.xml create mode 100644 interop/src/main/resources/interop02.xsd create mode 100644 interop/src/main/resources/interop03-in.xml create mode 100644 interop/src/main/resources/interop03.xsd create mode 100644 interop/src/main/resources/interop04-in.xml create mode 100644 interop/src/main/resources/interop04.xsd create mode 100644 interop/src/main/resources/interop05-in.xml create mode 100644 interop/src/main/resources/interop05.xsd create mode 100644 interop/src/main/resources/interop06-in.xml create mode 100644 interop/src/main/resources/interop06.xsd create mode 100644 interop/src/main/resources/interop07-in.xml create mode 100644 interop/src/main/resources/interop07.xsd create mode 100644 interop/src/main/resources/interop08-in.xml create mode 100644 interop/src/main/resources/interop08.xsd create mode 100644 interop/src/main/resources/interop09-in.xml create mode 100644 interop/src/main/resources/interop09.xsd create mode 100644 interop/src/main/resources/interop10-in.xml create mode 100644 interop/src/main/resources/interop10.xsd create mode 100644 interop/src/main/resources/interop11-in.xml create mode 100644 interop/src/main/resources/interop11.xsd create mode 100644 interop/src/main/resources/interop12-in.xml create mode 100644 interop/src/main/resources/interop12.xsd create mode 100644 interop/src/main/resources/interop13-in.xml create mode 100644 interop/src/main/resources/interop13.xsd create mode 100644 interop/src/main/resources/interop14-in.xml create mode 100644 interop/src/main/resources/interop14.xsd create mode 100644 interop/src/main/resources/interop15-in.xml create mode 100644 interop/src/main/resources/interop15.xsd create mode 100644 interop/src/main/resources/interop16-in.xml create mode 100644 interop/src/main/resources/interop16.xsd create mode 100644 interop/src/main/resources/interop17-in.xml create mode 100644 interop/src/main/resources/interop17.xsd create mode 100644 interop/src/main/resources/interop18-in.xml create mode 100644 interop/src/main/resources/interop18.xsd create mode 100644 interop/src/main/resources/interop19-in.xml create mode 100644 interop/src/main/resources/interop19.xsd create mode 100644 interop/src/main/resources/interop20-in.xml create mode 100644 interop/src/main/resources/interop20.xsd create mode 100644 interop/src/main/resources/interop21-in.xml create mode 100644 interop/src/main/resources/interop21.xsd create mode 100644 interop/src/main/resources/interop22-in.xml create mode 100644 interop/src/main/resources/interop22.xsd create mode 100644 interop/src/main/resources/interop23-in.xml create mode 100644 interop/src/main/resources/interop23.xsd create mode 100644 interop/src/main/resources/interop24-in.xml create mode 100644 interop/src/main/resources/interop24.xsd create mode 100644 interop/src/main/resources/interop25-in.xml create mode 100644 interop/src/main/resources/interop25.xsd create mode 100644 interop/src/main/resources/interop26-in.xml create mode 100644 interop/src/main/resources/interop26.xsd create mode 100644 interop/src/main/resources/interop27-in.xml create mode 100644 interop/src/main/resources/interop27.xsd create mode 100644 interop/src/main/resources/interop28-in.xml create mode 100644 interop/src/main/resources/interop28.xsd create mode 100644 interop/src/main/resources/interop29-in.xml create mode 100644 interop/src/main/resources/interop29.xsd create mode 100644 interop/src/main/resources/interop30-in.xml create mode 100644 interop/src/main/resources/interop30.xsd create mode 100644 interop/src/main/resources/interop31-in.xml create mode 100644 interop/src/main/resources/interop31.xsd create mode 100644 interop/src/main/resources/interop32-in.xml create mode 100644 interop/src/main/resources/interop32.xsd create mode 100644 interop/src/main/resources/interop33-in.xml create mode 100644 interop/src/main/resources/interop33.xsd create mode 100644 interop/src/main/resources/interop34-in.xml create mode 100644 interop/src/main/resources/interop34.xsd create mode 100644 interop/src/main/resources/interop35-in.xml create mode 100644 interop/src/main/resources/interop35.xsd create mode 100644 interop/src/main/resources/interop36-in.xml create mode 100644 interop/src/main/resources/interop36.xsd create mode 100644 interop/src/main/resources/interop37-in.xml create mode 100644 interop/src/main/resources/interop37.xsd create mode 100644 interop/src/main/resources/interop38-in.xml create mode 100644 interop/src/main/resources/interop38.xsd create mode 100644 interop/src/main/resources/interop39-in.xml create mode 100644 interop/src/main/resources/interop39.xsd create mode 100644 interop/src/main/resources/interop40-in.xml create mode 100644 interop/src/main/resources/interop40.xsd create mode 100644 interop/src/main/resources/interop41-in.xml create mode 100644 interop/src/main/resources/interop41.xsd create mode 100644 interop/src/main/resources/interop42-in.xml create mode 100644 interop/src/main/resources/interop42.xsd create mode 100644 interop/src/main/resources/interop43-in.xml create mode 100644 interop/src/main/resources/interop43.xsd create mode 100644 interop/src/main/resources/interop44-in.xml create mode 100644 interop/src/main/resources/interop44.xsd create mode 100644 interop/src/main/resources/interop45-in.xml create mode 100644 interop/src/main/resources/interop45.xsd create mode 100644 interop/src/main/resources/interop46-in.xml create mode 100644 interop/src/main/resources/interop46.xsd create mode 100644 interop/src/main/resources/interop47-in.xml create mode 100644 interop/src/main/resources/interop47.xsd create mode 100644 interop/src/main/resources/interop50-in.xml create mode 100644 interop/src/main/resources/interop50.xsd create mode 100644 interop/src/main/resources/sdoJava.xsd create mode 100644 interop/src/main/resources/sdoModel.xsd (limited to 'interop') diff --git a/interop/src/main/resources/README.txt b/interop/src/main/resources/README.txt new file mode 100644 index 0000000000..4d274ee5e4 --- /dev/null +++ b/interop/src/main/resources/README.txt @@ -0,0 +1,198 @@ +SDO Interoperability Testing +============================ + +Current SDO Implementations +--------------------------- +Java - M1 +C++ - M1 +PHP - v1.0.1 + +Features +-------- +There are various approaches to getting data in and out of SDO and various levels of +support for these approaches across the current SDO implementations: + +Feature Java C++ PHP +....... .... ... ... +XML (DAS) Y Y Y +RDB DAS Y N Y +Serialize to/from WS Y (1) Y (1) N +Serialize to/from session Via java serialize? N via serialize() + +(1) - SDO->XMLHelper->String->Axiom + +Given these features there are a number of basic but useful tests to demonstrate that +SDO implementations can interoperate to a reasonable degree + +Tests +----- + +# Test Java C++ PHP +. .... .... ... ... +1 XML->SDO-XML Y Y Y +2 XML->SDO->AddData->XML - Dynamic Y Y Y +3 XML->SDO->AddData->XML - Generated Y Not Supported Y (By Name/By Index) +4 XSD->SDO-XSD Not Supported Y Only supported via serialize +5 RDB->SDO->AddData->RDB - Dynamic Y Not Supported Y +6 RDB->SDO->AddData->RDB - Generated Y Not Supported Y +7 XML->SDO->Axiom->SOAP->Axiom->SDO->XML Y Y Not Supported +8 XML->SDO->Session->SDO->XML Via java serializable? N Stores SDO state (XML+XSD) in PHP session + +Test 1 +------ + +The test involved reading and XML file and writing it out again. The output should be compared with the input for change. The test convers all of the XML +schema features that SDO is expected to support. Each feature is described in a separate XSD as shown below. Input XML files include the test number (#) +using the following pattern: interop#-in.xml. + +Feature XSD +....... ... +xsd interop1.xsd +xsd interop2.xsd +With target namespace interop3.xsd +Without target namespace interop4.xsd +With sdoJava``:package interop5.xsd +Global Element of simple type interop6.xsd +Global Element of complex type interop7.xsd +Element of simple type see interop10.xsd +Element of complex type see interop19.xsd +Annotation interop8.xsd +Notation interop9.xsd +SimpleTypeWithName interop10.xsd +SimpleTypeAnonymous interop11.xsd +Element Ref interop11.xsd +SimpleTypeWithSDOName interop12.xsd +SimpleTypeWithAbstract interop13.xsd +SimpleTypeWithInstanceClass interop14.xsd +SimpleTypeWithExtendedInstanceClass interop15.xsd +SimpleTypeWithList interop16.xsd +SimpleTypeWithUnion interop17.xsd +ComplexTypeNoContent interop18.xsd +ComplexTypeContent interop19.xsd +ComplexTypeAnonymous interop20.xsd +ComplexTypeWithSDOName interop21.xsd +ComplexTypeWithAbstract interop22.xsd +ComplexTypeWithSDOAliasName interop23.xsd +ComplexTypeExtendingComplexType interop24.xsd +ComplexTypeExtendingSimpeType interop25.xsd +ComplexTypeComplexContentRestrictingComplexType interop26.xsd +ComplexTypeSimpleContentRestrictingComplexType interop27.xsd +ComplexTypeWithMixed interop28.xsd +ComplexTypeWithSDOSequence interop29.xsd +ComplexTypeOpenContent interop30.xsd +ComplexTypeOpenAttributes interop31.xsd +ComplexTypeOppositeProperty interop32.xsd +Attribute interop33.xsd +AttributeWithSDOName interop33.xsd +AttributeWithSDOAliasName interop33.xsd +AttributeWithDefaultValue interop33.xsd +AttributeWithFixedValue interop33.xsd +AttributeReference interop33.xsd +Global Attribute interop33.xsd +AttributeWithSDOString interop33.xsd +AttributeWithSDOPropertyType interop33.xsd +AttributeWithSDOPropertySDOOppositePropertyType interop33.xsd +AttributeWithSDODataType interop33.xsd +ElementWithSDOName interop34.xsd +ElementWithSDOAliasName interop35.xsd +ElementWithMaxOccurs interop36.xsd +Element in sequence see interop10.xsd +ElementInChoice interop37.xsd +ElementInAll interop38.xsd +ElementWithNillable interop39.xsd +ElementSubstitutionGroupBase interop40.xsd +ElementOfSimpleTypeWithDefault interop41.xsd +ElementOfSimpleTypeWithFixed interop42.xsd +ElementOfSimpleTypeWithSDOString interop43.xsd +ElementOfSimpleTypeWithSDOPropertyType interop44.xsd +ElementOfSimpleTypeWithSDOOppositePropertyType interop45.xsd +ElementOfSimpleTypeWithSDODataType interop46.xsd +ElementOfSDOChangeSummaryType interop47.xsd +anySimpleType interop50.xsd +anyType interop50.xsd +anyURI interop50.xsd +base64Binary interop50.xsd +boolean interop50.xsd +byte interop50.xsd +date interop50.xsd +dateTime interop50.xsd +decimal interop50.xsd +double interop50.xsd +duration interop50.xsd +float interop50.xsd +gDay interop50.xsd +gMonth interop50.xsd +gMonthDay interop50.xsd +gYear interop50.xsd +gYearMonth interop50.xsd +hexBinary interop50.xsd +ID interop50.xsd +IDREF interop50.xsd +IDREFS interop50.xsd +int interop50.xsd +integer interop50.xsd +language interop50.xsd +long interop50.xsd +Name interop50.xsd +NCName interop50.xsd +negativeInteger interop50.xsd +NMTOKEN interop50.xsd +NMTOKENS interop50.xsd +nonNegativeInteger interop50.xsd +nonPositiveInteger interop50.xsd +normalizedString interop50.xsd +NOTATION interop50.xsd +positiveInteger interop50.xsd +QName interop50.xsd +short interop50.xsd +string interop50.xsd +time interop50.xsd +token interop50.xsd +unsignedByte interop50.xsd +unsignedInt interop50.xsd +unsignedLong interop50.xsd +unsignedShort interop50.xsd +ENTITIES TBD +ENTITY TBD + + +Test 2 +------ +TBD + +Test 3 +------ +Generated interfaces are currently only supported in Java so no testing is defined. + +Test 4 +------ +This is only supported by C++ currently so not testing is performed + +Test 5 +------ +The test checks that the row added to the database matches the previous row in the alltype table + +Loading schema and data into DB2: + +From command line within the DB2 environment (you can set the DB2 environment on windows by +starting the DB2 CLP and "quit"ing from the DB2 command prompt). + +db2 -tvf create-db2.ddl +db2 -tvf insertdata-db2.ddl + +Loading schema and data into MySQL + +mysql < createdb-mysql.ddl +mysql < insertdata-mysql.ddl + +Test 6 +------ +Generated interfaces are only supported in Java so no testing is defined. + +Test 7 +------ +TBD + +Test 8 +------ +There is no consistent format for serialization across the implementations currently so no testing is performed diff --git a/interop/src/main/resources/createdb-db2.ddl b/interop/src/main/resources/createdb-db2.ddl new file mode 100644 index 0000000000..b50a0a5c54 --- /dev/null +++ b/interop/src/main/resources/createdb-db2.ddl @@ -0,0 +1,80 @@ +-- +-- Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable. +-- +-- 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. +-- + +CREATE DATABASE INTEROP; +CONNECT TO INTEROP; + +------------------------------------------------ +-- DDL Statements for table "INTEROP"."ALLTYPES" +------------------------------------------------ + +-- in the following type list some are not valid DB2 types + +CREATE TABLE ALLTYPE ( +-- "ABIT" BIT, +-- "ATINYINT" TINYINT, +-- "ABOOLEAN" BOOLEAN, + "ASMALLINT" SMALLINT NOT NULL , +-- "AMEDIUMINT" MEDIUMINT, + "AINTEGER" INTEGER, + "ABIGINT" BIGINT, + "AFLOAT" FLOAT, + "ADOUBLE" DOUBLE, + "ADOUBLEPRECISION" DOUBLE PRECISION, + "AREAL" REAL, + "ADECIMAL" DECIMAL, + "ADATE" DATE, +-- "ADATETIME" DATETIME, + "ATIMESTAMP" TIMESTAMP, + "ATIME" TIME, +-- "AYEAR" YEAR, + "ACHAR" CHAR, + "AVARCHAR" VARCHAR(14), + "PARENTID" SMALLINT ) + IN "USERSPACE1" ; + +ALTER TABLE ALLTYPE + ADD PRIMARY KEY + ("ASMALLINT"); + +----------------------------------------------------- +-- DDL Statements for table "INTEROP"."ALLTYPEPARENT" +----------------------------------------------------- + +CREATE TABLE ALLTYPEPARENT ( + "PARENTID" SMALLINT NOT NULL , + "DESCRIPTION" VARCHAR(14)) + IN "USERSPACE1" ; + +ALTER TABLE ALLTYPEPARENT + ADD PRIMARY KEY + ("PARENTID"); + +------------------------------------------------ +-- Referential Integrity +------------------------------------------------ + +ALTER TABLE ALLTYPE + ADD CONSTRAINT "PARENTFK" FOREIGN KEY ("PARENTID") + REFERENCES ALLTYPEPARENT ("PARENTID") + ON DELETE SET NULL + ON UPDATE NO ACTION + ENFORCED + ENABLE QUERY OPTIMIZATION; + +COMMIT WORK; +CONNECT RESET; +TERMINATE; diff --git a/interop/src/main/resources/createdb-mysql.ddl b/interop/src/main/resources/createdb-mysql.ddl new file mode 100644 index 0000000000..de40d836f9 --- /dev/null +++ b/interop/src/main/resources/createdb-mysql.ddl @@ -0,0 +1,54 @@ +-- +-- Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable. +-- +-- 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. +-- + +CREATE DATABASE INTEROP; +USE INTEROP; + +------------------------------------------------ +-- DDL Statements for table "INTEROP"."ALLTYPES" +------------------------------------------------ + +CREATE TABLE ALLTYPE ( + ABIT BIT, + ATINYINT TINYINT, + ABOOLEAN BOOLEAN, + ASMALLINT SMALLINT NOT NULL , + AMEDIUMINT MEDIUMINT, + AINTEGER INTEGER, + ABIGINT BIGINT, + AFLOAT FLOAT, + ADOUBLE DOUBLE, + ADOUBLEPRECISION DOUBLE PRECISION, + AREAL REAL, + ADECIMAL DECIMAL, + ADATE DATE, + ADATETIME DATETIME, + ATIMESTAMP TIMESTAMP, + ATIME TIME, + AYEAR YEAR, + ACHAR CHAR, + AVARCHAR VARCHAR(14), + PARENTID SMALLINT ) ; + +----------------------------------------------------- +-- DDL Statements for table "INTEROP"."ALLTYPEPARENT" +----------------------------------------------------- + +CREATE TABLE ALLTYPEPARENT ( + PARENTID SMALLINT NOT NULL , + DESCRIPTION VARCHAR(14)); + + diff --git a/interop/src/main/resources/datagraph.xsd b/interop/src/main/resources/datagraph.xsd new file mode 100644 index 0000000000..96cf188f19 --- /dev/null +++ b/interop/src/main/resources/datagraph.xsd @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Expected type is emof:Package. + + + + + + + + + + + Expected type is xsd:schema. + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/importschema.xsd b/interop/src/main/resources/importschema.xsd new file mode 100644 index 0000000000..d1ec2a80d5 --- /dev/null +++ b/interop/src/main/resources/importschema.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/interop/src/main/resources/insertdata-db2.ddl b/interop/src/main/resources/insertdata-db2.ddl new file mode 100644 index 0000000000..4fb92622fa --- /dev/null +++ b/interop/src/main/resources/insertdata-db2.ddl @@ -0,0 +1,82 @@ +-- +-- Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable. +-- +-- 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. +-- + +CONNECT TO INTEROP; + +DELETE FROM ALLTYPE; +DELETE FROM ALLTYPEPARENT; + +------------------------------------------------ +-- Add data to table "INTEROP"."ALLTYPEPARENT" +------------------------------------------------ +INSERT INTO ALLTYPEPARENT VALUES ( + 1, + 'THE PARENT' ); + +------------------------------------------------ +-- Add data to table "INTEROP"."ALLTYPE" +------------------------------------------------ +-- The following types are considered but some are not valid DB2 types +-- ABIT BIT, +-- ATINYINT TINYINT, +-- ABOOLEAN BOOLEAN, +-- ASMALLINT SMALLINT NOT NULL , +-- AMEDIUMINT MEDIUMINT, +-- AINTEGER INTEGER, +-- ABIGINT BIGINT, +-- AFLOAT FLOAT, +-- ADOUBLE DOUBLE, +-- ADOUBLEPRECISION DOUBLE, +-- AREAL REAL, +-- ADECIMAL DECIMAL, +-- ADATE DATE, +-- ADATETIME DATETIME, +-- ATIMESTAMP TIMESTAMP, +-- ATIME TIME, +-- AYEAR YEAR, +-- ACHAR CHAR, +-- AVARCHAR VARCHAR(14) +-- FK reference to parent + +INSERT INTO ALLTYPE VALUES ( +-- 1, +-- 2, +-- 1, + 1, +-- 4, + 5, + 6, + 1.23, + 4.56, + 7.89, + 0.12, + 123, + '2006-06-11', +-- '2006-06-11 12:47:00', + '2006-06-11 12:47:00', + '12:47:00', +-- 2006, + 'A', + 'INIT DATA', + 1 ); + + + + + +COMMIT WORK; +CONNECT RESET; +TERMINATE; diff --git a/interop/src/main/resources/insertdata-mysql.ddl b/interop/src/main/resources/insertdata-mysql.ddl new file mode 100644 index 0000000000..c6e99e18c5 --- /dev/null +++ b/interop/src/main/resources/insertdata-mysql.ddl @@ -0,0 +1,76 @@ +-- +-- Copyright (c) 2006 The Apache Software Foundation or its licensors, as applicable. +-- +-- 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. +-- + +USE INTEROP; + +DELETE FROM ALLTYPE; +DELETE FROM ALLTYPEPARENT; + +------------------------------------------------ +-- Add data to table "INTEROP"."ALLTYPEPARENT" +------------------------------------------------ +INSERT INTO ALLTYPEPARENT VALUES ( + 1, + 'THE PARENT' ); + +------------------------------------------------ +-- Add data to table "INTEROP"."ALLTYPE" +------------------------------------------------ +-- ABIT BIT, +-- ATINYINT TINYINT, +-- ABOOLEAN BOOLEAN, +-- ASMALLINT SMALLINT NOT NULL , +-- AMEDIUMINT MEDIUMINT, +-- AINTEGER INTEGER, +-- ABIGINT BIGINT, +-- AFLOAT FLOAT, +-- ADOUBLE DOUBLE, +-- ADOUBLEPRECISION DOUBLE, +-- AREAL REAL, +-- ADECIMAL DECIMAL, +-- ADATE DATE, +-- ADATETIME DATETIME, +-- ATIMESTAMP TIMESTAMP, +-- ATIME TIME, +-- AYEAR YEAR, +-- ACHAR CHAR, +-- AVARCHAR VARCHAR(14) + +INSERT INTO ALLTYPE VALUES ( 1, + 2, + 1, + 1, + 4, + 5, + 6, + 1.23, + 4.56, + 7.89, + 0.12, + 123, + '2006-06-11', + '2006-06-11 12:47:00', + NULL, + '12:47:00', + 2006, + 'A', + 'INIT DATA', + 1 ); + + + + + diff --git a/interop/src/main/resources/interop.wsdl b/interop/src/main/resources/interop.wsdl new file mode 100644 index 0000000000..adeef938eb --- /dev/null +++ b/interop/src/main/resources/interop.wsdl @@ -0,0 +1,1814 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop00-in.xml b/interop/src/main/resources/interop00-in.xml new file mode 100644 index 0000000000..43d57c37e3 --- /dev/null +++ b/interop/src/main/resources/interop00-in.xml @@ -0,0 +1,128 @@ + + + + SimpleTypeWithName + tns:SimpleTypeAnonymous + SimpleTypeWithSDOName + SimpleTypeWithInstanceClass + SimpleTypeWithExtendedInstanceClass + + + SimpleTypeWithName + + + SimpleTypeWithName + + + SimpleTypeWithName + + + SimpleTypeWithName + + + SimpleTypeWithName + SimpleTypeWithNameExtended + + ComplexTypeExtendingSimpeType + + SimpleTypeWithName + + ComplexTypeSimpleContentRestrictingComplexType + + SimpleTypeWithName + + + SimpleTypeWithName + + + + ElementInSubstitutionGroupBase + ElementInSubstitutionGroupExtends + + + + SimpleTypeWithName + + + + ElementWithSDOName + ElementWithSDOAliasName + ElementWithMaxOccurs + ElementInChoice + + ElementInAllOne + ElementInAllTwo + + + + ElementInSubstitutionGroupBase + ElementInSubstitutionGroupExtends + + ElementOfSimpleTypeWithDefaultDefault + ElementOfSimpleTypeWithFixedFixed + ElementOfSimpleTypeWithSDOString + idvalue0 + idvalue0 + ElementOfSimpleTypeWithSDODataType + + + ChangeSummaryText + + + anySimpleType + AnyTypeString + http://tempuri.org + ABCD + true + 0 + 2001-01-01 + 2001-12-31T12:00:00 + 0.0 + 0.0 + P1D + 0.0 + ---01 + --01-- + --01-01 + 2001 + 2001-01 + 0F00 + idvalue0 + idvalue0 + idvalue0 + 0 + 0 + EN + 0 + Name + NCName + -1 + NMTOKEN + NMTOKENS + 0 + 0 + normalizedString + tns:SDOInteropTestingSchema1 + 1 + QName + 0 + string + + token + 0 + 0 + 0 + 0 + diff --git a/interop/src/main/resources/interop00.xsd b/interop/src/main/resources/interop00.xsd new file mode 100644 index 0000000000..313375b171 --- /dev/null +++ b/interop/src/main/resources/interop00.xsd @@ -0,0 +1,309 @@ + + + + + + + SDO 2.0.1 + + A schema that includes many of the types described in the SDO sepcification + futher schemas appear in this series that contain schema constructs that + are mutually exclusive to the constructs contained in this file or that + are particular to specific language implementations of SDO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop01-in.xml b/interop/src/main/resources/interop01-in.xml new file mode 100644 index 0000000000..942b844f2a --- /dev/null +++ b/interop/src/main/resources/interop01-in.xml @@ -0,0 +1,22 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop01.xsd b/interop/src/main/resources/interop01.xsd new file mode 100644 index 0000000000..6c8750b6e4 --- /dev/null +++ b/interop/src/main/resources/interop01.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop02-in.xml b/interop/src/main/resources/interop02-in.xml new file mode 100644 index 0000000000..56cac650fe --- /dev/null +++ b/interop/src/main/resources/interop02-in.xml @@ -0,0 +1,27 @@ + + + + + SimpleTypeWithName + + SomeString + SomeString + + diff --git a/interop/src/main/resources/interop02.xsd b/interop/src/main/resources/interop02.xsd new file mode 100644 index 0000000000..29e3a5fd5d --- /dev/null +++ b/interop/src/main/resources/interop02.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop03-in.xml b/interop/src/main/resources/interop03-in.xml new file mode 100644 index 0000000000..ea2630294a --- /dev/null +++ b/interop/src/main/resources/interop03-in.xml @@ -0,0 +1,22 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop03.xsd b/interop/src/main/resources/interop03.xsd new file mode 100644 index 0000000000..93026dede0 --- /dev/null +++ b/interop/src/main/resources/interop03.xsd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop04-in.xml b/interop/src/main/resources/interop04-in.xml new file mode 100644 index 0000000000..68684c9716 --- /dev/null +++ b/interop/src/main/resources/interop04-in.xml @@ -0,0 +1,20 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop04.xsd b/interop/src/main/resources/interop04.xsd new file mode 100644 index 0000000000..231500873c --- /dev/null +++ b/interop/src/main/resources/interop04.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop05-in.xml b/interop/src/main/resources/interop05-in.xml new file mode 100644 index 0000000000..a9bfaaf14f --- /dev/null +++ b/interop/src/main/resources/interop05-in.xml @@ -0,0 +1,22 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop05.xsd b/interop/src/main/resources/interop05.xsd new file mode 100644 index 0000000000..e62a48c9d3 --- /dev/null +++ b/interop/src/main/resources/interop05.xsd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop06-in.xml b/interop/src/main/resources/interop06-in.xml new file mode 100644 index 0000000000..1db9269e0e --- /dev/null +++ b/interop/src/main/resources/interop06-in.xml @@ -0,0 +1,21 @@ + + + + RootElement6 + diff --git a/interop/src/main/resources/interop06.xsd b/interop/src/main/resources/interop06.xsd new file mode 100644 index 0000000000..5435acfeaf --- /dev/null +++ b/interop/src/main/resources/interop06.xsd @@ -0,0 +1,23 @@ + + + + + + + diff --git a/interop/src/main/resources/interop07-in.xml b/interop/src/main/resources/interop07-in.xml new file mode 100644 index 0000000000..419dc88d3c --- /dev/null +++ b/interop/src/main/resources/interop07-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop07.xsd b/interop/src/main/resources/interop07.xsd new file mode 100644 index 0000000000..2f13b42162 --- /dev/null +++ b/interop/src/main/resources/interop07.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop08-in.xml b/interop/src/main/resources/interop08-in.xml new file mode 100644 index 0000000000..9f2da715c4 --- /dev/null +++ b/interop/src/main/resources/interop08-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop08.xsd b/interop/src/main/resources/interop08.xsd new file mode 100644 index 0000000000..8450a232f7 --- /dev/null +++ b/interop/src/main/resources/interop08.xsd @@ -0,0 +1,35 @@ + + + + + + SDO 2.0.1 + + A schema that tests the presence of annotations in schema read by SDO + + + + + + + + + + + diff --git a/interop/src/main/resources/interop09-in.xml b/interop/src/main/resources/interop09-in.xml new file mode 100644 index 0000000000..2714fc13f5 --- /dev/null +++ b/interop/src/main/resources/interop09-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop09.xsd b/interop/src/main/resources/interop09.xsd new file mode 100644 index 0000000000..6a2446bb20 --- /dev/null +++ b/interop/src/main/resources/interop09.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop10-in.xml b/interop/src/main/resources/interop10-in.xml new file mode 100644 index 0000000000..4bc33e7754 --- /dev/null +++ b/interop/src/main/resources/interop10-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithName + diff --git a/interop/src/main/resources/interop10.xsd b/interop/src/main/resources/interop10.xsd new file mode 100644 index 0000000000..fca5e4f45d --- /dev/null +++ b/interop/src/main/resources/interop10.xsd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop11-in.xml b/interop/src/main/resources/interop11-in.xml new file mode 100644 index 0000000000..b63e0446ed --- /dev/null +++ b/interop/src/main/resources/interop11-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeAnonymous + + diff --git a/interop/src/main/resources/interop11.xsd b/interop/src/main/resources/interop11.xsd new file mode 100644 index 0000000000..b6871f1298 --- /dev/null +++ b/interop/src/main/resources/interop11.xsd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop12-in.xml b/interop/src/main/resources/interop12-in.xml new file mode 100644 index 0000000000..2b5519ccfd --- /dev/null +++ b/interop/src/main/resources/interop12-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithSDOName + diff --git a/interop/src/main/resources/interop12.xsd b/interop/src/main/resources/interop12.xsd new file mode 100644 index 0000000000..1d973b5ebe --- /dev/null +++ b/interop/src/main/resources/interop12.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop13-in.xml b/interop/src/main/resources/interop13-in.xml new file mode 100644 index 0000000000..16b8734e70 --- /dev/null +++ b/interop/src/main/resources/interop13-in.xml @@ -0,0 +1,21 @@ + + + + SimpleTypeWithAbstractBase + diff --git a/interop/src/main/resources/interop13.xsd b/interop/src/main/resources/interop13.xsd new file mode 100644 index 0000000000..cddca36f0e --- /dev/null +++ b/interop/src/main/resources/interop13.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop14-in.xml b/interop/src/main/resources/interop14-in.xml new file mode 100644 index 0000000000..9c04436fac --- /dev/null +++ b/interop/src/main/resources/interop14-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithInstanceClass + + diff --git a/interop/src/main/resources/interop14.xsd b/interop/src/main/resources/interop14.xsd new file mode 100644 index 0000000000..1b765557fc --- /dev/null +++ b/interop/src/main/resources/interop14.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop15-in.xml b/interop/src/main/resources/interop15-in.xml new file mode 100644 index 0000000000..7a002b6625 --- /dev/null +++ b/interop/src/main/resources/interop15-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithExtendedInstanceClass + + diff --git a/interop/src/main/resources/interop15.xsd b/interop/src/main/resources/interop15.xsd new file mode 100644 index 0000000000..d030cd0651 --- /dev/null +++ b/interop/src/main/resources/interop15.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop16-in.xml b/interop/src/main/resources/interop16-in.xml new file mode 100644 index 0000000000..da4324d840 --- /dev/null +++ b/interop/src/main/resources/interop16-in.xml @@ -0,0 +1,23 @@ + + + + + listmember1 listmember2 + + diff --git a/interop/src/main/resources/interop16.xsd b/interop/src/main/resources/interop16.xsd new file mode 100644 index 0000000000..45fce091fc --- /dev/null +++ b/interop/src/main/resources/interop16.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop17-in.xml b/interop/src/main/resources/interop17-in.xml new file mode 100644 index 0000000000..d3b54f9a6b --- /dev/null +++ b/interop/src/main/resources/interop17-in.xml @@ -0,0 +1,22 @@ + + + + EN + 01:02:03 + diff --git a/interop/src/main/resources/interop17.xsd b/interop/src/main/resources/interop17.xsd new file mode 100644 index 0000000000..54258a032a --- /dev/null +++ b/interop/src/main/resources/interop17.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop18-in.xml b/interop/src/main/resources/interop18-in.xml new file mode 100644 index 0000000000..53922e9399 --- /dev/null +++ b/interop/src/main/resources/interop18-in.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/interop/src/main/resources/interop18.xsd b/interop/src/main/resources/interop18.xsd new file mode 100644 index 0000000000..e00fad89f6 --- /dev/null +++ b/interop/src/main/resources/interop18.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop19-in.xml b/interop/src/main/resources/interop19-in.xml new file mode 100644 index 0000000000..8892d060d1 --- /dev/null +++ b/interop/src/main/resources/interop19-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/interop/src/main/resources/interop19.xsd b/interop/src/main/resources/interop19.xsd new file mode 100644 index 0000000000..3d0ef9cae1 --- /dev/null +++ b/interop/src/main/resources/interop19.xsd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop20-in.xml b/interop/src/main/resources/interop20-in.xml new file mode 100644 index 0000000000..24f1243037 --- /dev/null +++ b/interop/src/main/resources/interop20-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/interop/src/main/resources/interop20.xsd b/interop/src/main/resources/interop20.xsd new file mode 100644 index 0000000000..2f8a43a1ae --- /dev/null +++ b/interop/src/main/resources/interop20.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop21-in.xml b/interop/src/main/resources/interop21-in.xml new file mode 100644 index 0000000000..d816badf8b --- /dev/null +++ b/interop/src/main/resources/interop21-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/interop/src/main/resources/interop21.xsd b/interop/src/main/resources/interop21.xsd new file mode 100644 index 0000000000..4a92ba8263 --- /dev/null +++ b/interop/src/main/resources/interop21.xsd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop22-in.xml b/interop/src/main/resources/interop22-in.xml new file mode 100644 index 0000000000..0611f59947 --- /dev/null +++ b/interop/src/main/resources/interop22-in.xml @@ -0,0 +1,24 @@ + + + + + BaseElement + ExtensionElement + + diff --git a/interop/src/main/resources/interop22.xsd b/interop/src/main/resources/interop22.xsd new file mode 100644 index 0000000000..ce9ff4bc9e --- /dev/null +++ b/interop/src/main/resources/interop22.xsd @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop23-in.xml b/interop/src/main/resources/interop23-in.xml new file mode 100644 index 0000000000..ac92683bcc --- /dev/null +++ b/interop/src/main/resources/interop23-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/interop/src/main/resources/interop23.xsd b/interop/src/main/resources/interop23.xsd new file mode 100644 index 0000000000..115b5133a1 --- /dev/null +++ b/interop/src/main/resources/interop23.xsd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop24-in.xml b/interop/src/main/resources/interop24-in.xml new file mode 100644 index 0000000000..0515e48753 --- /dev/null +++ b/interop/src/main/resources/interop24-in.xml @@ -0,0 +1,24 @@ + + + + + SimpleTypeWithName + SimpleTypeWithNameExtended + + diff --git a/interop/src/main/resources/interop24.xsd b/interop/src/main/resources/interop24.xsd new file mode 100644 index 0000000000..bffea60f39 --- /dev/null +++ b/interop/src/main/resources/interop24.xsd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop25-in.xml b/interop/src/main/resources/interop25-in.xml new file mode 100644 index 0000000000..b2cab7066c --- /dev/null +++ b/interop/src/main/resources/interop25-in.xml @@ -0,0 +1,23 @@ + + + + + ComplexTypeExtendingSimpeType + + diff --git a/interop/src/main/resources/interop25.xsd b/interop/src/main/resources/interop25.xsd new file mode 100644 index 0000000000..e708d6ec44 --- /dev/null +++ b/interop/src/main/resources/interop25.xsd @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop26-in.xml b/interop/src/main/resources/interop26-in.xml new file mode 100644 index 0000000000..0c532e129c --- /dev/null +++ b/interop/src/main/resources/interop26-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/interop/src/main/resources/interop26.xsd b/interop/src/main/resources/interop26.xsd new file mode 100644 index 0000000000..e152af7e66 --- /dev/null +++ b/interop/src/main/resources/interop26.xsd @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop27-in.xml b/interop/src/main/resources/interop27-in.xml new file mode 100644 index 0000000000..76379014df --- /dev/null +++ b/interop/src/main/resources/interop27-in.xml @@ -0,0 +1,23 @@ + + + + + ComplexTypeSimpleContentRestrictingComplexType + + diff --git a/interop/src/main/resources/interop27.xsd b/interop/src/main/resources/interop27.xsd new file mode 100644 index 0000000000..ffdf7ef9ea --- /dev/null +++ b/interop/src/main/resources/interop27.xsd @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop28-in.xml b/interop/src/main/resources/interop28-in.xml new file mode 100644 index 0000000000..5dd89e467f --- /dev/null +++ b/interop/src/main/resources/interop28-in.xml @@ -0,0 +1,26 @@ + + + + + Some + Mixed + SimpleTypeWithName + Content + + diff --git a/interop/src/main/resources/interop28.xsd b/interop/src/main/resources/interop28.xsd new file mode 100644 index 0000000000..4fc99b94d3 --- /dev/null +++ b/interop/src/main/resources/interop28.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop29-in.xml b/interop/src/main/resources/interop29-in.xml new file mode 100644 index 0000000000..e0345014ba --- /dev/null +++ b/interop/src/main/resources/interop29-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/interop/src/main/resources/interop29.xsd b/interop/src/main/resources/interop29.xsd new file mode 100644 index 0000000000..0a3fb49704 --- /dev/null +++ b/interop/src/main/resources/interop29.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop30-in.xml b/interop/src/main/resources/interop30-in.xml new file mode 100644 index 0000000000..375e906556 --- /dev/null +++ b/interop/src/main/resources/interop30-in.xml @@ -0,0 +1,28 @@ + + + + + + Some + Mixed + SimpleTypeWithName + Content + + + diff --git a/interop/src/main/resources/interop30.xsd b/interop/src/main/resources/interop30.xsd new file mode 100644 index 0000000000..0342ba2717 --- /dev/null +++ b/interop/src/main/resources/interop30.xsd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop31-in.xml b/interop/src/main/resources/interop31-in.xml new file mode 100644 index 0000000000..3e5db0d560 --- /dev/null +++ b/interop/src/main/resources/interop31-in.xml @@ -0,0 +1,23 @@ + + + + + SimpleTypeWithName + + diff --git a/interop/src/main/resources/interop31.xsd b/interop/src/main/resources/interop31.xsd new file mode 100644 index 0000000000..dfdbf2ee70 --- /dev/null +++ b/interop/src/main/resources/interop31.xsd @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop32-in.xml b/interop/src/main/resources/interop32-in.xml new file mode 100644 index 0000000000..e192281d13 --- /dev/null +++ b/interop/src/main/resources/interop32-in.xml @@ -0,0 +1,32 @@ + + + + + + some data string + + + + idvalue2 + + + + diff --git a/interop/src/main/resources/interop32.xsd b/interop/src/main/resources/interop32.xsd new file mode 100644 index 0000000000..d1cd890a0c --- /dev/null +++ b/interop/src/main/resources/interop32.xsd @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop33-in.xml b/interop/src/main/resources/interop33-in.xml new file mode 100644 index 0000000000..5f59fdb3f2 --- /dev/null +++ b/interop/src/main/resources/interop33-in.xml @@ -0,0 +1,31 @@ + + + + + + diff --git a/interop/src/main/resources/interop33.xsd b/interop/src/main/resources/interop33.xsd new file mode 100644 index 0000000000..da3f816d85 --- /dev/null +++ b/interop/src/main/resources/interop33.xsd @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop34-in.xml b/interop/src/main/resources/interop34-in.xml new file mode 100644 index 0000000000..eaf966ab28 --- /dev/null +++ b/interop/src/main/resources/interop34-in.xml @@ -0,0 +1,21 @@ + + + + ElementWithSDOName + diff --git a/interop/src/main/resources/interop34.xsd b/interop/src/main/resources/interop34.xsd new file mode 100644 index 0000000000..99546ba3d2 --- /dev/null +++ b/interop/src/main/resources/interop34.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop35-in.xml b/interop/src/main/resources/interop35-in.xml new file mode 100644 index 0000000000..f05a841425 --- /dev/null +++ b/interop/src/main/resources/interop35-in.xml @@ -0,0 +1,23 @@ + + + + + ElementWithSDOAliasName + + diff --git a/interop/src/main/resources/interop35.xsd b/interop/src/main/resources/interop35.xsd new file mode 100644 index 0000000000..481fc19866 --- /dev/null +++ b/interop/src/main/resources/interop35.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop36-in.xml b/interop/src/main/resources/interop36-in.xml new file mode 100644 index 0000000000..e23cfb787a --- /dev/null +++ b/interop/src/main/resources/interop36-in.xml @@ -0,0 +1,21 @@ + + + + ElementWithMaxOccurs + diff --git a/interop/src/main/resources/interop36.xsd b/interop/src/main/resources/interop36.xsd new file mode 100644 index 0000000000..8785574853 --- /dev/null +++ b/interop/src/main/resources/interop36.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop37-in.xml b/interop/src/main/resources/interop37-in.xml new file mode 100644 index 0000000000..b772523b74 --- /dev/null +++ b/interop/src/main/resources/interop37-in.xml @@ -0,0 +1,22 @@ + + + + Element1InChoice + Element2InChoice + diff --git a/interop/src/main/resources/interop37.xsd b/interop/src/main/resources/interop37.xsd new file mode 100644 index 0000000000..e47b8f5e2e --- /dev/null +++ b/interop/src/main/resources/interop37.xsd @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop38-in.xml b/interop/src/main/resources/interop38-in.xml new file mode 100644 index 0000000000..f3dc94b8f7 --- /dev/null +++ b/interop/src/main/resources/interop38-in.xml @@ -0,0 +1,24 @@ + + + + + ElementInAllOne + ElementInAllTwo + + diff --git a/interop/src/main/resources/interop38.xsd b/interop/src/main/resources/interop38.xsd new file mode 100644 index 0000000000..570b92d5c8 --- /dev/null +++ b/interop/src/main/resources/interop38.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop39-in.xml b/interop/src/main/resources/interop39-in.xml new file mode 100644 index 0000000000..666fae50c8 --- /dev/null +++ b/interop/src/main/resources/interop39-in.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/interop/src/main/resources/interop39.xsd b/interop/src/main/resources/interop39.xsd new file mode 100644 index 0000000000..7a9065d336 --- /dev/null +++ b/interop/src/main/resources/interop39.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop40-in.xml b/interop/src/main/resources/interop40-in.xml new file mode 100644 index 0000000000..2f7a3944a0 --- /dev/null +++ b/interop/src/main/resources/interop40-in.xml @@ -0,0 +1,39 @@ + + + + + + + ElementInSubstitutionGroupBase + + + + Some Data + + + + ElementInSubstitutionGroupBase + + + ElementInSubstitutionGroupExtends + + + + + diff --git a/interop/src/main/resources/interop40.xsd b/interop/src/main/resources/interop40.xsd new file mode 100644 index 0000000000..28fbeda8d9 --- /dev/null +++ b/interop/src/main/resources/interop40.xsd @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop41-in.xml b/interop/src/main/resources/interop41-in.xml new file mode 100644 index 0000000000..66420cb6f0 --- /dev/null +++ b/interop/src/main/resources/interop41-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithDefaultDefault + + diff --git a/interop/src/main/resources/interop41.xsd b/interop/src/main/resources/interop41.xsd new file mode 100644 index 0000000000..65e448c8f0 --- /dev/null +++ b/interop/src/main/resources/interop41.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop42-in.xml b/interop/src/main/resources/interop42-in.xml new file mode 100644 index 0000000000..4e6060a178 --- /dev/null +++ b/interop/src/main/resources/interop42-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithFixedFixed + + diff --git a/interop/src/main/resources/interop42.xsd b/interop/src/main/resources/interop42.xsd new file mode 100644 index 0000000000..1d7eb18f48 --- /dev/null +++ b/interop/src/main/resources/interop42.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop43-in.xml b/interop/src/main/resources/interop43-in.xml new file mode 100644 index 0000000000..fc96f5d246 --- /dev/null +++ b/interop/src/main/resources/interop43-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithSDOString + + diff --git a/interop/src/main/resources/interop43.xsd b/interop/src/main/resources/interop43.xsd new file mode 100644 index 0000000000..197efc6a42 --- /dev/null +++ b/interop/src/main/resources/interop43.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop44-in.xml b/interop/src/main/resources/interop44-in.xml new file mode 100644 index 0000000000..66a0cd9ca0 --- /dev/null +++ b/interop/src/main/resources/interop44-in.xml @@ -0,0 +1,23 @@ + + + + + idvalue0 + + diff --git a/interop/src/main/resources/interop44.xsd b/interop/src/main/resources/interop44.xsd new file mode 100644 index 0000000000..086415592e --- /dev/null +++ b/interop/src/main/resources/interop44.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop45-in.xml b/interop/src/main/resources/interop45-in.xml new file mode 100644 index 0000000000..e125501e9b --- /dev/null +++ b/interop/src/main/resources/interop45-in.xml @@ -0,0 +1,23 @@ + + + + + idvalue0 + + diff --git a/interop/src/main/resources/interop45.xsd b/interop/src/main/resources/interop45.xsd new file mode 100644 index 0000000000..52635ed145 --- /dev/null +++ b/interop/src/main/resources/interop45.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop46-in.xml b/interop/src/main/resources/interop46-in.xml new file mode 100644 index 0000000000..b14375ecfe --- /dev/null +++ b/interop/src/main/resources/interop46-in.xml @@ -0,0 +1,23 @@ + + + + + ElementOfSimpleTypeWithSDODataType + + diff --git a/interop/src/main/resources/interop46.xsd b/interop/src/main/resources/interop46.xsd new file mode 100644 index 0000000000..4ce8174a54 --- /dev/null +++ b/interop/src/main/resources/interop46.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop47-in.xml b/interop/src/main/resources/interop47-in.xml new file mode 100644 index 0000000000..4c9d66e28e --- /dev/null +++ b/interop/src/main/resources/interop47-in.xml @@ -0,0 +1,25 @@ + + + + + + ChangeSummaryText + + + diff --git a/interop/src/main/resources/interop47.xsd b/interop/src/main/resources/interop47.xsd new file mode 100644 index 0000000000..7ce2eea461 --- /dev/null +++ b/interop/src/main/resources/interop47.xsd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/interop50-in.xml b/interop/src/main/resources/interop50-in.xml new file mode 100644 index 0000000000..760e9c55a3 --- /dev/null +++ b/interop/src/main/resources/interop50-in.xml @@ -0,0 +1,78 @@ + + + + anySimpleType + AnyTypeString + http://tempuri.org + ABCD + true + false + 1 + 0 + 128 + -127 + 2001-01-01 + 2001-12-31T12:00:00 + -1.23456789 + 1.23456789 + 0.0 + 12.3E-4 + P1D + 0.0 + ---01 + --01-- + --01-01 + 2001 + 2001-01 + 0F00 + idvalue0 + idvalue0 + idvalue0 + -2147483648 + 2147483647 + -2147483648 + 2147483647 + EN + -9223372036854775808 + 9223372036854775807 + Name + NCName + -1 + NMTOKEN + NMTOKENS + 0 + 0 + normalizedString + tns:interop50 + 1 + QName + -32768 + 32767 + string + + token + 0 + 255 + 0 + 4294967295 + 0 + 18446744073709551615 + 0 + 65535 + diff --git a/interop/src/main/resources/interop50.xsd b/interop/src/main/resources/interop50.xsd new file mode 100644 index 0000000000..0330613381 --- /dev/null +++ b/interop/src/main/resources/interop50.xsd @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/sdoJava.xsd b/interop/src/main/resources/sdoJava.xsd new file mode 100644 index 0000000000..00a93dd406 --- /dev/null +++ b/interop/src/main/resources/sdoJava.xsd @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interop/src/main/resources/sdoModel.xsd b/interop/src/main/resources/sdoModel.xsd new file mode 100644 index 0000000000..7444d65378 --- /dev/null +++ b/interop/src/main/resources/sdoModel.xsd @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3