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 [6/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/ d...

Added: xerces/java/branches/xs-1.1-tests/data/psvi/test8.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/psvi/test8.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/psvi/test8.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/psvi/test8.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+   
+  <xs:element name="x" type="X_TYPE"/>
+  
+  <xs:complexType name="X_TYPE">
+     <xs:sequence>
+	    <xs:any processContents="skip"/>
+	 </xs:sequence>
+	 <xs:assert test="a"/>
+  </xs:complexType>
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test8.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test8.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/psvi/test9.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/psvi/test9.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/psvi/test9.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/psvi/test9.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+   
+  <xs:element name="x" type="xs:anyType">
+     <xs:alternative test="@a = 1" type="A_TYPE"/>
+  </xs:element>
+  
+  <xs:complexType name="A_TYPE">
+	 <xs:simpleContent>
+		<xs:extension base="xs:integer">
+		   <xs:attribute name="a" type="xs:integer"/>
+	    </xs:extension>
+	 </xs:simpleContent>
+  </xs:complexType>
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test9.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test9.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/psvi/test9_1.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/psvi/test9_1.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/psvi/test9_1.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/psvi/test9_1.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,3 @@
+<x a="1">
+  5
+</x>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test9_1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test9_1.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/psvi/test9_2.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/psvi/test9_2.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/psvi/test9_2.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/psvi/test9_2.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,3 @@
+<x>
+  hello world
+</x>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test9_2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/psvi/test9_2.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/redefine/v1.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/redefine/v1.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/redefine/v1.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/redefine/v1.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,21 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+    <xs:redefine schemaLocation="v2.xsd">
+	   <xs:simpleType name="T1">
+	      <xs:restriction base="T1">
+	         <xs:maxInclusive value="6"/>
+	      </xs:restriction>
+	   </xs:simpleType>
+	</xs:redefine>
+	
+	<xs:element name="x">
+	   <xs:complexType>
+	      <xs:sequence>
+	         <xs:element ref="a"/>
+		     <xs:element name="b" type="xs:string"/>
+			 <xs:element name="c" type="T1"/>
+	       </xs:sequence>
+	   </xs:complexType>
+	</xs:element>
+	
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v1.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/redefine/v1_1.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/redefine/v1_1.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/redefine/v1_1.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/redefine/v1_1.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,5 @@
+<x>
+  <a>5</a>
+  <b>test...</b>
+  <c>5</c>
+</x>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v1_1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v1_1.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/redefine/v1_2.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/redefine/v1_2.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/redefine/v1_2.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/redefine/v1_2.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,5 @@
+<x>
+  <a>7</a>
+  <b>test...</b>
+  <c>5</c>
+</x>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v1_2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v1_2.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/redefine/v2.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/redefine/v2.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/redefine/v2.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/redefine/v2.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,11 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+    <xs:simpleType name="T1">
+	   <xs:restriction base="xs:integer">
+	      <xs:maxInclusive value="10"/>
+	   </xs:restriction>
+	</xs:simpleType>
+	
+	<xs:element name="a" type="T1"/>
+	
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/redefine/v2.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<BookStore xmlns="http://www.books.org">
+        <Book>
+                <Title>My Life and Times</Title>
+                <Author>Paul McCartney</Author>
+                <Date>1998</Date>
+                <ISBN>1-56592-235-2</ISBN>
+                <Publisher>McMillin Publishing</Publisher>
+                <Author>John Ghostwriter</Author>
+        </Book>
+        <Book>
+                <Publisher>Dell Publishing Co.</Publisher>
+                <Author>Richard Bach</Author>
+                <Date>1977</Date>
+                <ISBN>0-440-34319-4</ISBN>
+                <Title>Illusions The Adventures of a Reluctant Messiah</Title>
+        </Book>
+        <Book>
+                <ISBN>0-06-064831-7</ISBN>
+                <Title>The First and Last Freedom</Title>
+                <Author>J. Krishnamurti</Author>
+                <Date>1954</Date>
+                <Publisher>Harper &amp; Row</Publisher>
+        </Book>
+</BookStore>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="http://www.books.org"
+            xmlns="http://www.books.org"
+            elementFormDefault="qualified">
+
+    <xs:element name="BookStore">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Book" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:all>
+                            <xs:element name="Title" type="xs:string"/>
+                            <xs:element name="Author" type="xs:string" maxOccurs="unbounded"/>
+                            <xs:element name="Date" type="xs:string"/>
+                            <xs:element name="ISBN" type="xs:string"/>
+                            <xs:element name="Publisher" type="xs:string"/>
+                        </xs:all>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v1.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<BookStore xmlns="http://www.books.org">
+        <Book>
+                <Title>My Life and Times</Title>
+                <Author>Paul McCartney</Author>
+                <Date>1998</Date>
+                <ISBN>1-56592-235-2</ISBN>
+                <NumPages>299</NumPages>
+                <Publisher>McMillin Publishing</Publisher>
+                <Author>John Ghostwriter</Author>
+        </Book>
+        <Book>
+                <Publisher>Dell Publishing Co.</Publisher>
+                <Author>Richard Bach</Author>
+                <Date>1977</Date>
+                <ISBN>0-440-34319-4</ISBN>
+                <Title>Illusions The Adventures of a Reluctant Messiah</Title>
+        </Book>
+        <Book>
+                <ISBN>0-06-064831-7</ISBN>
+                <Title>The First and Last Freedom</Title>
+                <Author>J. Krishnamurti</Author>
+                <Date>1954</Date>
+                <Publisher>Harper &amp; Row</Publisher>
+        </Book>
+</BookStore>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="http://www.books.org"
+            xmlns="http://www.books.org"
+            elementFormDefault="qualified">
+
+    <xs:element name="BookStore">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Book" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:all>
+                            <xs:any minOccurs="0"/>
+                            <xs:element name="Title" type="xs:string"/>
+                            <xs:element name="Author" type="xs:string" maxOccurs="unbounded"/>
+                            <xs:element name="Date" type="xs:string"/>
+                            <xs:element name="ISBN" type="xs:string"/>
+                            <xs:element name="Publisher" type="xs:string"/>
+                        </xs:all>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="NumPages" type="xs:nonNegativeInteger" />
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v2.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<BookStore xmlns="http://www.books.org">
+        <Book>
+                <Title>My Life and Times</Title>
+                <Author>Paul McCartney</Author>
+                <Date>1998</Date>
+                <ISBN>1-56592-235-2</ISBN>
+                <Publisher>McMillin Publishing</Publisher>
+                <Author>John Ghostwriter</Author>
+        </Book>
+</BookStore>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="http://www.books.org"
+            xmlns="http://www.books.org"
+            elementFormDefault="qualified">
+
+    <xs:element name="BookStore">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Book" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:all>
+                            <xs:any minOccurs="0"/>
+                            <xs:element ref="Author" maxOccurs="unbounded"/>
+                            <xs:element name="Title" type="xs:string"/>
+                            <xs:element name="Date" type="xs:string"/>
+                            <xs:element name="ISBN" type="xs:string"/>
+                            <xs:element name="Publisher" type="xs:string"/>
+                        </xs:all>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="Author" type="xs:string" />
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/book-store/BookStore_v3.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<juicers xmlns="http://www.juicers.org"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://www.juicers.org
+                             juicers.xsd">
+      <juicer id="mighty-oj" electric="false" type="press">
+          <description>There&apos;s just no substitute for a properly squeezed orange in the morning. So delicate and refreshing. The finest hotels use mechanical juicers of this type for their most discriminating guests. This is the largest selling juicer of its kind. It&apos;s a beautiful little all-metal piece in baked enamel and polished chrome; it even won the Frankfurt Fair Award for its design. Uses no electricity and produces no non-recyclable waste as do frozen juices.</description>
+          <name>OJ Home Juicer</name>
+          <image>images\mighty_oj.gif</image>
+          <cost currency="USD">41.95</cost>
+          <guarantee>lifetime warranty</guarantee>
+          <retailer>http://www.thewhitewhale.com/oj.htm</retailer>
+      </juicer>
+      <juicer id="champion" electric="true" type="gear">
+          <description>The Champion Juicer is the answer to every juicing problem. Because it operates on the mastication process principle, the Champion chews the fibers and breaks up the cells of vegetables and fruits. 
+This give you more fiber, enzymes, vitamins and trace minerals. The juice will be a darker, richer color, with a sweeter, richer more full-bodied flavor.
+</description>
+          <name>Champion Juicer</name>
+          <image>images\champion.gif</image>
+          <cost currency="USD">239.00</cost>
+          <retailer>http://www.grainsandgreens.com/juicerparts.html</retailer>
+      </juicer>
+      <juicer id="green-power" electric="true" type="gear">
+          <description>You are not What You Eat, But What you Absorb.  The rate of absorption of juice has never been considered a factor in comparing juicers. With the introduction of Green Power&apos;s magnetic Twin Gear press, this has now changed. Experiments conducted by the Green Power Co. Research and Development Dept. show the rate of absorption of green juice using dual gear extraction is up to five times greater than using centrifugal extraction.</description>
+          <name>Green Power Gold Juice Extractor</name>
+          <image>images\greenPower.jpg</image>
+          <cost currency="USD">459.99</cost>
+          <retailer>http://www.discountjuicers.com/greencomplete.html</retailer>
+      </juicer>
+      <juicer id="juiceman-jr" electric="true" type="centrifugal">
+          <description>The Juiceman Jr. juicer is the little brother to the Juiceman II juicer that is seen on television. The Juiceman Jr. is a pulp ejection juicer that allows you to juice continuously without having to stop and clean the machine.
+Made popular by Jay Kordich, the Juiceman series of juicers have been a popular addition to millions of households all across this nation. This machine comes ready to use out of the box</description>
+          <warranty>1 yr. Limited Warranty </warranty>
+          <name>Juiceman Jr.</name>
+          <image>images\juiceman.jpg</image>
+          <weight>10</weight>
+          <cost currency="USD">82.00</cost>
+          <retailer>http://www.juicebars.com/juicers/jm1.htm</retailer>
+      </juicer>
+      <juicer id="omega" electric="true" type="centrifugal">
+          <description>This heavy-duty, American-made juicer has a powerful GE motor that spins at 3,600 rpm to extract 20% - 30% more juice than pulp ejector models (according to independent laboratory tests). Large capaciy bowl hold a ful 1-2 quarts of fruits or vegetables - compared to just one pint for many brands. Easy-cleaning design with lift out disposable filter.</description>
+          <name>Omega Juicer</name>
+          <image>images\omega.jpg</image>
+          <cost currency="USD">234.00</cost>
+          <retailer>http://www.boschcanada.com/omega.htm</retailer>
+      </juicer>
+      <juicer id="wheateena" electric="true" type="gear">
+          <description>Wheatgrass juice contains 70% "crude" chlorophyll. Chlorophyll by definition being the green pigment in plants. It is considered the "blood" of plants, due to the similarity to our blood in molecular structure. This juicer extracts the juice out of the blades of wheatgrass. Normal fruit and vegetable juicers will not juice wheatgrass</description>
+          <guarantee>Motor Guarantee: For Home Use: one (1) year. For Commercial Use: six (6) months.</guarantee>
+          <name>Wheateena Wheatgrass Juicer</name>
+          <image>images\wheateena.jpg</image>
+          <weight>46</weight>
+          <cost currency="USD">639.99</cost>
+          <retailer>http://www.rawfoods.com/marketplace/heavyduty.html</retailer>
+      </juicer>
+</juicers>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           targetNamespace="http://www.juicers.org"
+           xmlns="http://www.juicers.org"
+           elementFormDefault="qualified">
+    <xs:element name="warranty" type="xs:string"/>
+    <xs:element name="guarantee" substitutionGroup="warranty" type="xs:string"/>
+    <xs:complexType name="appliance">
+        <xs:all>
+            <xs:element name="description" type="xs:string"/>
+            <xs:element ref="warranty" minOccurs="0"/>
+        </xs:all>
+    </xs:complexType>
+    <xs:complexType name="juiceAppliance">
+        <xs:complexContent>
+            <xs:extension base="appliance">
+                <xs:all>
+                    <xs:element name="name" type="xs:string"/>
+                    <xs:element name="image" type="imageType"/>
+                    <xs:element name="weight" minOccurs="0">
+                        <xs:complexType>
+                            <xs:simpleContent>
+                                <xs:extension base="xs:positiveInteger">
+                                    <xs:attribute name="units" type="xs:string" fixed="pounds"/>
+                                </xs:extension>
+                            </xs:simpleContent>
+                        </xs:complexType>
+                    </xs:element>
+                    <xs:element name="cost">
+                        <xs:complexType>
+                            <xs:simpleContent>
+                                <xs:extension base="money">
+                                    <xs:attribute name="currency" use="required">
+                                        <xs:simpleType>
+                                            <xs:restriction base="xs:string">
+                                                <xs:enumeration value="USD"/>
+                                                <xs:enumeration value="CAD"/>
+                                            </xs:restriction>
+                                        </xs:simpleType>
+                                    </xs:attribute>
+                                </xs:extension>
+                            </xs:simpleContent>
+                        </xs:complexType>
+                    </xs:element>
+                    <xs:element name="retailer" type="xs:anyURI"/>
+                </xs:all>
+                <xs:attribute name="id" type="xs:ID" use="required"/>
+                <xs:attribute name="electric" type="xs:boolean" use="required"/>
+                <xs:attribute name="type" use="required">
+                    <xs:simpleType>
+                        <xs:restriction base="xs:string">
+                            <xs:enumeration value="press"/>
+                            <xs:enumeration value="gear"/>
+                            <xs:enumeration value="centrifugal"/>
+                        </xs:restriction>
+                    </xs:simpleType>
+                </xs:attribute>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+    <xs:element name="juicers">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="juicer" type="juiceAppliance" minOccurs="0" maxOccurs="unbounded"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:simpleType name="money">
+        <xs:restriction base="xs:decimal">
+            <xs:fractionDigits value="2"/>
+        </xs:restriction>
+    </xs:simpleType>
+    <xs:simpleType name="imageType">
+        <xs:restriction base="xs:string">
+            <xs:pattern value="(.)+\.(gif|jpg|jpeg|bmp)"/>
+        </xs:restriction>
+    </xs:simpleType>
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/all/juicers/juicers.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<Example xmlns="http://www.example.org"
+         xmlns:xs="http://www.w3.org/2001/XMLSchema"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation=
+                          "http://www.example.org
+                           Example.xsd">
+
+        <Value xsi:type="xs:string">Hello World</Value>
+        <Value xsi:type="xs:decimal">12.36</Value>
+        <Value xsi:type="xs:boolean">true</Value>
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           targetNamespace="http://www.example.org"
+           xmlns="http://www.example.org"
+           elementFormDefault="qualified">
+
+    <xs:element name="Example">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Value" type="xs:anyAtomicType" maxOccurs="unbounded"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/anyAtomicType/Value/Example.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<Loan-Application xmlns="http://www.NE-auto-insurance.com">
+    <Applicant>
+        <Name>Johnny Brown</Name>
+        <Age>17</Age>
+        <Address>
+            <Street>101 Curl Drive</Street>
+            <City>Burlington</City>
+            <State>VT</State>
+        </Address>
+    </Applicant>
+    <Car>
+        <Make>Mazda</Make>
+        <Model>Miata</Model>
+        <Year>2009</Year>
+    </Car>
+    <Loan-Amount>26000</Loan-Amount>
+</Loan-Application>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        targetNamespace="http://www.NE-auto-insurance.com"
+        elementFormDefault="qualified">
+
+    <element name="Loan-Application">
+        <complexType>
+            <sequence>
+                <element name="Applicant">
+                    <complexType>
+                        <sequence>
+                            <element name="Name" type="string" />
+                            <element name="Age" type="unsignedByte" />
+                            <element name="Address">
+                                <complexType>
+                                    <sequence>
+                                        <element name="Street" type="string" />
+                                        <element name="City" type="string" />
+                                        <element name="State">
+                                            <simpleType>
+                                                <restriction base="string">
+                                                    <enumeration value="CT" />
+                                                    <enumeration value="MA" />
+                                                    <enumeration value="ME" />
+                                                    <enumeration value="NH" />
+                                                    <enumeration value="RI" />
+                                                    <enumeration value="VT" />
+                                                </restriction>
+                                            </simpleType>
+                                        </element>
+                                    </sequence>
+                                </complexType>
+                            </element>
+                        </sequence>
+                        <assert test="if (Address/State eq 'CT') then number(Age) ge 19 else
+                                      if (Address/State eq 'MA') then number(Age) ge 18 else
+                                      if (Address/State eq 'ME') then number(Age) ge 19 else
+                                      if (Address/State eq 'NH') then number(Age) ge 17 else
+                                      if (Address/State eq 'RI') then number(Age) ge 18 else
+                                      if (Address/State eq 'VT') then number(Age) ge 16 else
+                                      false()" xpathDefaultNamespace="##targetNamespace" />
+                    </complexType>
+                </element>
+                <element name="Car">
+                    <complexType>
+                        <sequence>
+                            <element name="Make" type="string" />
+                            <element name="Model" type="string" />
+                            <element name="Year" type="gYear" />
+                        </sequence>
+                    </complexType>
+                </element>
+                <element name="Loan-Amount" type="unsignedInt" />
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application-ns.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<Loan-Application>
+    <Applicant>
+        <Name>Johnny Brown</Name>
+        <Age>17</Age>
+        <Address>
+            <Street>101 Curl Drive</Street>
+            <City>Burlington</City>
+            <State>VT</State>
+        </Address>
+    </Applicant>
+    <Car>
+        <Make>Mazda</Make>
+        <Model>Miata</Model>
+        <Year>2009</Year>
+    </Car>
+    <Loan-Amount>26000</Loan-Amount>
+</Loan-Application>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <element name="Loan-Application">
+        <complexType>
+            <sequence>
+                <element name="Applicant">
+                    <complexType>
+                        <sequence>
+                            <element name="Name" type="string" />
+                            <element name="Age" type="unsignedByte" />
+                            <element name="Address">
+                                <complexType>
+                                    <sequence>
+                                        <element name="Street" type="string" />
+                                        <element name="City" type="string" />
+                                        <element name="State">
+                                            <simpleType>
+                                                <restriction base="string">
+                                                    <enumeration value="CT" />
+                                                    <enumeration value="MA" />
+                                                    <enumeration value="ME" />
+                                                    <enumeration value="NH" />
+                                                    <enumeration value="RI" />
+                                                    <enumeration value="VT" />
+                                                </restriction>
+                                            </simpleType>
+                                        </element>
+                                    </sequence>
+                                </complexType>
+                            </element>
+                        </sequence>
+                        <assert test="if (Address/State eq 'CT') then number(Age) ge 19 else
+                                      if (Address/State eq 'MA') then number(Age) ge 18 else
+                                      if (Address/State eq 'ME') then number(Age) ge 19 else
+                                      if (Address/State eq 'NH') then number(Age) ge 17 else
+                                      if (Address/State eq 'RI') then number(Age) ge 18 else
+                                      if (Address/State eq 'VT') then number(Age) ge 16 else
+                                      false()" />
+                    </complexType>
+                </element>
+                <element name="Car">
+                    <complexType>
+                        <sequence>
+                            <element name="Make" type="string" />
+                            <element name="Model" type="string" />
+                            <element name="Year" type="gYear" />
+                        </sequence>
+                    </complexType>
+                </element>
+                <element name="Loan-Amount" type="unsignedInt" />
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/auto-loan-application.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<Document classification="secret">
+    <Para classification="unclassified">
+          One if by land, two if by sea;
+    </Para>
+    <Para classification="secret">
+          And I on the opposite shore will be,
+          Ready to ride and spread the alarm
+    </Para>
+    <Para classification="unclassified">
+          Ready to ride and spread the alarm
+          Through every Middlesex, village and farm,
+    </Para>
+    <Para classification="secret">
+          For the country folk to be up and to arm.
+    </Para>
+</Document>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+
+    <xs:element name="Document">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Para" type="ParaType" maxOccurs="unbounded">
+                </xs:element>
+            </xs:sequence>
+            <xs:attribute name="classification" type="classificationLevels" use="required"/>
+            <xs:assert test="if (@classification eq 'top-secret') then not(Para/@classification != 'top-secret') else 
+                             if (@classification eq 'secret') then not(Para/@classification = 'top-secret') else
+                             if (@classification eq 'confidential') then not(Para/@classification = 'top-secret') and not(Para/@classification = 'secret') else
+                             if (@classification eq 'unclassified') then not(Para/@classification = 'top-secret') and not(Para/@classification = 'secret') and not(Para/@classification = 'confidential') else
+                             true()" />
+        </xs:complexType>
+    </xs:element>
+
+    <xs:complexType name="ParaType">
+        <xs:simpleContent>
+            <xs:extension base="paraType">
+                <xs:attribute name="classification" type="classificationLevels" use="required"/>				
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+
+    <xs:simpleType name="classificationLevels">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="top-secret"/>
+            <xs:enumeration value="secret"/>
+            <xs:enumeration value="confidential"/>
+            <xs:enumeration value="unclassified"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="paraType">
+        <xs:restriction base="xs:string">
+            <xs:maxLength value="200"/>
+            <xs:pattern value="[\sa-zA-Z0-9,;:\.]*"/>
+            <xs:assertion test="not(contains($value, 'script')) and not(contains($value, 'function'))"/>            
+        </xs:restriction>
+    </xs:simpleType>
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<Document classification="secret">
+    <Para classification="unclassified">
+          One if by land, two if by sea;
+    </Para>
+    <Para classification="secret">
+          And I on the opposite shore will be,
+          Ready to ride and spread the alarm
+    </Para>
+    <Para classification="unclassified">
+          Ready to ride and spread the alarm
+          Through every Middlesex, village and farm,
+    </Para>
+    <Para classification="secret">
+          For the country folk to be up and to arm.
+    </Para>
+</Document>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+
+    <xs:element name="Document">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Para" type="ParaType" maxOccurs="unbounded">
+                </xs:element>
+            </xs:sequence>
+            <xs:attribute name="classification" type="classificationLevels" use="required"/>
+            <xs:assert test="if (@classification eq 'top-secret') then not(Para/@classification != 'top-secret') else 
+                             if (@classification eq 'secret') then not(Para/@classification = 'top-secret') else
+                             if (@classification eq 'confidential') then not(Para/@classification = 'top-secret') and not(Para/@classification = 'secret') else
+                             if (@classification eq 'unclassified') then not(Para/@classification = 'top-secret') and not(Para/@classification = 'secret') and not(Para/@classification = 'confidential') else
+                             true()" />
+        </xs:complexType>
+    </xs:element>
+
+    <xs:complexType name="ParaType">
+        <xs:simpleContent>
+            <xs:extension base="paraType">
+                <xs:attribute name="classification" type="classificationLevels" use="required"/>
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+
+    <xs:simpleType name="classificationLevels">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="top-secret"/>
+            <xs:enumeration value="secret"/>
+            <xs:enumeration value="confidential"/>
+            <xs:enumeration value="unclassified"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="paraType">
+        <xs:restriction base="xs:string">
+            <xs:maxLength value="200"/>
+            <xs:pattern value="[\sa-zA-Z0-9,;:\.]*"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/classification/classification.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Example>
+
+    <Transportation>
+        <mode>air</mode>
+        <airplane>United Airways, flight 608</airplane>
+    </Transportation>
+        
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+
+    <xs:element name="Example">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Transportation">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="mode" type="modeType" />
+                            <xs:choice>
+                                <xs:element name="airplane" type="xs:string" />
+                                <xs:element name="boat" type="xs:string" />
+                                <xs:element name="car" type="xs:string" />
+                            </xs:choice>
+                        </xs:sequence>
+                        <xs:assert test="if (mode eq 'air') then child::airplane else
+                                         if (mode eq 'water') then child::boat else
+                                         if (mode eq 'ground') then child::car else
+                                         false()" />
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:simpleType name="modeType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="air"/>
+            <xs:enumeration value="water"/>
+            <xs:enumeration value="ground"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/conditional-presence/conditional-mode-of-transportation.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Example>
+
+    <couples>
+        <name>Jim</name>
+        <name>Diane</name>
+        <name>Bob</name>
+        <name>Helene</name>
+        <name>Ken</name>
+        <name>Mary</name>
+    </couples>
+        
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <element name="Example">
+        <complexType>
+            <sequence>
+                <element name="couples">
+                    <complexType>
+                        <sequence>
+                            <element name="name" maxOccurs="unbounded" />
+                        </sequence>
+                        <assert test="count(name) mod 2 = 0" />
+                    </complexType>
+                </element>
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/couples/couples.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<ElectionResultsByPercentage>
+     <Candidate name="John">61</Candidate> 
+     <Candidate name="Sara">24</Candidate> 
+     <Candidate name="Bill">15</Candidate>
+</ElectionResultsByPercentage>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <element name="ElectionResultsByPercentage">
+        <complexType>
+            <sequence>
+                <element name="Candidate" maxOccurs="unbounded">
+                    <complexType>
+                        <simpleContent>
+                            <extension base="unsignedByte">
+                                <attribute name="name" type="NMTOKEN" use="required" />
+                            </extension>
+                        </simpleContent>
+                    </complexType>
+                </element>
+            </sequence>
+            <assert test="sum(Candidate) eq 100" />
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/election-results.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Example>
+
+    <even-integer>100</even-integer>
+        
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v1.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v1.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v1.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v1.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <element name="Example">
+        <complexType>
+            <sequence>
+                <element name="even-integer">
+                    <simpleType>
+                        <restriction base="integer">
+                            <assertion test="$value mod 2 = 0" />
+							<maxExclusive value="500" />
+                        </restriction>
+                    </simpleType>
+                </element>
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v1.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v2.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v2.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v2.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v2.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <element name="Example">
+        <complexType>
+            <sequence>
+                <element name="even-integer">
+                    <simpleType>
+                        <restriction base="integer">
+                            <minInclusive value="0" />
+                            <maxInclusive value="100" />
+                            <assertion test="$value mod 2 = 0" />
+                        </restriction>
+                    </simpleType>
+                </element>
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/even-integers/even-integers_v2.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Example>
+
+    <meeting-time>
+        <start-time>08:00:00</start-time>
+        <end-time>09:00:00</end-time>
+    </meeting-time>
+        
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <element name="Example">
+        <complexType>
+            <sequence>
+                <element name="meeting-time">
+                    <complexType>
+                        <sequence>
+                            <element name="start-time" type="time" />
+                            <element name="end-time" type="time" />
+                        </sequence>
+                        <assert test="end-time gt start-time" />
+                    </complexType>
+                </element>
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v1.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Example xmlns="http://www.meeting.org">
+
+    <meeting-time>
+        <start-time>08:00:00</start-time>
+        <end-time>09:00:00</end-time>
+    </meeting-time>
+        
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        targetNamespace="http://www.meeting.org"
+        elementFormDefault="qualified">
+
+    <element name="Example">
+        <complexType>
+            <sequence>
+                <element name="meeting-time">
+                    <complexType>
+                        <sequence>
+                            <element name="start-time" type="time" />
+                            <element name="end-time" type="time" />
+                        </sequence>
+                        <assert test="end-time gt start-time" xpathDefaultNamespace="##targetNamespace" />
+                    </complexType>
+                </element>
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v2.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Example xmlns="http://www.meeting.org"
+         xmlns:t="http://www.times.org">
+
+    <meeting-time>
+        <start-time>08:00:00</start-time>
+        <t:end-time>09:00:00</t:end-time>
+    </meeting-time>
+        
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        targetNamespace="http://www.meeting.org"
+        xmlns:m="http://www.meeting.org"
+        xmlns:t="http://www.times.org"
+        elementFormDefault="qualified">
+
+    <import namespace="http://www.times.org"
+            schemaLocation="times.xsd" />
+
+    <element name="Example">
+        <complexType>
+            <sequence>
+                <element name="meeting-time">
+                    <complexType>
+                        <sequence>
+                            <element name="start-time" type="time" />
+                            <element ref="t:end-time" />
+                        </sequence>
+                        <assert test="t:end-time gt start-time" xpathDefaultNamespace="##targetNamespace"  />
+                    </complexType>
+                </element>
+            </sequence>
+        </complexType>
+    </element>
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/meeting-time_v3.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/times.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/times.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/times.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/times.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        targetNamespace="http://www.times.org"
+        elementFormDefault="qualified">
+
+    <element name="end-time" type="time" />
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/times.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/meeting-time/times.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Example>
+
+    <paragraph>
+        <table>Table 1</table>
+        <paragraph>Paragraph 1</paragraph>
+    </paragraph>
+        
+</Example>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <xs:element name="Example">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="paragraph" type="paragraphType" maxOccurs="unbounded" />
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:complexType name="paragraphType" mixed="true">
+        <xs:sequence>
+            <xs:element name="table" type="xs:string" minOccurs="0" />
+            <xs:element name="paragraph" type="paragraphType" minOccurs="0" />
+        </xs:sequence>
+        <xs:assert test="if (paragraph) then paragraph/preceding-sibling::table else true()" />
+    </xs:complexType>
+
+</xs:schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/paragraph/paragraph.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<Level_1_Manager_Signoffs>
+    <purchase-request>
+        <item>Widget 1</item>
+        <cost>5000</cost>
+    </purchase-request>
+    <purchase-request>
+        <item>Widget 2</item>
+        <cost>1500</cost>
+    </purchase-request>
+</Level_1_Manager_Signoffs>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+           elementFormDefault="qualified">
+
+
+     <element name="Level_1_Manager_Signoffs">
+        <complexType>
+            <sequence>
+                <element name="purchase-request" maxOccurs="unbounded">
+                    <complexType>
+                        <sequence>
+                            <element name="item" type="string" />
+                            <element name="cost" type="decimal" />                                      
+                        </sequence>
+                    </complexType>
+                </element>
+            </sequence>
+            <assert test="not(purchase-request[number(cost) gt 10000])"/>
+        </complexType>
+     </element>
+
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/purchase-requests/Level_1_Manager_Signoffs.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<Todays-Activity weather="sunny">
+     <Beach>Hampton</Beach>
+</Todays-Activity>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xsd
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xsd?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xsd (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xsd Sun Dec 16 09:12:49 2012
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified">
+
+    <element name="Todays-Activity">
+        <complexType>
+            <sequence>
+                <any/>
+            </sequence>
+            <attribute name="weather" type="string" use="required" />
+            <assert test="if (@weather eq 'rainy') then child::Movie else
+                          if (@weather eq 'sunny') then child::Beach else
+                          false()" />
+        </complexType>
+    </element>
+
+    <element name="Movie" type="string" />
+    <element name="Beach" type="string" />
+
+</schema>
\ No newline at end of file

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/todays-activity.xsd
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<BarnesAndNoble>
+        <Book>
+                <Title>My Life and Times</Title>
+                <Author>Paul McCartney</Author>
+                <Date>1998</Date>
+                <ISBN>1-56592-235-2</ISBN>
+                <Publisher>McMillin Publishing</Publisher>
+        </Book>
+        <Book>
+                <Title>Illusions The Adventures of a Reluctant Messiah</Title>
+                <Author>Richard Bach</Author>
+                <Date>1977</Date>
+                <ISBN>0-440-34319-4</ISBN>
+                <Publisher>Dell Publishing Co.</Publisher>
+        </Book>
+        <Book>
+                <Title>The First and Last Freedom</Title>
+                <Author>J. Krishnamurti</Author>
+                <Date>1954</Date>
+                <ISBN>0-06-064831-7</ISBN>
+                <Publisher>Harper &amp; Row</Publisher>
+        </Book>
+</BarnesAndNoble>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble_v2.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble_v2.xml?rev=1422490&view=auto
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble_v2.xml (added)
+++ xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble_v2.xml Sun Dec 16 09:12:49 2012
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<BarnesAndNoble>
+        <Book>
+                <Title>My Life and Times</Title>
+                <Author>Paul McCartney</Author>
+                <Date>1998</Date>
+                <ISBN>1-56592-235-2</ISBN>
+                <Publisher>McMillin Publishing</Publisher>
+        </Book>
+        <Book>
+                <Title>Illusions The Adventures of a Reluctant Messiah</Title>
+                <Author>Richard Bach</Author>
+                <Date>1977</Date>
+                <ISBN>0-440-34319-4</ISBN>
+                <Publisher>Dell Publishing Co.</Publisher>
+        </Book>
+        <Book>
+                <Title>The First and Last Freedom</Title>
+                <Author>J. Krishnamurti</Author>
+                <Date>1954</Date>
+                <ISBN>0-06-064831-7</ISBN>
+                <Publisher>Harper &amp; Row</Publisher>
+        </Book>
+</BarnesAndNoble>

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble_v2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: xerces/java/branches/xs-1.1-tests/data/roger/assertions/whats-the-value-space/BarnesAndNoble_v2.xml
------------------------------------------------------------------------------
    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