You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mb...@apache.org on 2007/05/31 22:18:12 UTC

svn commit: r543243 [2/2] - in /db/jdo/trunk/api20: src/java/javax/jdo/ src/schema/javax/jdo/ test/java/javax/jdo/schema/ test/java/javax/jdo/util/ test/schema/

Added: db/jdo/trunk/api20/src/schema/javax/jdo/orm_2_1.xsd
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/src/schema/javax/jdo/orm_2_1.xsd?view=auto&rev=543243
==============================================================================
--- db/jdo/trunk/api20/src/schema/javax/jdo/orm_2_1.xsd (added)
+++ db/jdo/trunk/api20/src/schema/javax/jdo/orm_2_1.xsd Thu May 31 13:18:10 2007
@@ -0,0 +1,882 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xs:schema targetNamespace="http://java.sun.com/xml/ns/jdo/orm"
+           xmlns="http://java.sun.com/xml/ns/jdo/orm"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           version="2.1">
+    <xs:element name="orm">
+        <xs:complexType>
+            <xs:choice maxOccurs="unbounded">
+                <xs:element ref="extension"/>
+                <xs:element ref="package"/>
+                <xs:element ref="query"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.orm"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.orm">
+        <xs:attribute name="catalog"/>
+        <xs:attribute name="schema"/>
+    </xs:attributeGroup>
+    <xs:element name="package">
+        <xs:complexType>
+            <xs:choice maxOccurs="unbounded">
+                <xs:element ref="extension"/>
+                <xs:element ref="interface"/>
+                <xs:element ref="class"/>
+                <xs:element ref="sequence"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.package"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.package">
+        <xs:attribute name="name" default=""/>
+        <xs:attribute name="catalog"/>
+        <xs:attribute name="schema"/>
+    </xs:attributeGroup>
+    <xs:element name="interface">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - datastore-identity
+                    - primary-key
+                    - inheritance
+                    - version
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="datastore-identity"/>
+                <xs:element ref="primary-key"/>
+                <xs:element ref="inheritance"/>
+                <xs:element ref="version"/>
+                <xs:element ref="join"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+                <xs:element ref="property"/>
+                <xs:element ref="query"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.interface"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.interface">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="catalog"/>
+        <xs:attribute name="schema"/>
+    </xs:attributeGroup>
+    <xs:element name="property">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - join
+                    - embedded
+                    - key
+                    - value
+                    - order
+                    - foreign-key
+                    - index
+                    - unique
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="join"/>
+                <xs:element ref="embedded"/>
+                <xs:element ref="element"/>
+                <xs:element ref="key"/>
+                <xs:element ref="value"/>
+                <xs:element ref="order"/>
+                <xs:element ref="column"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.property"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.property">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="value-strategy"/>
+        <xs:attribute name="sequence"/>
+        <xs:attribute name="serialized">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="table"/>
+        <xs:attribute name="column"/>
+        <xs:attribute name="delete-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="mapped-by"/>
+        <xs:attribute name="recursion-depth"/>
+        <xs:attribute name="field-name"/>
+    </xs:attributeGroup>
+    <xs:element name="class">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - datastore-identity
+                    - primary-key
+                    - inheritance
+                    - version
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="datastore-identity"/>
+                <xs:element ref="primary-key"/>
+                <xs:element ref="inheritance"/>
+                <xs:element ref="version"/>
+                <xs:element ref="join"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+                <xs:element ref="column"/>
+                <xs:element ref="field"/>
+                <xs:element ref="property"/>
+                <xs:element ref="query"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.class"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.class">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="catalog"/>
+        <xs:attribute name="schema"/>
+    </xs:attributeGroup>
+    <xs:element name="primary-key">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="extension"/>
+                <xs:element ref="column"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.primary-key"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.primary-key">
+        <xs:attribute name="name"/>
+        <xs:attribute name="column"/>
+    </xs:attributeGroup>
+    <xs:element name="join">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - primary-key
+                    - foreign-key
+                    - index
+                    - unique
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="primary-key"/>
+                <xs:element ref="column"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.join"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.join">
+        <xs:attribute name="table"/>
+        <xs:attribute name="column"/>
+        <xs:attribute name="outer" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="delete-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="version">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - index
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="column"/>
+                <xs:element ref="index"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.version"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.version">
+        <xs:attribute name="strategy"/>
+        <xs:attribute name="column"/>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="datastore-identity">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="extension"/>
+                <xs:element ref="column"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.datastore-identity"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.datastore-identity">
+        <xs:attribute name="column"/>
+        <xs:attribute name="strategy" default="native"/>
+        <xs:attribute name="sequence"/>
+    </xs:attributeGroup>
+    <xs:element name="implements">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="extension"/>
+                <xs:element ref="property"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.implements"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.implements">
+        <xs:attribute name="name" use="required"/>
+    </xs:attributeGroup>
+    <xs:element name="inheritance">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - join
+                    - discriminator
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="join"/>
+                <xs:element ref="discriminator"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.inheritance"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.inheritance">
+        <xs:attribute name="strategy"/>
+    </xs:attributeGroup>
+    <xs:element name="discriminator">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - index
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="column"/>
+                <xs:element ref="index"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.discriminator"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.discriminator">
+        <xs:attribute name="column"/>
+        <xs:attribute name="value"/>
+        <xs:attribute name="strategy"/>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="column">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="extension"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.column"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.column">
+        <xs:attribute name="name"/>
+        <xs:attribute name="target"/>
+        <xs:attribute name="target-field"/>
+        <xs:attribute name="jdbc-type"/>
+        <xs:attribute name="sql-type"/>
+        <xs:attribute name="length"/>
+        <xs:attribute name="scale"/>
+        <xs:attribute name="allows-null">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="default-value"/>
+        <xs:attribute name="insert-value"/>
+    </xs:attributeGroup>
+    <xs:element name="field">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - join
+                    - embedded
+                    - key
+                    - value
+                    - order
+                    - foreign-key
+                    - index
+                    - unique
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="join"/>
+                <xs:element ref="embedded"/>
+                <xs:element ref="element"/>
+                <xs:element ref="key"/>
+                <xs:element ref="value"/>
+                <xs:element ref="order"/>
+                <xs:element ref="column"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.field"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.field">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="column"/>
+        <xs:attribute name="value-strategy"/>
+        <xs:attribute name="delete-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="sequence"/>
+        <xs:attribute name="mapped-by"/>
+    </xs:attributeGroup>
+    <xs:element name="foreign-key">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - the choice of columns, fields and properties
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:choice minOccurs="0" maxOccurs="1">
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="column"/>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="field"/>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="property"/>
+                </xs:choice>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.foreign-key"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.foreign-key">
+        <xs:attribute name="table"/>
+        <xs:attribute name="deferred">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="delete-action" default="restrict">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="update-action" default="restrict">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="name"/>
+    </xs:attributeGroup>
+    <xs:element name="key">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - embedded
+                    - foreign-key
+                    - index
+                    - unique
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="embedded"/>
+                <xs:element ref="column"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.key"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.key">
+        <xs:attribute name="column"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="delete-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="update-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="mapped-by"/>
+    </xs:attributeGroup>
+    <xs:element name="value">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - embedded
+                    - foreign-key
+                    - index
+                    - unique
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="embedded"/>
+                <xs:element ref="column"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.value"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.value">
+        <xs:attribute name="column"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="delete-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="update-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="mapped-by"/>
+    </xs:attributeGroup>
+    <xs:element name="element">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - embedded
+                    - foreign-key
+                    - index
+                    - unique
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="embedded"/>
+                <xs:element ref="column"/>
+                <xs:element ref="foreign-key"/>
+                <xs:element ref="index"/>
+                <xs:element ref="unique"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.element"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.element">
+        <xs:attribute name="column"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="delete-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="update-action">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="restrict"/>
+                    <xs:enumeration value="cascade"/>
+                    <xs:enumeration value="null"/>
+                    <xs:enumeration value="default"/>
+                    <xs:enumeration value="none"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="indexed">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                    <xs:enumeration value="unique"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="mapped-by"/>
+    </xs:attributeGroup>
+    <xs:element name="order">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - index
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:element ref="column"/>
+                <xs:element ref="index"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.order"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.order">
+        <xs:attribute name="column"/>
+        <xs:attribute name="mapped-by"/>
+    </xs:attributeGroup>
+    <xs:element name="embedded">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="extension"/>
+                <xs:element ref="field"/>
+                <xs:element ref="property"/>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.embedded"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.embedded">
+        <xs:attribute name="owner-field"/>
+        <xs:attribute name="null-indicator-column"/>
+        <xs:attribute name="null-indicator-value"/>
+    </xs:attributeGroup>
+    <xs:element name="sequence">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="extension"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.sequence"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.sequence">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="datastore-sequence"/>
+        <xs:attribute name="factory-class"/>
+        <xs:attribute name="strategy" use="required">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="nontransactional"/>
+                    <xs:enumeration value="contiguous"/>
+                    <xs:enumeration value="noncontiguous"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="index">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - the choice of columns, fields or properties
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:choice>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="column"/>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="field"/>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="property"/>
+                </xs:choice>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.index"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.index">
+        <xs:attribute name="name"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="unique" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="query">
+        <xs:complexType mixed="true">
+            <xs:sequence>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="extension"/>
+            </xs:sequence>
+            <xs:attributeGroup ref="attlist.query"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.query">
+        <xs:attribute name="name" use="required"/>
+        <xs:attribute name="language"/>
+        <xs:attribute name="unmodifiable" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="unique">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="result-class"/>
+    </xs:attributeGroup>
+    <xs:element name="unique">
+        <xs:complexType>
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:annotation><xs:documentation>
+                    Please note, 
+                    the following subelements must not occur more than once:
+                    - the choice of columns, fields or properties
+                </xs:documentation></xs:annotation>
+                <xs:element ref="extension"/>
+                <xs:choice>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="column"/>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="field"/>
+                    <xs:element minOccurs="0" maxOccurs="unbounded" ref="property"/>
+                </xs:choice>
+            </xs:choice>
+            <xs:attributeGroup ref="attlist.unique"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.unique">
+        <xs:attribute name="name"/>
+        <xs:attribute name="table"/>
+        <xs:attribute name="deferred" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+    </xs:attributeGroup>
+    <xs:element name="extension">
+        <xs:complexType>
+            <xs:complexContent>
+                <xs:extension base="any">
+                    <xs:attributeGroup ref="attlist.extension"/>
+                </xs:extension>
+            </xs:complexContent>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.extension">
+        <xs:attribute name="vendor-name" use="required"/>
+        <xs:attribute name="key"/>
+        <xs:attribute name="value"/>
+    </xs:attributeGroup>
+    <xs:complexType name="any" mixed="true">
+        <xs:sequence>
+            <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
+        </xs:sequence>
+    </xs:complexType>
+</xs:schema>

Modified: db/jdo/trunk/api20/test/java/javax/jdo/schema/XMLTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/java/javax/jdo/schema/XMLTest.java?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/java/javax/jdo/schema/XMLTest.java (original)
+++ db/jdo/trunk/api20/test/java/javax/jdo/schema/XMLTest.java Thu May 31 13:18:10 2007
@@ -48,15 +48,15 @@
 
     /** */
     protected static final File JDO_XSD_FILE = 
-        new File(BASEDIR + "/target/classes/javax/jdo/jdo_2_0.xsd");
+        new File(BASEDIR + "/target/classes/javax/jdo/jdo_2_1.xsd");
 
     /** */
     protected static final File ORM_XSD_FILE = 
-        new File(BASEDIR + "/target/classes/javax/jdo/orm_2_0.xsd");
+        new File(BASEDIR + "/target/classes/javax/jdo/orm_2_1.xsd");
 
     /** */
     protected static final File JDOQUERY_XSD_FILE = 
-        new File(BASEDIR + "/target/classes/javax/jdo/jdoquery_2_0.xsd");
+        new File(BASEDIR + "/target/classes/javax/jdo/jdoquery_2_1.xsd");
 
     /** .xsd files */
     protected static final File[] XSD_FILES = 

Modified: db/jdo/trunk/api20/test/java/javax/jdo/util/XMLTestUtil.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/java/javax/jdo/util/XMLTestUtil.java?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/java/javax/jdo/util/XMLTestUtil.java (original)
+++ db/jdo/trunk/api20/test/java/javax/jdo/util/XMLTestUtil.java Thu May 31 13:18:10 2007
@@ -78,15 +78,15 @@
 
     /** jdo xsd file */
     protected static final File JDO_XSD_FILE = 
-        new File(BASEDIR + "/target/classes/javax/jdo/jdo_2_0.xsd");
+        new File(BASEDIR + "/target/classes/javax/jdo/jdo_2_1.xsd");
 
     /** orm xsd file */
     protected static final File ORM_XSD_FILE = 
-        new File(BASEDIR + "/target/classes/javax/jdo/orm_2_0.xsd");
+        new File(BASEDIR + "/target/classes/javax/jdo/orm_2_1.xsd");
 
     /** jdoquery xsd file */
     protected static final File JDOQUERY_XSD_FILE = 
-        new File(BASEDIR + "/target/classes/javax/jdo/jdoquery_2_0.xsd");
+        new File(BASEDIR + "/target/classes/javax/jdo/jdoquery_2_1.xsd");
 
     /** Entity resolver */
     protected static final EntityResolver resolver = new JDOEntityResolver();

Modified: db/jdo/trunk/api20/test/schema/Negative0-xsd.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Negative0-xsd.jdo?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Negative0-xsd.jdo (original)
+++ db/jdo/trunk/api20/test/schema/Negative0-xsd.jdo Thu May 31 13:18:10 2007
@@ -19,5 +19,5 @@
 <jdo xmlns="http://java.sun.com/xml/ns/jdo/jdo"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
-                         http://java.sun.com/xml/ns/jdo/jdo_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/jdo_2_1.xsd">
 </jdo>

Modified: db/jdo/trunk/api20/test/schema/Negative0-xsd.jdoquery
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Negative0-xsd.jdoquery?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Negative0-xsd.jdoquery (original)
+++ db/jdo/trunk/api20/test/schema/Negative0-xsd.jdoquery Thu May 31 13:18:10 2007
@@ -19,6 +19,6 @@
 <jdoquery xmlns="http://java.sun.com/xml/ns/jdo/jdoquery"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoquery 
-                         http://java.sun.com/xml/ns/jdo/jdoquery_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/jdoquery_2_1.xsd">
 
 </jdoquery>

Modified: db/jdo/trunk/api20/test/schema/Negative0-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Negative0-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Negative0-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Negative0-xsd.orm Thu May 31 13:18:10 2007
@@ -19,5 +19,5 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 </orm>

Modified: db/jdo/trunk/api20/test/schema/Positive0-xsd.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive0-xsd.jdo?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive0-xsd.jdo (original)
+++ db/jdo/trunk/api20/test/schema/Positive0-xsd.jdo Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <jdo xmlns="http://java.sun.com/xml/ns/jdo/jdo"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
-                         http://java.sun.com/xml/ns/jdo/jdo_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/jdo_2_1.xsd">
     <package name="simple">
         <class name="TestClass"/>
     </package>

Modified: db/jdo/trunk/api20/test/schema/Positive0-xsd.jdoquery
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive0-xsd.jdoquery?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive0-xsd.jdoquery (original)
+++ db/jdo/trunk/api20/test/schema/Positive0-xsd.jdoquery Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <jdoquery xmlns="http://java.sun.com/xml/ns/jdo/jdoquery"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoquery 
-                         http://java.sun.com/xml/ns/jdo/jdoquery_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/jdoquery_2_1.xsd">
     <package name="simple">
         <class name="TestClass">
             <query

Modified: db/jdo/trunk/api20/test/schema/Positive0-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive0-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive0-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive0-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
     <package name="simple">
         <class name="TestClass"/>
     </package>

Modified: db/jdo/trunk/api20/test/schema/Positive1-xsd.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive1-xsd.jdo?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive1-xsd.jdo (original)
+++ db/jdo/trunk/api20/test/schema/Positive1-xsd.jdo Thu May 31 13:18:10 2007
@@ -22,7 +22,7 @@
 <jdo xmlns="http://java.sun.com/xml/ns/jdo/jdo"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
-                         http://java.sun.com/xml/ns/jdo/jdo_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/jdo_2_1.xsd">
     <package name="org.apache.jdo.tck.pc.company">
 
         <class name="Address" embedded-only="true" requires-extent="false"/>

Modified: db/jdo/trunk/api20/test/schema/Positive1-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive1-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive1-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive1-xsd.orm Thu May 31 13:18:10 2007
@@ -22,7 +22,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
     <package name="org.apache.jdo.tck.pc.company">
 
         <class name="Address"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.1-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.1-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.1-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.1-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
     <package name="com.xyz">
         <class name="Address" table="ADDR">
             <field name="street" column="STREET"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.2.1-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.2.1-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.2.1-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.2.1-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Address" table="ADDR">
 			<!-- shared join condition used by fields in DELIV -->

Modified: db/jdo/trunk/api20/test/schema/Positive15.2.2-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.2.2-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.2.2-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.2.2-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Address" table="ADDR">
 			<field name="street" column="STREET"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.3.1-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.3.1-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.3.1-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.3.1-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<field name="ssn" column="SSN"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.3.2-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.3.2-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.3.2-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.3.2-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Department" table="DEP">
  			<field name="name" column="NAME"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.3.3-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.3.3-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.3.3-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.3.3-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<field name="ssn" column="SSN"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.3.4-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.3.4-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.3.4-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.3.4-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<field name="ssn" column="SSN"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.3.5-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.3.5-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.3.5-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.3.5-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<field name="ssn" column="SSN"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.3.6-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.3.6-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.3.6-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.3.6-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
         <package name="com.xyz">
                 <class name="Employee" table="EMP">
                         <field name="ssn" column="SSN"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.4-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.4-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.4-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.4-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<field name="ssn" column="SSN"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.5-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.5-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.5-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.5-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<field name="ssn" column="SSN"/>

Modified: db/jdo/trunk/api20/test/schema/Positive15.6-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.6-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.6-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.6-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Address" table="ADDR">
 			<index name="ADDR_CITYSTATE_IDX">

Modified: db/jdo/trunk/api20/test/schema/Positive15.8.1-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.8.1-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.8.1-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.8.1-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<inheritance strategy="new-table">

Modified: db/jdo/trunk/api20/test/schema/Positive15.8.2-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.8.2-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.8.2-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.8.2-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee" table="EMP">
 			<inheritance strategy="new-table">

Modified: db/jdo/trunk/api20/test/schema/Positive15.8.3-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive15.8.3-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive15.8.3-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive15.8.3-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
 	<package name="com.xyz">
 		<class name="Employee">
 			<inheritance strategy="subclass-table"/>

Modified: db/jdo/trunk/api20/test/schema/Positive99-xsd.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive99-xsd.jdo?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive99-xsd.jdo (original)
+++ db/jdo/trunk/api20/test/schema/Positive99-xsd.jdo Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <jdo xmlns="http://java.sun.com/xml/ns/jdo/jdo"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
-                         http://java.sun.com/xml/ns/jdo/jdo_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/jdo_2_1.xsd">
   <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
   <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
   <package 

Modified: db/jdo/trunk/api20/test/schema/Positive99-xsd.jdoquery
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive99-xsd.jdoquery?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive99-xsd.jdoquery (original)
+++ db/jdo/trunk/api20/test/schema/Positive99-xsd.jdoquery Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <jdoquery xmlns="http://java.sun.com/xml/ns/jdo/jdoquery"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoquery 
-                         http://java.sun.com/xml/ns/jdo/jdoquery_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/jdoquery_2_1.xsd">
   <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
   <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
   <package 

Modified: db/jdo/trunk/api20/test/schema/Positive99-xsd.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api20/test/schema/Positive99-xsd.orm?view=diff&rev=543243&r1=543242&r2=543243
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive99-xsd.orm (original)
+++ db/jdo/trunk/api20/test/schema/Positive99-xsd.orm Thu May 31 13:18:10 2007
@@ -18,7 +18,7 @@
 <orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
-                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+                         http://java.sun.com/xml/ns/jdo/orm_2_1.xsd">
   <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
   <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
   <package