summaryrefslogtreecommitdiffstats
path: root/java/sdo-cts/sdo2.1/src/main/resources/api_test.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'java/sdo-cts/sdo2.1/src/main/resources/api_test.xsd')
-rw-r--r--java/sdo-cts/sdo2.1/src/main/resources/api_test.xsd89
1 files changed, 0 insertions, 89 deletions
diff --git a/java/sdo-cts/sdo2.1/src/main/resources/api_test.xsd b/java/sdo-cts/sdo2.1/src/main/resources/api_test.xsd
deleted file mode 100644
index c740060161..0000000000
--- a/java/sdo-cts/sdo2.1/src/main/resources/api_test.xsd
+++ /dev/null
@@ -1,89 +0,0 @@
-<?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:sdo="commonj.sdo" xmlns:sdoXML="commonj.sdo/xml" xmlns:api="http://www.example.com/api_test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.com/api_test">
- <!-- <xsd:import namespace="commonj.sdo" schemaLocation="sdoModel.xsd"/> -->
-
- <xsd:element name="apiTestElem" type="api:APITest"/>
-
- <xsd:complexType name="APITest">
- <xsd:sequence>
- <xsd:element name="stringVal" type="xsd:string"/>
- <xsd:element name="booleanVal" type="xsd:boolean"/>
- <xsd:element name="booleanVal2" type="xsd:boolean"/>
- <xsd:element name="byteVal" type="xsd:byte"/>
- <xsd:element name="stringVal2" type="xsd:string"/>
- <xsd:element name="decimalVal" type="xsd:decimal"/>
- <xsd:element name="decimalVal2" sdo:aliasName="dec2" type="xsd:decimal"/>
- <xsd:element name="intVal" type="xsd:int"/>
- <xsd:element name="floatVal" type="xsd:float"/>
- <xsd:element name="doubleVal" type="xsd:double"/>
- <xsd:element name="dateVal" type="xsd:dateTime"/>
- <xsd:element name="shortVal" type="xsd:short"/>
- <xsd:element name="longVal" type="xsd:long"/>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="containMany" type="api:APITest"/>
- <xsd:element name="bytesVal" type="xsd:hexBinary"/>
- <xsd:element name="integerVal" type="xsd:integer"/>
- <xsd:element name="charVal" type="api:char"/>
- <xsd:element name="readOnlyVal" type="xsd:string" sdoXML:readOnly="true"/>
- <xsd:element name="sequencedElem" type="api:Sequenced"/>
- <xsd:element name="extendedElem" type="api:Extended"/>
- <xsd:element name="openElem" type="api:Open"/>
- <xsd:element name="contain" type="api:APITest"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Sequenced" mixed="true">
- <xsd:sequence>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="Numbers" type="xsd:int"/>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="Letters" type="xsd:string"/>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="containMany" type="api:Sequenced"/>
- <xsd:element name="contain" type="api:Sequenced"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Open">
- <xsd:sequence>
- <xsd:element name="defined" type="xsd:string"/>
- <xsd:any maxOccurs="unbounded" namespace="##any"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:simpleType name="char">
- <xsd:restriction base="xsd:string">
- <xsd:length value="1"/>
- </xsd:restriction>
- </xsd:simpleType>
-
- <xsd:complexType abstract="true" name="Abstract">
- <xsd:sequence>
- <xsd:element name="firstName" type="xsd:string"/>
- <xsd:element name="lastName" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Extended" sdo:aliasName="Ext2">
- <xsd:complexContent>
- <xsd:extension base="api:Abstract">
- <xsd:sequence>
- <xsd:element name="nickName" type="xsd:string"/>
- <xsd:element name="middleName" type="xsd:string"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
-</xsd:schema>