You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2006/06/26 15:44:27 UTC

svn commit: r417191 [1/3] - in /incubator/tuscany/interop/src: ./ main/ main/resources/

Author: antelder
Date: Mon Jun 26 06:44:23 2006
New Revision: 417191

URL: http://svn.apache.org/viewvc?rev=417191&view=rev
Log:
TUSCANY-495, commit patch from Simon Laws to add SDO interop resources

Added:
    incubator/tuscany/interop/src/
    incubator/tuscany/interop/src/main/
    incubator/tuscany/interop/src/main/resources/
    incubator/tuscany/interop/src/main/resources/README.txt
    incubator/tuscany/interop/src/main/resources/createdb-db2.ddl
    incubator/tuscany/interop/src/main/resources/createdb-mysql.ddl
    incubator/tuscany/interop/src/main/resources/insertdata-db2.ddl
    incubator/tuscany/interop/src/main/resources/insertdata-mysql.ddl
    incubator/tuscany/interop/src/main/resources/interop00-in.xml
    incubator/tuscany/interop/src/main/resources/interop00.xsd
    incubator/tuscany/interop/src/main/resources/interop01-in.xml
    incubator/tuscany/interop/src/main/resources/interop01.xsd
    incubator/tuscany/interop/src/main/resources/interop02-in.xml
    incubator/tuscany/interop/src/main/resources/interop02.xsd
    incubator/tuscany/interop/src/main/resources/interop03-in.xml
    incubator/tuscany/interop/src/main/resources/interop03.xsd
    incubator/tuscany/interop/src/main/resources/interop04-in.xml
    incubator/tuscany/interop/src/main/resources/interop04.xsd
    incubator/tuscany/interop/src/main/resources/interop05-in.xml
    incubator/tuscany/interop/src/main/resources/interop05.xsd
    incubator/tuscany/interop/src/main/resources/interop06-in.xml
    incubator/tuscany/interop/src/main/resources/interop06.xsd
    incubator/tuscany/interop/src/main/resources/interop07-in.xml
    incubator/tuscany/interop/src/main/resources/interop07.xsd
    incubator/tuscany/interop/src/main/resources/interop08-in.xml
    incubator/tuscany/interop/src/main/resources/interop08.xsd
    incubator/tuscany/interop/src/main/resources/interop09-in.xml
    incubator/tuscany/interop/src/main/resources/interop09.xsd
    incubator/tuscany/interop/src/main/resources/interop10-in.xml
    incubator/tuscany/interop/src/main/resources/interop10.xsd
    incubator/tuscany/interop/src/main/resources/interop11-in.xml
    incubator/tuscany/interop/src/main/resources/interop11.xsd
    incubator/tuscany/interop/src/main/resources/interop12-in.xml
    incubator/tuscany/interop/src/main/resources/interop12.xsd
    incubator/tuscany/interop/src/main/resources/interop13.xsd
    incubator/tuscany/interop/src/main/resources/interop14-in.xml
    incubator/tuscany/interop/src/main/resources/interop14.xsd
    incubator/tuscany/interop/src/main/resources/interop15-in.xml
    incubator/tuscany/interop/src/main/resources/interop15.xsd
    incubator/tuscany/interop/src/main/resources/interop16-in.xml
    incubator/tuscany/interop/src/main/resources/interop16.xsd
    incubator/tuscany/interop/src/main/resources/interop17-in.xml
    incubator/tuscany/interop/src/main/resources/interop17.xsd
    incubator/tuscany/interop/src/main/resources/interop18-in.xml
    incubator/tuscany/interop/src/main/resources/interop18.xsd
    incubator/tuscany/interop/src/main/resources/interop19-in.xml
    incubator/tuscany/interop/src/main/resources/interop19.xsd
    incubator/tuscany/interop/src/main/resources/interop20-in.xml
    incubator/tuscany/interop/src/main/resources/interop20.xsd
    incubator/tuscany/interop/src/main/resources/interop21-in.xml
    incubator/tuscany/interop/src/main/resources/interop21.xsd
    incubator/tuscany/interop/src/main/resources/interop22-in.xml
    incubator/tuscany/interop/src/main/resources/interop22.xsd
    incubator/tuscany/interop/src/main/resources/interop23-in.xml
    incubator/tuscany/interop/src/main/resources/interop23.xsd
    incubator/tuscany/interop/src/main/resources/interop24-in.xml
    incubator/tuscany/interop/src/main/resources/interop24.xsd
    incubator/tuscany/interop/src/main/resources/interop25-in.xml
    incubator/tuscany/interop/src/main/resources/interop25.xsd
    incubator/tuscany/interop/src/main/resources/interop26-in.xml
    incubator/tuscany/interop/src/main/resources/interop26.xsd
    incubator/tuscany/interop/src/main/resources/interop27-in.xml
    incubator/tuscany/interop/src/main/resources/interop27.xsd
    incubator/tuscany/interop/src/main/resources/interop28-in.xml
    incubator/tuscany/interop/src/main/resources/interop28.xsd
    incubator/tuscany/interop/src/main/resources/interop29-in.xml
    incubator/tuscany/interop/src/main/resources/interop29.xsd
    incubator/tuscany/interop/src/main/resources/interop30-in.xml
    incubator/tuscany/interop/src/main/resources/interop30.xsd
    incubator/tuscany/interop/src/main/resources/interop31-in.xml
    incubator/tuscany/interop/src/main/resources/interop31.xsd
    incubator/tuscany/interop/src/main/resources/interop32-in.xml
    incubator/tuscany/interop/src/main/resources/interop32.xsd
    incubator/tuscany/interop/src/main/resources/interop33-in.xml
    incubator/tuscany/interop/src/main/resources/interop33.xsd
    incubator/tuscany/interop/src/main/resources/interop34-in.xml
    incubator/tuscany/interop/src/main/resources/interop34.xsd
    incubator/tuscany/interop/src/main/resources/interop35-in.xml
    incubator/tuscany/interop/src/main/resources/interop35.xsd
    incubator/tuscany/interop/src/main/resources/interop36-in.xml
    incubator/tuscany/interop/src/main/resources/interop36.xsd
    incubator/tuscany/interop/src/main/resources/interop37-in.xml
    incubator/tuscany/interop/src/main/resources/interop37.xsd
    incubator/tuscany/interop/src/main/resources/interop38-in.xml
    incubator/tuscany/interop/src/main/resources/interop38.xsd
    incubator/tuscany/interop/src/main/resources/interop39-in.xml
    incubator/tuscany/interop/src/main/resources/interop39.xsd
    incubator/tuscany/interop/src/main/resources/interop40-in.xml
    incubator/tuscany/interop/src/main/resources/interop40.xsd
    incubator/tuscany/interop/src/main/resources/interop41-in.xml
    incubator/tuscany/interop/src/main/resources/interop41.xsd
    incubator/tuscany/interop/src/main/resources/interop42-in.xml
    incubator/tuscany/interop/src/main/resources/interop42.xsd
    incubator/tuscany/interop/src/main/resources/interop43-in.xml
    incubator/tuscany/interop/src/main/resources/interop43.xsd
    incubator/tuscany/interop/src/main/resources/interop44-in.xml
    incubator/tuscany/interop/src/main/resources/interop44.xsd
    incubator/tuscany/interop/src/main/resources/interop45-in.xml
    incubator/tuscany/interop/src/main/resources/interop45.xsd
    incubator/tuscany/interop/src/main/resources/interop46-in.xml
    incubator/tuscany/interop/src/main/resources/interop46.xsd
    incubator/tuscany/interop/src/main/resources/interop47-in.xml
    incubator/tuscany/interop/src/main/resources/interop47.xsd
    incubator/tuscany/interop/src/main/resources/interop50-in.xml
    incubator/tuscany/interop/src/main/resources/interop50.xsd

Added: incubator/tuscany/interop/src/main/resources/README.txt
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/README.txt?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/README.txt (added)
+++ incubator/tuscany/interop/src/main/resources/README.txt Mon Jun 26 06:44:23 2006
@@ -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 <include>                                    interop1.xsd         
+xsd <import>                                     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

Added: incubator/tuscany/interop/src/main/resources/createdb-db2.ddl
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/createdb-db2.ddl?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/createdb-db2.ddl (added)
+++ incubator/tuscany/interop/src/main/resources/createdb-db2.ddl Mon Jun 26 06:44:23 2006
@@ -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;

Added: incubator/tuscany/interop/src/main/resources/createdb-mysql.ddl
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/createdb-mysql.ddl?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/createdb-mysql.ddl (added)
+++ incubator/tuscany/interop/src/main/resources/createdb-mysql.ddl Mon Jun 26 06:44:23 2006
@@ -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)); 
+
+

Added: incubator/tuscany/interop/src/main/resources/insertdata-db2.ddl
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/insertdata-db2.ddl?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/insertdata-db2.ddl (added)
+++ incubator/tuscany/interop/src/main/resources/insertdata-db2.ddl Mon Jun 26 06:44:23 2006
@@ -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;

Added: incubator/tuscany/interop/src/main/resources/insertdata-mysql.ddl
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/insertdata-mysql.ddl?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/insertdata-mysql.ddl (added)
+++ incubator/tuscany/interop/src/main/resources/insertdata-mysql.ddl Mon Jun 26 06:44:23 2006
@@ -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 );
+
+
+
+ 
+

Added: incubator/tuscany/interop/src/main/resources/interop00-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop00-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop00-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop00-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<tns:RootElement xmlns:p="commonj.sdo" 
+                 xmlns:tns="http://www.apache.org/tuscany/interop" 
+                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+                 xsi:schemaLocation="http://www.apache.org/tuscany/interop interop1.xsd commonj.sdo datagraph.xsd ">
+  <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  <tns:SimpleTypeAnonymous>tns:SimpleTypeAnonymous</tns:SimpleTypeAnonymous>
+  <SimpleTypeWithSDOName>SimpleTypeWithSDOName</SimpleTypeWithSDOName>
+  <SimpleTypeWithInstanceClass>SimpleTypeWithInstanceClass</SimpleTypeWithInstanceClass>
+  <SimpleTypeWithExtendedInstanceClass>SimpleTypeWithExtendedInstanceClass</SimpleTypeWithExtendedInstanceClass>
+  <ComplexTypeNoContent/>
+  <ComplexTypeContent xsi:type="tns:ComplexTypeContentType">
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </ComplexTypeContent>
+  <tns:ComplexTypeAnonymousType>
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </tns:ComplexTypeAnonymousType>
+  <ComplexTypeWithSDOName>
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </ComplexTypeWithSDOName>
+  <ComplexTypeWithSDOAliasName>
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </ComplexTypeWithSDOAliasName>
+  <ComplexTypeExtendingComplexType xsi:type="tns:ComplexTypeExtendingComplexTypeType">
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+    <SimpleTypeWithNameExtended>SimpleTypeWithNameExtended</SimpleTypeWithNameExtended>
+  </ComplexTypeExtendingComplexType>
+  <ComplexTypeExtendingSimpeType AddedByExtension="AddedByExtensionAttribute" xsi:type="tns:ComplexTypeExtendingSimpleTypeType">ComplexTypeExtendingSimpeType</ComplexTypeExtendingSimpeType>
+  <ComplexTypeComplexContentRestrictingComplexType>
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </ComplexTypeComplexContentRestrictingComplexType>
+  <ComplexTypeSimpleContentRestrictingComplexType AddedByExtension="AddedByExtensionAttribute">ComplexTypeSimpleContentRestrictingComplexType</ComplexTypeSimpleContentRestrictingComplexType>
+  <ComplexTypeWithMixed>
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </ComplexTypeWithMixed>
+  <ComplexTypeWithSDOSequence>
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </ComplexTypeWithSDOSequence>
+  <ComplexTypeOpenContent>
+    <tns:ElementSubstitutionGroupExtends>
+      <ElementInSubstitutionGroupBase>ElementInSubstitutionGroupBase</ElementInSubstitutionGroupBase>
+      <ElementInSubstitutionGroupExtends>ElementInSubstitutionGroupExtends</ElementInSubstitutionGroupExtends>
+    </tns:ElementSubstitutionGroupExtends>
+  </ComplexTypeOpenContent>
+  <ComplexTypeOpenAttributes>
+    <SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+  </ComplexTypeOpenAttributes>
+  <ComplexTypeOppositePropertyTest AttributeWithSDOPropertyType="idvalue0"/>
+  <ComplexTypeAttributesTest Attribute="Attribute" 
+                             AttributeWithDefaultValue="AttributeWithDefaultValueDefaultValue" 
+                             AttributeWithFixedValue="AttributeWithFixedValueFixedValue" 
+                             AttributeWithSDOAliasName="AttributeWithSDOAliasName" 
+                             AttributeWithSDODataType="AttributeWithSDODataType" 
+                             AttributeWithSDOName="AttributeWithSDODataType" 
+                             AttributeWithSDOPropertySDOOppositePropertyType="idvalue0" 
+                             AttributeWithSDOPropertyType="idvalue0" 
+                             AttributeWithSDOString="AttributeWithSDOString" 
+                             tns:AttributeReference="AttributeReference"/>
+  <ElementWithSDOName>ElementWithSDOName</ElementWithSDOName>
+  <ElementWithSDOAliasName>ElementWithSDOAliasName</ElementWithSDOAliasName>
+  <ElementWithMaxOccurs>ElementWithMaxOccurs</ElementWithMaxOccurs>
+  <ElementInChoice>ElementInChoice</ElementInChoice>
+  <ElementInAll>
+    <ElementInAllOne>ElementInAllOne</ElementInAllOne>
+    <ElementInAllTwo>ElementInAllTwo</ElementInAllTwo>
+  </ElementInAll>
+  <ElementWithNillable></ElementWithNillable>
+  <tns:ElementSubstitutionGroupExtends>
+    <ElementInSubstitutionGroupBase>ElementInSubstitutionGroupBase</ElementInSubstitutionGroupBase>
+    <ElementInSubstitutionGroupExtends>ElementInSubstitutionGroupExtends</ElementInSubstitutionGroupExtends>
+  </tns:ElementSubstitutionGroupExtends>
+  <ElementOfSimpleTypeWithDefault>ElementOfSimpleTypeWithDefaultDefault</ElementOfSimpleTypeWithDefault>
+  <ElementOfSimpleTypeWithFixed>ElementOfSimpleTypeWithFixedFixed</ElementOfSimpleTypeWithFixed>
+  <ElementOfSimpleTypeWithSDOString>ElementOfSimpleTypeWithSDOString</ElementOfSimpleTypeWithSDOString>
+  <ElementOfSimpleTypeWithSDOPropertyType>idvalue0</ElementOfSimpleTypeWithSDOPropertyType>
+  <ElementOfSimpleTypeWithSDOOppositePropertyType>idvalue0</ElementOfSimpleTypeWithSDOOppositePropertyType>
+  <ElementOfSimpleTypeWithSDODataType>ElementOfSimpleTypeWithSDODataType</ElementOfSimpleTypeWithSDODataType>
+  <ElementOfSDOChangeSummaryType>
+    <ChangeSummaryElement>
+      ChangeSummaryText
+    </ChangeSummaryElement>
+  </ElementOfSDOChangeSummaryType>
+  <anySimpleType>anySimpleType</anySimpleType>
+  <anyType>AnyTypeString</anyType>
+  <anyURI>http://tempuri.org</anyURI>
+  <base64Binary>ABCD</base64Binary>
+  <boolean>true</boolean>
+  <byte>0</byte>
+  <date>2001-01-01</date>
+  <dateTime>2001-12-31T12:00:00</dateTime>
+  <decimal>0.0</decimal>
+  <double>0.0</double>
+  <duration>P1D</duration>
+  <float>0.0</float>
+  <gDay>---01</gDay>
+  <gMonth>--01--</gMonth>
+  <gMonthDay>--01-01</gMonthDay>
+  <gYear>2001</gYear>
+  <gYearMonth>2001-01</gYearMonth>
+  <hexBinary>0F00</hexBinary>
+  <ID>idvalue0</ID>
+  <IDREF>idvalue0</IDREF>
+  <IDREFS>idvalue0</IDREFS>
+  <int>0</int>
+  <integer>0</integer>
+  <language>EN</language>
+  <long>0</long>
+  <Name>Name</Name>
+  <NCName>NCName</NCName>
+  <negativeInteger>-1</negativeInteger>
+  <NMTOKEN>NMTOKEN</NMTOKEN>
+  <NMTOKENS>NMTOKENS</NMTOKENS>
+  <nonNegativeInteger>0</nonNegativeInteger>
+  <nonPositiveInteger>0</nonPositiveInteger>
+  <normalizedString>normalizedString</normalizedString>
+  <NOTATION>tns:SDOInteropTestingSchema1</NOTATION>
+  <positiveInteger>1</positiveInteger>
+  <QName>QName</QName>
+  <short>0</short>
+  <string>string</string>
+  <time>12:00:00</time>
+  <token>token</token>
+  <unsignedByte>0</unsignedByte>
+  <unsignedInt>0</unsignedInt>
+  <unsignedLong>0</unsignedLong>
+  <unsignedShort>0</unsignedShort>
+</tns:RootElement>

Added: incubator/tuscany/interop/src/main/resources/interop00.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop00.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop00.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop00.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,309 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop"
+        xmlns:sdo="commonj.sdo"
+        xmlns:sdoJava="commonj.sdo">
+        
+  <import schemaLocation="datagraph.xsd" namespace="commonj.sdo"/>
+  
+  <annotation>
+    <appinfo>SDO 2.0.1</appinfo>
+    <documentation>
+        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
+    </documentation>
+  </annotation>
+    
+  <notation name="SDOInteropTestingSchema1" public="commonj.sdo">
+
+  </notation>
+        
+  <!-- simple types -->
+  <simpleType name="SimpleTypeWithNameType">
+    <restriction base="string"/>
+  </simpleType>
+        
+  <element name="SimpleTypeAnonymous">
+    <simpleType>
+      <restriction base="string"/>
+    </simpleType>
+  </element>  
+  
+  <simpleType name="SimpleTypeWithSDONameType" sdo:name="SimpleTypeWithSDONameTypeSDOName">
+	<restriction base="string"/>
+  </simpleType>
+  
+  <!-- 
+  <simpleType name="SimpleTypeWithAbstractType" abstract="true">
+    <restriction base="string"/>
+  </simpleType>
+  -->
+
+  <simpleType name="SimpleTypeWithInstanceClassType" sdoJava:instanceClass="String">
+  	<restriction base="string"/>
+  </simpleType>
+  
+  <simpleType name="SimpleTypeWithExtendedInstanceClassType" sdoJava:extendedInstanceClass="String">
+  	<restriction base="string"/>
+  </simpleType>
+  
+  
+  <!-- complex types -->
+  <complexType name="ComplexTypeNoContentType"/>
+  
+  <complexType name="ComplexTypeContentType">
+    <sequence>
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+    </sequence>
+  </complexType>
+  
+  <element name="ComplexTypeAnonymousType">
+    <complexType>
+      <sequence>
+        <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+      </sequence>
+    </complexType>
+  </element>
+  
+  <complexType name="ComplexTypeWithSDONameType" sdo:name="ComplexTypeWithSDONameTypeSDOName">
+    <sequence>
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+    </sequence>
+  </complexType>
+  
+  <complexType name="ComplexTypeWithAbstractType" abstract="true">
+    <sequence>
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+    </sequence>
+  </complexType>
+  
+  <complexType name="ComplexTypeWithSDOAliasNameType" sdo:aliasName="ComplexTypeWithSDOAliasNameTypeSDOAliasName">
+    <sequence>
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+    </sequence>
+  </complexType>  
+  
+  <complexType name="ComplexTypeExtendingComplexTypeType">
+    <complexContent>
+      <extension base="tns:ComplexTypeContentType">
+        <sequence>
+          <element name="SimpleTypeWithNameExtended" type="tns:SimpleTypeWithNameType"/>
+        </sequence>
+      </extension>
+    </complexContent>  
+  </complexType> 
+  
+  <complexType name="ComplexTypeExtendingSimpleTypeType">
+    <simpleContent>
+      <extension base="tns:SimpleTypeWithNameType">
+		<attribute name="AddedByExtension" type="string"/>
+      </extension>
+    </simpleContent>  
+  </complexType> 
+
+  <complexType name="ComplexTypeComplexContentRestrictingComplexTypeType">
+    <complexContent>
+      <restriction base="tns:ComplexTypeExtendingComplexTypeType">
+        <sequence>
+          <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>        
+        </sequence>  
+      </restriction>
+    </complexContent>  
+  </complexType>   
+  
+  <complexType name="ComplexTypeSimpleContentRestrictingComplexTypeType">
+    <simpleContent>
+      <restriction base="tns:ComplexTypeExtendingSimpleTypeType">
+        <attribute name="AddedByExtension" type="NCName" />
+      </restriction>
+    </simpleContent>  
+  </complexType>    
+
+  <complexType name="ComplexTypeWithMixedType" mixed="true">
+    <sequence>
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+    </sequence>
+  </complexType>
+    
+  <complexType name="ComplexTypeWithSDOSequenceType" sdo:name="true">
+    <sequence>
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+    </sequence>
+  </complexType>
+  
+  <complexType name="ComplexTypeOpenContentType">
+    <sequence>
+      <any namespace="##any"/>
+    </sequence>
+  </complexType>  
+  
+  <complexType name="ComplexTypeOpenAttributesType">
+    <sequence>
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+    </sequence>
+    <anyAttribute namespace="##any"/>
+  </complexType>
+  
+  <!-- attributes -->
+  <attribute name="AttributeReference" type="string"/> 
+  
+  <complexType name="ComplexTypeOppositePropertyTestType">
+    <sequence>
+    </sequence> 
+    <attribute name="AttributeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:ComplexTypeAttributesTestType"/> 
+  </complexType>    
+  
+  <complexType name="ComplexTypeAttributesTestType">
+    <sequence>
+    </sequence> 
+    <attribute name="Attribute" type="string"/>
+    <attribute name="AttributeWithSDOName" sdo:name="AttributeWithSDONameSDOName" type="string"/>
+    <attribute name="AttributeWithSDOAliasName" sdo:aliasName="AttributeWithSDOAliasNameSDOAliasName" type="string"/>
+    <attribute name="AttributeWithDefaultValue" type="string" default="AttributeWithDefaultValueDefaultValue"/>
+    <attribute name="AttributeWithFixedValue" type="string" fixed="AttributeWithFixedValueFixedValue"/> 
+    <attribute ref="tns:AttributeReference"/>   
+    <attribute name="AttributeWithSDOString" type="string" sdo:string="true"/>     
+    <attribute name="AttributeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/> 
+    <attribute name="AttributeWithSDOPropertySDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:AttributeWithSDOPropertyType"/>     
+    <attribute name="AttributeWithSDODataType" sdo:dataType="string" type="string"/>
+  </complexType>    
+  
+  <!-- elements -->
+  <complexType name="ComplexTypeElementInAllTestType">
+    <all>
+      <element name="ElementInAllOne" type="string"/>
+      <element name="ElementInAllTwo" type="string"/>      
+    </all>
+  </complexType>
+  
+  <complexType name="ComplexTypeSubstitutionGroupBaseType">
+    <sequence>
+      <element name="ElementInSubstitutionGroupBase" type="string"/>
+    </sequence>
+  </complexType>
+  <element name="ElementSubstitutionGroupBase" type="tns:ComplexTypeSubstitutionGroupBaseType"/>
+  
+   <complexType name="ComplexTypeSubstitutionGroupExtendsType">
+    <complexContent>
+      <extension base="tns:ComplexTypeSubstitutionGroupBaseType">
+        <sequence>
+          <element name="ElementInSubstitutionGroupExtends" type="string"/>
+        </sequence>
+      </extension>
+    </complexContent>
+  </complexType>
+  <element name="ElementSubstitutionGroupExtends" type="tns:ComplexTypeSubstitutionGroupExtendsType" substitutionGroup="tns:ElementSubstitutionGroupBase"/>
+  
+  <!-- built in data types -->
+  
+       
+  <!-- top level test type -->       
+  <complexType name="ComplexTypeRootType">
+    <sequence>
+      <!-- simple types -->
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+      <element ref="tns:SimpleTypeAnonymous"/>  
+      <element name="SimpleTypeWithSDOName" type="tns:SimpleTypeWithSDONameType"/>  
+      <!--element name="SimpleTypeWithAbstract" type="tns:SimpleTypeWithAbstractType"/-->   
+      <element name="SimpleTypeWithInstanceClass" type="tns:SimpleTypeWithInstanceClassType"/>       
+      <element name="SimpleTypeWithExtendedInstanceClass" type="tns:SimpleTypeWithExtendedInstanceClassType"/>                               
+      
+      <!-- complex types -->
+      <element name="ComplexTypeNoContent" type="tns:ComplexTypeNoContentType"/>
+      <element name="ComplexTypeContent" type="tns:ComplexTypeContentType"/>
+      <element ref="tns:ComplexTypeAnonymousType"/>
+      <element name="ComplexTypeWithSDOName" type="tns:ComplexTypeWithSDONameType"/>      
+      <element name="ComplexTypeWithSDOAliasName" type="tns:ComplexTypeWithSDOAliasNameType"/>      
+      <element name="ComplexTypeExtendingComplexType" type="tns:ComplexTypeExtendingComplexTypeType"/>      
+      <element name="ComplexTypeExtendingSimpeType" type="tns:ComplexTypeExtendingSimpleTypeType"/>            
+      <element name="ComplexTypeComplexContentRestrictingComplexType" type="tns:ComplexTypeComplexContentRestrictingComplexTypeType"/>                  
+      <element name="ComplexTypeSimpleContentRestrictingComplexType" type="tns:ComplexTypeSimpleContentRestrictingComplexTypeType"/>                        
+      <element name="ComplexTypeWithMixed" type="tns:ComplexTypeWithMixedType"/>
+      <element name="ComplexTypeWithSDOSequence" type="tns:ComplexTypeWithSDOSequenceType"/>
+      <element name="ComplexTypeOpenContent" type="tns:ComplexTypeOpenContentType"/>      
+      <element name="ComplexTypeOpenAttributes" type="tns:ComplexTypeOpenAttributesType"/>   
+ 
+      <!-- attributes -->
+      <element name="ComplexTypeOppositePropertyTest" type="tns:ComplexTypeOppositePropertyTestType"/>
+      <element name="ComplexTypeAttributesTest" type="tns:ComplexTypeAttributesTestType"/>
+      
+      <!-- elements -->
+      <element name="ElementWithSDOName" sdo:name="ElementWithSDONameSDOName" type="string"/>
+      <element name="ElementWithSDOAliasName" sdo:aliasName="ElementWithSDOAliasNameSDOAliasName" type="string"/>
+      <element name="ElementWithMaxOccurs" type="string" maxOccurs="2"/>
+      <choice maxOccurs="3">
+        <element name="ElementInChoice" type="string" maxOccurs="2"/>
+      </choice>
+      <element name="ElementInAll" type="tns:ComplexTypeElementInAllTestType"/>
+      <element name="ElementWithNillable" type="string" nillable="true"/>      
+      <element ref="tns:ElementSubstitutionGroupBase" />
+      <element name="ElementOfSimpleTypeWithDefault" type="string" default="ElementOfSimpleTypeWithDefaultDefault" />
+      <element name="ElementOfSimpleTypeWithFixed" type="string" fixed="ElementOfSimpleTypeWithFixedFixed" />      
+      <element name="ElementOfSimpleTypeWithSDOString" type="string" sdo:string="true"/>      
+      <element name="ElementOfSimpleTypeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/>      
+      <element name="ElementOfSimpleTypeWithSDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:ElementOfSimpleTypeWithSDOPropertyType"/>      
+      <element name="ElementOfSimpleTypeWithSDODataType" type="string" sdo:dataType="string"/>       
+      <element name="ElementOfSDOChangeSummaryType" type="sdo:ChangeSummaryType"/>                
+  
+      <!-- built in data types -->
+      <element name="anySimpleType" type="anySimpleType"/>
+      <element name="anyType" type="anyType"/>
+      <element name="anyURI" type="anyURI"/>
+      <element name="base64Binary" type="base64Binary"/>
+      <element name="boolean" type="boolean"/>
+      <element name="byte" type="byte"/>
+      <element name="date" type="date"/>
+      <element name="dateTime" type="dateTime"/>
+      <element name="decimal" type="decimal"/>
+      <element name="double" type="double"/>
+      <element name="duration" type="duration"/>
+      <element name="float" type="float"/>
+      <element name="gDay" type="gDay"/>
+      <element name="gMonth" type="gMonth"/>
+      <element name="gMonthDay" type="gMonthDay"/>
+      <element name="gYear" type="gYear"/>
+      <element name="gYearMonth" type="gYearMonth"/>
+      <element name="hexBinary" type="hexBinary"/>
+      <element name="ID" type="ID"/>
+      <element name="IDREF" type="IDREF"/>
+      <element name="IDREFS" type="IDREFS"/>
+      <element name="int" type="int"/>
+      <element name="integer" type="integer"/>
+      <element name="language" type="language"/>
+      <element name="long" type="long"/>
+      <element name="Name" type="Name"/>
+      <element name="NCName" type="NCName"/>
+      <element name="negativeInteger" type="negativeInteger"/>
+      <element name="NMTOKEN" type="NMTOKEN"/>
+      <element name="NMTOKENS" type="NMTOKENS"/>
+      <element name="nonNegativeInteger" type="nonNegativeInteger"/>
+      <element name="nonPositiveInteger" type="nonPositiveInteger"/>
+      <element name="normalizedString" type="normalizedString"/>
+      <element name="NOTATION" >
+        <simpleType >
+          <restriction base="NOTATION">
+            <enumeration value="tns:SDOInteropTestingSchema1"/>
+          </restriction>
+        </simpleType>
+      </element>
+      <element name="positiveInteger" type="positiveInteger"/>
+      <element name="QName" type="QName"/>
+      <element name="short" type="short"/>
+      <element name="string" type="string"/>
+      <element name="time" type="time"/>
+      <element name="token" type="token"/>
+      <element name="unsignedByte" type="unsignedByte"/>
+      <element name="unsignedInt" type="unsignedInt"/>
+      <element name="unsignedLong" type="unsignedLong"/>
+      <element name="unsignedShort" type="unsignedShort"/>
+            
+ <!-- need to test abstract -->
+
+    </sequence>
+  </complexType>
+        
+  <element name="RootElement" type="tns:ComplexTypeRootType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop01-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop01-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop01-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop01-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement xmlns:p="commonj.sdo"
+	xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop01.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</tns:RootElement>

Added: incubator/tuscany/interop/src/main/resources/interop01.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop01.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop01.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop01.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+ 
+  <include schemaLocation="interop10.xsd"/> 
+      
+  <!-- top level test type -->       
+  <complexType name="ComplexTypeRootType">
+    <sequence>
+      <!-- simple types -->
+      <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+
+    </sequence>
+  </complexType>
+        
+  <element name="RootElement" type="tns:ComplexTypeRootType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop02-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop02-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop02-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop02-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement xmlns:p="commonj.sdo"
+	xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="commonj.sdo datagraph.xsd http://www.apache.org/tuscany/interop interop02.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+	<ChangeSummary><SomeElement>SomeString</SomeElement></ChangeSummary>
+</tns:RootElement>

Added: incubator/tuscany/interop/src/main/resources/interop02.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop02.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop02.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop02.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop"
+        xmlns:sdo="commonj.sdo"
+        xmlns:sdoJava="commonj.sdo">
+        
+  <import schemaLocation="datagraph.xsd" namespace="commonj.sdo"/>
+  <include schemaLocation="interop10.xsd"/> 
+      
+  <!-- top level test type -->       
+  <complexType name="ComplexTypeRootType">
+    <sequence>
+      <!-- simple types -->
+      <element name="SimpleTypeWithName" type="string"/>
+      <element name="ChangeSummary" type="sdo:ChangeSummaryType"/>
+    </sequence>
+  </complexType>
+        
+  <element name="RootElement" type="tns:ComplexTypeRootType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop03-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop03-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop03-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop03-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement xmlns:p="commonj.sdo"
+	xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop03.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</tns:RootElement>

Added: incubator/tuscany/interop/src/main/resources/interop03.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop03.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop03.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop03.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+ 
+  <!-- top level test type -->       
+  <complexType name="ComplexTypeRootType">
+    <sequence>
+      <!-- simple types -->
+      <element name="SimpleTypeWithName" type="string"/>
+
+    </sequence>
+  </complexType>
+        
+  <element name="RootElement" type="tns:ComplexTypeRootType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop04-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop04-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop04-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop04-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<RootElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:noNamespaceSchemaLocation="interop04.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</RootElement>

Added: incubator/tuscany/interop/src/main/resources/interop04.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop04.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop04.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop04.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
+  
+  <!-- top level test type -->       
+  <xsd:complexType name="ComplexTypeRootType">
+    <xsd:sequence>
+      <!-- simple types -->
+      <xsd:element name="SimpleTypeWithName" type="xsd:string"/>
+
+    </xsd:sequence>
+  </xsd:complexType>
+        
+  <xsd:element name="RootElement" type="ComplexTypeRootType"/>
+</xsd:schema>

Added: incubator/tuscany/interop/src/main/resources/interop05-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop05-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop05-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop05-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement xmlns:p="commonj.sdo"
+	xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop05.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</tns:RootElement>

Added: incubator/tuscany/interop/src/main/resources/interop05.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop05.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop05.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop05.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop"
+        xmlns:sdoJava="commonj.sdo/java"
+        sdoJava:package="org.apache.tuscany">
+ 
+  <import schemaLocation="sdoJava.xsd" namespace="commonj.sdo/java"/>
+  
+  <!-- top level test type -->       
+  <complexType name="ComplexTypeRootType">
+    <sequence>
+      <!-- simple types -->
+      <element name="SimpleTypeWithName" type="string"/>
+
+    </sequence>
+  </complexType>
+        
+  <element name="RootElement" type="tns:ComplexTypeRootType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop06-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop06-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop06-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop06-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement6 xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop06.xsd">
+	tns:RootElement1
+</tns:RootElement6>

Added: incubator/tuscany/interop/src/main/resources/interop06.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop06.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop06.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop06.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+        
+                 
+  <element name="RootElement6" type="string"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop07-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop07-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop07-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop07-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement7 xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop07.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</tns:RootElement7>

Added: incubator/tuscany/interop/src/main/resources/interop07.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop07.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop07.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop07.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+         
+  <complexType name="Interop7ComplexType">
+    <sequence>
+      <element name="SimpleTypeWithName" type="string"/>
+    </sequence>
+  </complexType>  
+                 
+  <element name="RootElement7" type="tns:Interop7ComplexType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop08-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop08-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop08-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop08-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement8 xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop08.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</tns:RootElement8>

Added: incubator/tuscany/interop/src/main/resources/interop08.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop08.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop08.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop08.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+
+  <annotation>
+    <appinfo>SDO 2.0.1</appinfo>
+    <documentation>
+        A schema that tests the presence of annotations in schema read by SDO
+    </documentation>
+  </annotation>
+           
+  <complexType name="Interop8ComplexType">
+    <sequence>
+      <element name="SimpleTypeWithName" type="string"/>
+    </sequence>
+  </complexType>  
+                 
+  <element name="RootElement8" type="tns:Interop8ComplexType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop09-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop09-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop09-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop09-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement9 xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop09.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</tns:RootElement9>

Added: incubator/tuscany/interop/src/main/resources/interop09.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop09.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop09.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop09.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+
+  <notation name="InteropTestingSchema9" public="commonj.sdo"/>
+           
+  <complexType name="Interop9ComplexType">
+    <sequence>
+      <element name="SimpleTypeWithName" type="string"/>
+    </sequence>
+  </complexType>  
+                 
+  <element name="RootElement9" type="tns:Interop9ComplexType"/>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop10-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop10-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop10-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop10-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement10 xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop10.xsd">
+	<SimpleTypeWithName>SimpleTypeWithName</SimpleTypeWithName>
+</tns:RootElement10>

Added: incubator/tuscany/interop/src/main/resources/interop10.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop10.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop10.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop10.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+        
+  <simpleType name="SimpleTypeWithNameType">
+    <restriction base="string"/>
+  </simpleType>
+                 
+  <element name="RootElement10">
+    <complexType>
+      <sequence>
+        <element name="SimpleTypeWithName" type="tns:SimpleTypeWithNameType"/>
+      </sequence>
+    </complexType>
+  </element>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop11-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop11-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop11-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop11-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+ <tns:RootElement11 xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop11.xsd">
+	<tns:SimpleTypeAnonymous>
+		tns:SimpleTypeAnonymous
+	</tns:SimpleTypeAnonymous>
+</tns:RootElement11>

Added: incubator/tuscany/interop/src/main/resources/interop11.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop11.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop11.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop11.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop">
+        
+  <element name="SimpleTypeAnonymous">
+    <simpleType>
+      <restriction base="string"/>
+    </simpleType>
+  </element>  
+                 
+  <element name="RootElement11">
+    <complexType>
+      <sequence>
+         <element ref="tns:SimpleTypeAnonymous"/>
+      </sequence>
+    </complexType>
+  </element>
+</schema>

Added: incubator/tuscany/interop/src/main/resources/interop12-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop12-in.xml?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop12-in.xml (added)
+++ incubator/tuscany/interop/src/main/resources/interop12-in.xml Mon Jun 26 06:44:23 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<tns:RootElement12 xmlns:tns="http://www.apache.org/tuscany/interop"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.apache.org/tuscany/interop interop12.xsd">
+	<SimpleTypeWithSDOName>SimpleTypeWithSDOName</SimpleTypeWithSDOName>
+</tns:RootElement12>

Added: incubator/tuscany/interop/src/main/resources/interop12.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/interop/src/main/resources/interop12.xsd?rev=417191&view=auto
==============================================================================
--- incubator/tuscany/interop/src/main/resources/interop12.xsd (added)
+++ incubator/tuscany/interop/src/main/resources/interop12.xsd Mon Jun 26 06:44:23 2006
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2005-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.
+ -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.apache.org/tuscany/interop" 
+        xmlns:tns="http://www.apache.org/tuscany/interop"
+        xmlns:sdo="commonj.sdo">     
+        
+  <simpleType name="SimpleTypeWithSDONameType" sdo:name="SimpleTypeWithSDONameTypeSDOName">
+	<restriction base="string"/>
+  </simpleType>
+                 
+  <element name="RootElement12">
+    <complexType>
+      <sequence>
+        <element name="SimpleTypeWithSDOName" type="tns:SimpleTypeWithSDONameType"/>  
+      </sequence>
+    </complexType>
+  </element>
+</schema>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org