You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2012/12/16 10:13:39 UTC
svn commit: r1422490 [10/13] - in /xerces/java/branches/xs-1.1-tests: ./
data/ data/assertions/ data/assertions/ST/ data/assertions/ST/list/
data/assertions/attributes/ data/assertions/defaultValues/
data/assertions/errors/ data/assertions/list_union/ ...
Added: xerces/java/branches/xs-1.1-tests/data/version-control/test49.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/version-control/test49.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/version-control/test49.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/version-control/test49.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,46 @@
+<?xml version='1.0'?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
+
+ <xs:element name="TEST">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="X" type="EMPTY"/>
+ <xs:element name="Y" type="EMPTY" vc:minVersion="1.0" vc:maxVersion="1.1">
+ <xs:annotation>
+ <xs:documentation>
+ This element declaration is available to XML Schema engine only in XSD 1.0 mode.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="Y" type="EMPTY_11" vc:minVersion="1.1">
+ <xs:annotation>
+ <xs:documentation>
+ This element declaration is available to XML Schema engine only in XSD 1.1
+ (and future versions) mode.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="Z" type="union_of_EMPTY_and_INTEGER"/>
+ <xs:element name="U" type="union_of_EMPTY_and_INTEGER"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:simpleType name="EMPTY">
+ <xs:restriction base="xs:string">
+ <xs:maxLength value="0"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="EMPTY_11" vc:minVersion="1.1" xmlns:xerces="http://xerces.apache.org">
+ <xs:restriction base="xs:string">
+ <xs:assertion test="$value = ''" xerces:message="An simple schema type defines the content to be EMPTY"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="union_of_EMPTY_and_INTEGER">
+ <xs:union memberTypes="EMPTY xs:integer"/>
+ </xs:simpleType>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test49.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test49.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/version-control/test5.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/version-control/test5.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/version-control/test5.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/version-control/test5.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<xs:schema xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="A">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="x" type="xs:normalizedString" vc:typeUnavailable="xs:string xs:normalizedString"/>
+ <xs:element name="y" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test5.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test5.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/version-control/test6.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/version-control/test6.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/version-control/test6.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/version-control/test6.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,20 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
+
+ <xs:element name="A">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="x" type="xs:integer" vc:facetUnavailable="xs:assertion" />
+ <xs:element name="x">
+ <xs:simpleType>
+ <xs:restriction base="xs:integer">
+ <xs:assertion test="$value mod 2 = 0" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="y" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test6.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test6.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/version-control/test7.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/version-control/test7.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/version-control/test7.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/version-control/test7.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,18 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
+
+ <xs:element name="A">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="x" type="xs:string"/>
+ <xs:element name="y" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:futureElement vc:minVersion="2.0">
+ <xs:X>
+ <xs:Y/>
+ </xs:X>
+ </xs:futureElement>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test7.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/version-control/test7.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,12 @@
+<X>
+ <a>2</a>
+ <a>3.5</a>
+ <a>NaN</a>
+ <a>2</a>
+ <a>NaN</a>
+ <b>3</b>
+ <b>3</b>
+ <b>3</b>
+ <b>0</b>
+ <b>-0</b>
+</X>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,17 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="X">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="a" type="xs:double" maxOccurs="unbounded"/>
+ <xs:element name="b" type="xs:float" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:assert test="count(distinct-values(a)) eq 3"/>
+ <xs:assert test="deep-equal(distinct-values(a), (2,3.5,xs:double('NaN')))"/>
+ <xs:assert test="count(distinct-values(b)) eq 2"/>
+ <xs:assert test="count(distinct-values(a | b)) eq 5"/>
+ <xs:assert test="b[4] eq b[5]"/>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/floating_point.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,12 @@
+<X>
+ <a>2</a>
+ <a>3</a>
+ <a>1</a>
+ <a>2</a>
+ <a>3</a>
+ <b>2</b>
+ <b>b1</b>
+ <b>2</b>
+ <b>b1</b>
+ <b>b1</b>
+</X>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,19 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="X">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="a" type="xs:integer" maxOccurs="unbounded"/>
+ <xs:element name="b" maxOccurs="unbounded">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer xs:string"/>
+ </xs:simpleType>
+ </xs:element>
+ </xs:sequence>
+ <xs:assert test="deep-equal(distinct-values(a), (2,3,1))"/>
+ <xs:assert test="deep-equal(distinct-values(b), (2,'b1'))"/>
+ <xs:assert test="deep-equal(distinct-values(a | b), (2,3,1,'b1'))"/>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fndistinctvalues.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,14 @@
+<X attr="2 4 5 5 5">
+ <!-- element a's -->
+ <a>2</a>
+ <a>3</a>
+ <a>1</a>
+ <a>2</a>
+ <a>3</a>
+ <!-- element b's -->
+ <b>1</b>
+ <b>a1</b>
+ <b>1</b>
+ <b>a1</b>
+ <b>a2</b>
+</X>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,24 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="X">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="a" type="xs:integer" maxOccurs="unbounded"/>
+ <xs:element name="b" maxOccurs="unbounded">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer xs:string"/>
+ </xs:simpleType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="attr">
+ <xs:simpleType>
+ <xs:list itemType="xs:integer"/>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:assert test="deep-equal(index-of(a, 2), (1,4))"/>
+ <xs:assert test="deep-equal(index-of(@attr, 5), (3,4,5))"/>
+ <xs:assert test="deep-equal(index-of(b, 1), (1,3))"/>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,12 @@
+<X>
+ <a>2</a>
+ <a>3</a>
+ <a>1</a>
+ <a>2</a>
+ <a>3</a>
+ <b>2</b>
+ <b>b1</b>
+ <b>2</b>
+ <b>b1</b>
+ <b>b1</b>
+</X>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,24 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="X">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="a" type="xs:integer" maxOccurs="unbounded"/>
+ <xs:element name="b" maxOccurs="unbounded">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer xs:string"/>
+ </xs:simpleType>
+ </xs:element>
+ </xs:sequence>
+ <xs:assert test="deep-equal(index-of(a, 2), (1,4))"/>
+ <xs:assert test="deep-equal(index-of(b, 2), (1,3))"/>
+ <xs:assert test="deep-equal(index-of(b, 'b1'), (2,4,5))"/>
+ <xs:assert test="deep-equal(index-of(a | b, 2), (1,4,6,8))"/>
+ <xs:assert test="deep-equal(index-of(a | b, 'b1'), (7,9,10))"/>
+ <xs:assert test="deep-equal(distinct-values(a), (2,3,1))"/>
+ <xs:assert test="deep-equal(distinct-values(b), (2,'b1'))"/>
+ <xs:assert test="deep-equal(distinct-values((1,1,'a1','a1')), (1,'a1'))"/>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/fnindexof_1.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<X>
+ <Y>3.3</Y>
+ <Y>10</Y>
+</X>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="X">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Y" maxOccurs="unbounded">
+ <xs:simpleType>
+ <xs:union memberTypes="xs:integer xs:string" />
+ </xs:simpleType>
+ </xs:element>
+ </xs:sequence>
+ <xs:assert test="data(Y[1]) eq '3.3'"/>
+ <xs:assert test="data(Y[2]) eq 10"/>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/typedvalue_1.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/xp1.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/xp1.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/xp1.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/xp1.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,8 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:complexType name="TYP1">
+ <xs:assert test="/X"/>
+ <xs:assert test="X[//Y]"/>
+ </xs:complexType>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/xp1.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/xp1.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/data/xpath/xp2.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/xpath/xp2.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/xpath/xp2.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/xpath/xp2.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,8 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="E1" type="xs:anyType">
+ <xs:alternative test="/E1" type="xs:integer"/>
+ <xs:alternative type="xs:error"/>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/xp2.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/data/xpath/xp2.xsd
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/readme.txt
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/readme.txt?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/readme.txt (added)
+++ xerces/java/branches/xs-1.1-tests/readme.txt Sun Dec 16 09:12:49 2012
@@ -0,0 +1,30 @@
+/*
+ * 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.
+ */
+
+This SVN branch contains unit test cases, related to Xerces XML Schema (XSD) 1.1 functionality.
+
+Configuration notes: These unit tests contain a folder "data" parallel to the "src" folder, that contain the
+XML and XSD documents needed by the unit tests. Before invoking this unit test suite, the following argument
+needs to be provided to the Java VM,
+-Dorg.apache.xerces.tests.dataDir=<path to data directory>
+relative to which the unit tests would retrieve XML and XSD documents.
+
+The class "AllXercesXSD11Tests" is the entry point of this unit test suite.
+
+Acknowledgements:
+These unit tests contain XSD 1.1 examples written by Roger L. Costello (costello@mitre.org), and have been included
+here with the permission from author. Roger's contribution of useful XSD 1.1 examples to this test suite is highly appreciated.
\ No newline at end of file
Propchange: xerces/java/branches/xs-1.1-tests/readme.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/readme.txt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/AllXercesXSD11Tests.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/AllXercesXSD11Tests.java?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/AllXercesXSD11Tests.java (added)
+++ xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/AllXercesXSD11Tests.java Sun Dec 16 09:12:49 2012
@@ -0,0 +1,47 @@
+/*
+ * 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.
+ */
+
+package org.apache.xerces.tests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllXercesXSD11Tests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for org.apache.xerces.tests");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(GenericTests.class);
+ suite.addTestSuite(AssertionTests.class);
+ suite.addTestSuite(TypeAlternativeTests.class);
+ suite.addTestSuite(OpenContentTests.class);
+ suite.addTestSuite(TargetNamespaceTests.class);
+ suite.addTestSuite(ConditionalInclusionTests.class);
+ suite.addTestSuite(SubstitutionGroupTests.class);
+ suite.addTestSuite(AttributeTests.class);
+ suite.addTestSuite(CompositorTests.class);
+ suite.addTestSuite(SimpleTypeTests.class);
+ suite.addTestSuite(RedefineTests.class);
+ suite.addTestSuite(OverrideTests.class);
+ suite.addTestSuite(PSVITests.class);
+ suite.addTestSuite(IDConstraintTests.class);
+ suite.addTestSuite(JiraBugsTests.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
Propchange: xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/AllXercesXSD11Tests.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/AllXercesXSD11Tests.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org