You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2014/04/03 00:23:22 UTC

[1/9] Updated the testing resources.

Repository: incubator-vxquery
Updated Branches:
  refs/heads/prestonc/hash_join c813b097f -> 16f26a651


http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/AggregatePartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/AggregatePartition1Queries.xml b/vxquery-xtest/tests/cat/AggregatePartition1Queries.xml
deleted file mode 100644
index b058d7d..0000000
--- a/vxquery-xtest/tests/cat/AggregatePartition1Queries.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="AggregatePartition1Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>Aggregate Partition 1</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="aggregate-partition-1-avg" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
-      <query name="avg" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">avg.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-1-count" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
-      <query name="count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-1-min" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 1 partition.</description>
-      <query name="min" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">min.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-1-max" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 1 partition.</description>
-      <query name="max" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">max.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-1-sum" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 1 partition.</description>
-      <query name="sum" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">sum.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/AggregatePartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/AggregatePartition2Queries.xml b/vxquery-xtest/tests/cat/AggregatePartition2Queries.xml
deleted file mode 100644
index a4ac807..0000000
--- a/vxquery-xtest/tests/cat/AggregatePartition2Queries.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="AggregatePartition2Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>Aggregate Partition 2</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="aggregate-partition-2-avg" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 2 partition.</description>
-      <query name="avg" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">avg.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-2-count" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 2 partition.</description>
-      <query name="count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-2-min" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 2 partition.</description>
-      <query name="min" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">min.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-2-max" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 2 partition.</description>
-      <query name="max" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">max.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-2-sum" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 2 partition.</description>
-      <query name="sum" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">sum.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/AggregatePartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/AggregatePartition4Queries.xml b/vxquery-xtest/tests/cat/AggregatePartition4Queries.xml
deleted file mode 100644
index d920d31..0000000
--- a/vxquery-xtest/tests/cat/AggregatePartition4Queries.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="AggregatePartition4Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>Aggregate Partition 4</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="aggregate-partition-4-avg" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 4 partition.</description>
-      <query name="avg" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">avg.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-4-count" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 4 partition.</description>
-      <query name="count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-4-min" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 4 partition.</description>
-      <query name="min" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">min.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-4-max" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 4 partition.</description>
-      <query name="max" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">max.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="aggregate-partition-4-sum" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 4 partition.</description>
-      <query name="sum" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">sum.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndCountPartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndCountPartition1Queries.xml b/vxquery-xtest/tests/cat/GhcndCountPartition1Queries.xml
deleted file mode 100644
index 515738e..0000000
--- a/vxquery-xtest/tests/cat/GhcndCountPartition1Queries.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndCountPartition1Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Count Partition 1</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q02" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
-      <query name="q02_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q03" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 1 partition.</description>
-      <query name="q03_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q05" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 1 partition.</description>
-      <query name="q05_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q07" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 1 partition.</description>
-      <query name="q07_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07_count.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndCountPartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndCountPartition2Queries.xml b/vxquery-xtest/tests/cat/GhcndCountPartition2Queries.xml
deleted file mode 100644
index 8bb590b..0000000
--- a/vxquery-xtest/tests/cat/GhcndCountPartition2Queries.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndCountPartition2Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Count Partition 2</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q02" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 2 partitions.</description>
-      <query name="q02_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q03" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 2 partitions.</description>
-      <query name="q03_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q05" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 2 partitions.</description>
-      <query name="q05_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q07" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 2 partitions.</description>
-      <query name="q07_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07_count.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndCountPartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndCountPartition4Queries.xml b/vxquery-xtest/tests/cat/GhcndCountPartition4Queries.xml
deleted file mode 100644
index ff75d3a..0000000
--- a/vxquery-xtest/tests/cat/GhcndCountPartition4Queries.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndCountPartition4Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Count Partition 4</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q02" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 4 partitions.</description>
-      <query name="q02_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q03" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 4 partitions.</description>
-      <query name="q03_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q05" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 4 partitions.</description>
-      <query name="q05_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05_count.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q07" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 4 partitions.</description>
-      <query name="q07_count" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07_count.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndPartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndPartition1Queries.xml b/vxquery-xtest/tests/cat/GhcndPartition1Queries.xml
deleted file mode 100644
index 1237971..0000000
--- a/vxquery-xtest/tests/cat/GhcndPartition1Queries.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndPartition1Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Partition 1</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q00" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q00 from the weather benchmark with 1 partition.</description>
-      <query name="q00" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q00.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q01" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q01 from the weather benchmark with 1 partition.</description>
-      <query name="q01" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q01.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q02" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q02 from the weather benchmark with 1 partition.</description>
-      <query name="q02" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q03" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q03 from the weather benchmark with 1 partition.</description>
-      <query name="q03" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q04" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q04 from the weather benchmark with 1 partition.</description>
-      <query name="q04" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q04.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q05" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q05 from the weather benchmark with 1 partition.</description>
-      <query name="q05" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q06" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q06 from the weather benchmark with 1 partition.</description>
-      <query name="q06" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q06.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-1-q07" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q07 from the weather benchmark with 1 partition.</description>
-      <query name="q07" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml b/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml
deleted file mode 100644
index 86b5cf0..0000000
--- a/vxquery-xtest/tests/cat/GhcndPartition2Queries.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndPartition1Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Partition 1</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q00" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q00 from the weather benchmark with 2 partitions.</description>
-      <query name="q00" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q00.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q01" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q01 from the weather benchmark with 2 partitions.</description>
-      <query name="q01" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q01.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q02" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q02 from the weather benchmark with 2 partitions.</description>
-      <query name="q02" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q03" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q03 from the weather benchmark with 2 partitions.</description>
-      <query name="q03" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q04" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q04 from the weather benchmark with 2 partitions.</description>
-      <query name="q04" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q04.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q05" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q05 from the weather benchmark with 2 partitions.</description>
-      <query name="q05" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q06" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q06 from the weather benchmark with 2 partitions.</description>
-      <query name="q06" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q06.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-2-q07" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q07 from the weather benchmark with 2 partitions.</description>
-      <query name="q07" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml b/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml
deleted file mode 100644
index 232a7b0..0000000
--- a/vxquery-xtest/tests/cat/GhcndPartition4Queries.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndPartition4Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Partition 4</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q00" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q00 from the weather benchmark with 4 partitions.</description>
-      <query name="q00" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q00.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q01" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q01 from the weather benchmark with 4 partitions.</description>
-      <query name="q01" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q01.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q02" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q02 from the weather benchmark with 4 partitions.</description>
-      <query name="q02" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q03" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q03 from the weather benchmark with 4 partitions.</description>
-      <query name="q03" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q04" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q04 from the weather benchmark with 4 partitions.</description>
-      <query name="q04" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q04.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q05" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q05 from the weather benchmark with 4 partitions.</description>
-      <query name="q05" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q06" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q06 from the weather benchmark with 4 partitions.</description>
-      <query name="q06" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q06.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-partition-4-q07" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Execution of q07 from the weather benchmark with 4 partitions.</description>
-      <query name="q07" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndRecordsPartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndRecordsPartition1Queries.xml b/vxquery-xtest/tests/cat/GhcndRecordsPartition1Queries.xml
deleted file mode 100644
index 0c22422..0000000
--- a/vxquery-xtest/tests/cat/GhcndRecordsPartition1Queries.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndRecordsPartition1Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Records Partition 1</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q02" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
-      <query name="q02_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q03" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 1 partition.</description>
-      <query name="q03_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q05" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 1 partition.</description>
-      <query name="q05_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q07" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 1 partition.</description>
-      <query name="q07_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07_records.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndRecordsPartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndRecordsPartition2Queries.xml b/vxquery-xtest/tests/cat/GhcndRecordsPartition2Queries.xml
deleted file mode 100644
index 929ff28..0000000
--- a/vxquery-xtest/tests/cat/GhcndRecordsPartition2Queries.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndRecordsPartition2Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Records Partition 2</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q02" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 2 partitions.</description>
-      <query name="q02_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q03" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 2 partitions.</description>
-      <query name="q03_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q05" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 2 partitions.</description>
-      <query name="q05_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q07" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 2 partitions.</description>
-      <query name="q07_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07_records.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/cat/GhcndRecordsPartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/cat/GhcndRecordsPartition4Queries.xml b/vxquery-xtest/tests/cat/GhcndRecordsPartition4Queries.xml
deleted file mode 100644
index 03eea78..0000000
--- a/vxquery-xtest/tests/cat/GhcndRecordsPartition4Queries.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndRecordsPartition4Queries" featureOwner="VXQuery">
-   <GroupInfo>
-      <title>GHCND Records Partition 4</title>
-      <description/>
-   </GroupInfo>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q02" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q02 from the weather benchmark with 4 partitions.</description>
-      <query name="q02_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q02_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q03" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q03 from the weather benchmark with 4 partitions.</description>
-      <query name="q03_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q03_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q05" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q05 from the weather benchmark with 4 partitions.</description>
-      <query name="q05_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q05_records.txt</output-file>
-   </test-case>
-   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q07" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
-      <description>Count records returned for q07 from the weather benchmark with 4 partitions.</description>
-      <query name="q07_records" date="2014-04-01"/>
-      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-      <output-file role="principal" compare="Text">q07_records.txt</output-file>
-   </test-case>
-</test-group>
\ No newline at end of file


[3/9] Updated the testing resources.

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml b/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml
deleted file mode 100644
index e076557..0000000
--- a/vxquery-xtest/tests/XQTSCatalogSecondEdition.xml
+++ /dev/null
@@ -1,3816 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="XQTSCatalog.xsl" ?><test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CatalogDesignDate="2003-04-03" version="1.0.3" SourceOffsetPath="./" ResultOffsetPath="ExpectedTestResults/" XQueryQueryOffsetPath="Queries/XQuery/" XQueryXQueryOffsetPath="Queries/XQueryX/" XQueryFileExtension=".xq" XQueryXFileExtension=".xqx" xsi:schemaLocation="http://www.w3.org/2005/02/query-test-XQTSCatalog XQTSCatalog.xsd">
-<xqts:test-suite-info xmlns:xqts="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:atom="http://www.w3.org/2005/Atom">
-<xqts:title>XQTS 1.0.3 Second Edition Subset</xqts:title>
-<xqts:description>
-            Test Suite for XQuery 1.0 Second Edition.
-            This catalog contains only test cases that reflect changes made in XQuery 1.0 Second Edition.
-            This XQTS subset was generated on 09/17/2010 15:10.
-         </xqts:description>
-</xqts:test-suite-info>
-<citations>
-<citation-spec name="XQuery">
-<description last-mod="2007-01-23">XQuery 1.0: An XML Query Language</description>
-<spec-URI>http://www.w3.org/TR/xquery/</spec-URI>
-</citation-spec>
-<citation-spec name="FuncOps">
-<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Functions and Operators</description>
-<spec-URI>http://www.w3.org/TR/xpath-functions/</spec-URI>
-</citation-spec>
-<citation-spec name="DataModel">
-<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Data Model</description>
-<spec-URI>http://www.w3.org/TR/xpath-datamodel/</spec-URI>
-</citation-spec>
-<citation-spec name="FormalSemantics">
-<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Formal Semantics</description>
-<spec-URI>http://www.w3.org/TR/xquery-semantics/</spec-URI>
-</citation-spec>
-<citation-spec name="SchemaPart2">
-<description last-mod="2003-03-25">XML Schema Part 2: Datatypes</description>
-<spec-URI>http://www.w3.org/TR/xmlschema-2/</spec-URI>
-</citation-spec>
-<citation-spec name="Schema-Errata">
-<description last-mod="2003-03-25">XML Schema Errata</description>
-<note>Current practice is to have one Errata document for all parts of Schema.</note>
-<spec-URI>http://www.w3.org/2001/05/xmlschema-errata</spec-URI>
-</citation-spec>
-<citation-spec name="UseCases">
-<description last-mod="2006-07-12">XML Query Use Cases</description>
-<spec-URI>http://www.w3c.org/TR/xquery-use-cases/</spec-URI>
-</citation-spec>
-<citation-spec name="XQueryX">
-<description last-mod="2007-01-23">XML Syntax for XQuery 1.0 (XQueryX)</description>
-<spec-URI>http://www.w3.org/TR/xqueryx/</spec-URI>
-</citation-spec>
-<citation-spec name="Serialization">
-<description last-mod="2007-01-23">XSLT 2.0 and XQuery 1.0 Serialization</description>
-<spec-URI>http://www.w3.org/TR/xslt-xquery-serialization/</spec-URI>
-</citation-spec>
-</citations>
-<comparisons>
-<comparison name="XML">
-<description last-mod="2003-03-25">The XML InfoSets should be canonicalized and compared.</description>
-</comparison>
-<comparison name="Fragment">
-<description last-mod="2004-10-20">
-            A 'fragment' refers to an XML based instance which has multiple top-level elements and NO XML declaration.
-            The comparator for this should simply wrap the entire fragment in a container element and perform XML comparison.
-         </description>
-</comparison>
-<comparison name="Text">
-<description last-mod="2003-03-25">
-            Each line of non-whitespace text should match. New-line sequences
-            may vary and should be neutralized. Due to issues with the XML serialization of certain characters (e.g. '&lt;'),
-            it is not possible to simply compare the actual and expected results. Rather (as is the case with the 'Fragment' comparator)
-            the test harness should convert the results into valid XML (by adding a container element) and perform comparison
-            on the XML canonicalized versions of the results.
-         </description>
-</comparison>
-<comparison name="Ignore">
-<description last-mod="2003-03-25">
-            Only the presence/absence of this file is significant,
-            not its content.
-         </description>
-</comparison>
-<comparison name="Inspect">
-<description last-mod="2003-03-25">
-            Automated comparison is not possible. the output should be
-            inspected by a human.
-         </description>
-</comparison>
-</comparisons>
-<roles>
-<role name="principal-data">
-<description last-mod="2003-03-25">
-            This is the source that is handed in to the processor as the
-            initial input sequence, setting the "evaluation context" as described in XQuery chapter 2.
-         </description>
-</role>
-<role name="supplemental-data">
-<description last-mod="2003-03-25">
-            These are sources that may be read by functions such as
-            fn:document() as the query is evaluated.
-         </description>
-</role>
-<role name="schema">
-<description last-mod="2003-03-25">
-            These are schema definitions that may be referenced by sources
-            or in the query.
-         </description>
-</role>
-<role name="dtd">
-<description last-mod="2003-03-25">
-            These are dtd definitions that may be referenced by sources
-            or in the query.
-         </description>
-</role>
-<role name="principal">
-<description last-mod="2003-03-25">
-            This is an output (either text or XML) that will contain the
-            query results. If the processor invocation sequence accepts a filename for results, this name may be
-            passed, possibly prefixed by a partial directory path to allow storage of the results in a separate
-            directory tree.
-         </description>
-</role>
-<role name="console-log">
-<description last-mod="2003-03-25">
-            This is an output (text file tagged .log) that will contain the
-            captured "console" output for a command-line invocation, or equivalent messages from a harness. The
-            main goal is to capture error messages that came from the processor.
-         </description>
-<note>
-            A test lab may choose to capture console output for every test case, in which case the presence
-            of this element is a signal that the console log of this test contains messages that are significant to
-            the pass/fail determination.
-         </note>
-</role>
-</roles>
-<scenarios>
-<scenario name="standard">
-<description last-mod="2005-06-10">
-            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-</scenario>
-<scenario name="parse-error">
-<description last-mod="2005-06-10">
-            A query this is expected to raise a parsing/syntax error at query parse time. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-</scenario>
-<scenario name="runtime-error">
-<description last-mod="2005-06-10">
-            A query this is expected to raise a runtime error at query parse time. Runtime errors in this case include those raised by static typing rules. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-</scenario>
-<scenario name="trivial">
-<description last-mod="2006-03-29">
-            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
-            The initial query returns an &lt;xqx:xquery&gt; element (Trivial Embedding of XQuery).
-            This embedded query is then executed to produce the final result.
-         </description>
-</scenario>
-</scenarios>
-<sources>
-<source ID="XQTSCatalog" FileName="XQTSCatalog.xml" Creator="XQuery Test Task Force" schema="XQTSCatalogxsd">
-<description last-mod="2005-04-14">XQuery Test Suite Catalog</description>
-</source>
-<source ID="bib2" FileName="TestSources/bib2.xml" Creator="spec-authors">
-<description last-mod="2003-03-25">Bibliography example with extra comments and PIs.</description>
-</source>
-<source ID="emptydoc" FileName="TestSources/emptydoc.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Contains just a "doc" element, no comments/text/PIs.</description>
-</source>
-<source ID="fsx" FileName="TestSources/fsx.xml" Creator="Mike Rorke">
-<description last-mod="2003-03-25">Data about a filesystem represented in XML.</description>
-</source>
-<source ID="fsx_NS" FileName="TestSources/fsx_NS.xml" Creator="Mike Rorke">
-<description last-mod="2003-03-25">Data about a filesystem represented in XML with namespace-qualified names.</description>
-</source>
-<source ID="MixNS" FileName="TestSources/MixNS.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Small tree with element names in mixed namespaces.</description>
-<note>Use @index to identify elements precisely.</note>
-</source>
-<source ID="nw_Customers" FileName="TestSources/nw_Customers.xml" Creator="Kuen Siew">
-<description last-mod="2003-03-25">Customer name/address file with some non-ASCII characters.</description>
-</source>
-<source ID="TopMany" FileName="TestSources/TopMany.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Like TreeCompass, but with comments and PIs off the root. PI targets vary.</description>
-<note>All text nodes must have non-whitespace characters.</note>
-</source>
-<source ID="Tree1Child" FileName="TestSources/Tree1Child.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has just one child, of an abnormal name, off the center node.</description>
-<note>One attribute each on west and center.</note>
-</source>
-<source ID="Tree1Text" FileName="TestSources/Tree1Text.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has just a text node and no child element off the center node.</description>
-</source>
-<source ID="TreeCompass" FileName="TestSources/TreeCompass.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A tree intended to allow many kinds of path expressions.</description>
-<note>Need multiple attributes on center, west, and south, plus @mark scattered around.</note>
-<note>Mix of text and element children in many places, but east should have only a text node.</note>
-<note>All text nodes must have non-whitespace characters.</note>
-<note>Top element is far-north.</note>
-</source>
-<source ID="TreeEmpty" FileName="TestSources/TreeEmpty.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has just one "south" element at the top, bearing one "mark" attribute.</description>
-</source>
-<source ID="TreeRepeat" FileName="TestSources/TreeRepeat.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has center elements off the real center node.</description>
-<note>Use @mark to distinguish center elements.</note>
-<note>"Real" center must have multiple element children, some with duplicate names (south-east).</note>
-<note>Repeating attribute names used, including same name on elements of the same name.</note>
-<note>Comments and text nodes are strewn about. All text nodes must have non-whitespace characters.</note>
-</source>
-<source ID="TreeStack" FileName="TestSources/TreeStack.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has several "south" elements, some stacked within each other.</description>
-<note>Use "mark" attributes at several levels and on all south elements.</note>
-</source>
-<source ID="TreeTrunc" FileName="TestSources/TreeTrunc.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has no content at all in center or west, no attributes anywhere.</description>
-</source>
-<source ID="xq311A" FileName="TestSources/xq311A.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Data that fits first example in XQuery 3.11.</description>
-</source>
-<source ID="xq311B" FileName="TestSources/xq311B.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Data that fits later examples in XQuery 3.11.</description>
-</source>
-<source ID="DupNode" FileName="TestSources/DupNode.xml" Creator="Andreas Behm">
-<description last-mod="2005-04-26">Simple document with all node kinds</description>
-</source>
-<source ID="inscope" FileName="TestSources/inscope.xml" Creator="Andreas Behm">
-<description last-mod="2005-08-26">Simple document with namespaces</description>
-</source>
-<source ID="nsmode" FileName="TestSources/nsmode.xml" Creator="Andreas Behm">
-<description last-mod="2005-04-26">Source document for namespace copy modes</description>
-</source>
-<source ID="works" FileName="TestSources/works.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-03-04">Data for various NIST tests</description>
-</source>
-<source ID="examples" FileName="TestSources/examples.xml" Creator="Carmelo Montanez" schema="examplesxsd">
-<description last-mod="2006-05-19">Data for fn-data-1 test.</description>
-</source>
-<source ID="works-mod" FileName="TestSources/works-mod.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-03-04">Data for various NIST tests (abbreviated, unabbreviated syntax)</description>
-</source>
-<source ID="lang" FileName="TestSources/lang.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-10-19">Data for fn:lang tests.</description>
-</source>
-<source ID="staff" FileName="TestSources/staff.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-03-04">Data for various NIST tests</description>
-</source>
-<source ID="acme_corp" FileName="TestSources/acme_corp.xml" Creator="Ravindranath Chennoju">
-<description last-mod="2005-08-30">Source document for Function Declaration tests</description>
-</source>
-<source ID="bib" FileName="TestSources/bib.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="reviews" FileName="TestSources/reviews.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="books" FileName="TestSources/books.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="prices" FileName="TestSources/prices.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="book" FileName="TestSources/book.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query TREE use cases</description>
-</source>
-<source ID="report1" FileName="TestSources/report1.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query SEQ use cases</description>
-</source>
-<source ID="items" FileName="TestSources/items.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-</source>
-<source ID="bids" FileName="TestSources/bids.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-</source>
-<source ID="users" FileName="TestSources/users.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-</source>
-<source ID="string" FileName="TestSources/string.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
-</source>
-<source ID="company-data" FileName="TestSources/company-data.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
-</source>
-<source ID="auction" FileName="TestSources/auction.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query NS use cases</description>
-</source>
-<source ID="partlist" FileName="TestSources/partlist.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query PARTS use cases</description>
-</source>
-<source ID="sgml" FileName="TestSources/sgml.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query SGML use cases</description>
-</source>
-<source ID="atomic" FileName="TestSources/atomic.xml" Creator="Carmelo Montanez" schema="atomicxsd">
-<description last-mod="2005-03-08">A Schema validated xml file, that contains values for data types. Can be used by any test.</description>
-</source>
-<source ID="id-idref-dtd" FileName="TestSources/iddtd.xml" Creator="Carmelo Montanez">
-<description last-mod="2006-06-28">A DTD validated xml file, that contains data for the ID/IDREF function tests.</description>
-</source>
-<source ID="atomicns" FileName="TestSources/atomicns.xml" Creator="Carmelo Montanez">
-<description last-mod="2006-03-15">A non schema validated xml file, that contains values for data types. Can be used by any test.</description>
-</source>
-<source ID="orderData" FileName="TestSources/orderData.xml" Creator="Carmelo Montanez" schema="orderDataxsd">
-<description last-mod="2005-06-01">A Schema validated xml file, that contains values for some of the order by tests generated by NIST.</description>
-</source>
-<source ID="id-idref" FileName="TestSources/id.xml" Creator="Carmelo Montanez" schema="idxsd">
-<description last-mod="2006-05-12">Data for id and idref related functions (schema-based).</description>
-</source>
-<source ID="id-idref2" FileName="TestSources/id2.xml" Creator="Michael Kay" schema="idxsd">
-<description last-mod="2009-03-06">More data for id and idref related functions (schema-based).</description>
-</source>
-<source ID="SpecialTypes" FileName="TestSources/SpecialTypes.xml" Creator="Mike Rorke" schema="SpecialTypesXSD">
-<description last-mod="2005-06-01">A Schema validated XML file containing certain special types e.g. interleave types, union types, anySimpleType</description>
-</source>
-<source ID="QNameSource" FileName="TestSources/QName-source.xml" Creator="Mike Rorke" schema="QNameSourceXSD">
-<description last-mod="2005-09-28">A schema validated XML file containing QName and QName derived types.</description>
-</source>
-<source ID="notation" FileName="TestSources/notation.xml" Creator="Andreas Behm" schema="notationschema">
-<description last-mod="2005-10-10">A Scehma validated xml file with NOTATION elements</description>
-</source>
-<source ID="textWithSpaces" FileName="TestSources/textWithSpaces.xml" Creator="Joanne Tong">
-<description last-mod="2005-09-29">Data for normalize-space functions</description>
-</source>
-<source ID="XMarkAuction" FileName="TestSources/XMarkAuction.xml" Creator="Frans Englich">
-<description last-mod="2007-03-09">Source file generated XML Benchmark Project's xmlgen utility. See http://www.xml-benchmark.org/.</description>
-</source>
-<source ID="CPPGlobals" FileName="TestSources/CPPGlobals.xml" Creator="Frans Englich">
-<description last-mod="2007-06-27">The declarations of a C++ file described in XML.</description>
-</source>
-<source ID="MainWindow" FileName="TestSources/MainWindow.ui" Creator="Frans Englich">
-<description last-mod="2007-07-09">A description of an graphical user interface.</description>
-</source>
-<source ID="ComplexWhitespace" FileName="TestSources/ComplexWhitespace.xml" Creator="Frans Englich">
-<description last-mod="2007-07-09">A file containing different forms of whitespace.</description>
-</source>
-<source ID="SpaceBracket" FileName="TestSources/SpaceBracket.xml" Creator="Frans Englich">
-<description last-mod="2007-12-20">A file containing ' ]' as a text node.</description>
-</source>
-<source ID="HighUnicode" FileName="TestSources/HighUnicode.xml" Creator="Frans Englich">
-<description last-mod="2007-12-20">Corner case unicode codepoints.</description>
-</source>
-<source ID="HighUnicode2" FileName="TestSources/HighUnicode2.xml" Creator="Frans Englich">
-<description last-mod="2007-12-21">Corner case unicode codepoints, second case.</description>
-</source>
-<source ID="BCIsInvalid" FileName="TestSources/BCisInvalid.xml" Creator="Frans Englich">
-<description last-mod="2007-12-21">An element name containing 0xBC.</description>
-</source>
-<source ID="InvalidUmlaut" FileName="TestSources/InvalidUmlaut.xml" Creator="Frans Englich">
-<description last-mod="2007-12-27">Contains the codepoint 188 in an NCName.</description>
-</source>
-<source ID="NamespaceSuppliedInternally" FileName="TestSources/NamespaceSuppliedInternally.xml" Creator="Frans Englich">
-<description last-mod="2007-12-27">A namespace declared with a namespace declaration, as well as in the internal subset.</description>
-</source>
-<source ID="XMLIdDuplicated" FileName="TestSources/XMLIdDuplicated.xml" Creator="Frans Englich">
-<description last-mod="2008-01-15">An XML file which has two xml:id attributes with the same value.</description>
-</source>
-<source ID="InvalidXMLId" FileName="TestSources/InvalidXMLId.xml" Creator="Frans Englich">
-<description last-mod="2008-01-15">An XML file which has an invalid xml:id attribute.</description>
-</source>
-<source ID="UsingXMLId" FileName="TestSources/UsingXMLId.xml" Creator="Frans Englich">
-<description last-mod="2008-01-15">An XML file which has xml:id attributes.</description>
-</source>
-<source ID="Books2" FileName="TestSources/Books2.xml" Creator="Frans Englich">
-<description last-mod="2008-01-17">An XML which is in ISO-8859-1 encoding.</description>
-</source>
-<source ID="QObject" FileName="TestSources/QObject.xml" Creator="Frans Englich">
-<description last-mod="2008-02-19"/>
-</source>
-<source ID="Char010D" FileName="TestSources/0x010D.xml" Creator="Frans Englich">
-<description last-mod="2008-02-28"/>
-</source>
-<source ID="SmallTree" FileName="TestSources/SmallTree.xml" Creator="Frans Englich">
-<description last-mod="2008-04-03"/>
-</source>
-<source ID="AttributesAndElements" FileName="TestSources/AttributesAndElements.xml" Creator="Frans Englich">
-<description last-mod="2008-04-03"/>
-</source>
-<source ID="functx_prices" FileName="TestSources/functx_prices.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_order" FileName="TestSources/functx_order.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_cats" FileName="TestSources/functx_cats.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_catalog" FileName="TestSources/functx_catalog.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_book" FileName="TestSources/functx_book.xml" Creator="Frans Englich">
-<description last-mod="2008-06-25"/>
-</source>
-<source ID="badxml" FileName="TestSources/badxml.xml" Creator="Frans Englich">
-<description last-mod="2008-05-19"/>
-</source>
-<source ID="builtinEntities" FileName="TestSources/builtinEntities.xml" Creator="Frans Englich">
-<description last-mod="2008-05-26"/>
-</source>
-<source ID="XMLIdWhitespace" FileName="TestSources/XMLIdWhitespace.xml" Creator="Frans Englich">
-<description last-mod="2008-05-27"/>
-</source>
-<source ID="XMLIDMany" FileName="TestSources/XMLIDMany.xml" Creator="Frans Englich">
-<description last-mod="2008-10-24"/>
-</source>
-<source ID="OneTopElement" FileName="TestSources/OneTopElement.xml" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01"/>
-</source>
-<source ID="namespace-sensitive" FileName="TestSources/namespace-sensitive.xml" schema="namespace-sensitive-schema" Creator="Oliver Hallam">
-<description last-mod="2007-02-26">Document containing namespace-sensitive constructs.</description>
-</source>
-<source ID="dm-e005" FileName="TestSources/dm-e005.xml" schema="dm-e005-schema" Creator="Norm Walsh">
-<description last-mod="2010-03-10">Document to test erratum DM.E05.</description>
-</source>
-<source ID="extendedTypes" FileName="TestSources/extendedTypes.xml" schema="extendedTypes-schema" Creator="Oliver Hallam">
-<description last-mod="2010-03-17">Document containing elements with various restricted and extended types.</description>
-</source>
-<source ID="mixed" FileName="TestSources/mixed.xml" schema="mixedcontent" Creator="Oliver Hallam">
-<description last-mod="2010-03-17">Document containing an element with mixed content but statically could have element only content.</description>
-</source>
-<schema ID="XQTSCatalogxsd" uri="http://www.w3.org/2005/02/query-test-XQTSCatalog" FileName="XQTSCatalog.xsd">
-<description last-mod="2005-04-14">Schema for XQTSCatalog</description>
-</schema>
-<schema ID="atomicxsd" uri="http://www.w3.org/XQueryTest" FileName="TestSources/atomic.xsd">
-<description last-mod="2005-03-08">A Schema for atomic.xml</description>
-</schema>
-<schema ID="orderDataxsd" uri="http://www.w3.org/XQueryTestOrderBy" FileName="TestSources/orderData.xsd">
-<description last-mod="2005-06-01">A Schema for orderData.xml</description>
-</schema>
-<schema ID="SpecialTypesXSD" uri="http://www.example.com/typedecl" FileName="TestSources/SpecialTypes.xsd">
-<description last-mod="2005-06-01">A Schema containing certain special types e.g. interleave types, union types, anySimpleType</description>
-</schema>
-<schema ID="QNameSourceXSD" uri="http://www.example.com/QNameXSD" FileName="TestSources/QName-schema.xsd">
-<description last-mod="2005-09-28">A schema containing QName and QName derived types</description>
-</schema>
-<schema ID="notationschema" uri="http://www.example.com/notation" FileName="TestSources/notationschema.xsd">
-<description last-mod="2005-10-10">A Schema for NOTATION data</description>
-</schema>
-<schema ID="idxsd" uri="http://www.w3.org/XQueryTest/ididrefs" FileName="TestSources/id.xsd">
-<description last-mod="2009-03-06">A schema for the id/idref functions tests</description>
-</schema>
-<schema ID="simplexsd" uri="http://www.w3.org/XQueryTest/simple" FileName="TestSources/simple.xsd">
-<description last-mod="2005-12-07">A schema for simple context tests</description>
-</schema>
-<schema ID="examplesxsd" uri="http://www.w3.org/XQueryTest/someExamples" FileName="TestSources/examples.xsd">
-<description last-mod="2006-05-19">A schema for examples.xml.</description>
-</schema>
-<schema ID="userdefined" uri="http://www.w3.org/XQueryTest/userDefinedTypes" FileName="TestSources/userdefined.xsd">
-<description last-mod="2006-04-03">A schema user defined types and constructor tests</description>
-</schema>
-<schema ID="listunion" uri="http://www.w3.org/XQueryTest/ListUnionTypes" FileName="TestSources/listunion.xsd">
-<description last-mod="2006-06-07">A schema defining a list of unions.</description>
-</schema>
-<schema ID="examples2xsd" uri="http://www.w3.org/XQueryTest/someExamples2" FileName="TestSources/examples2.xsd">
-<description last-mod="2009-10-01">Test schema for Errata XQ.E6.</description>
-</schema>
-<schema ID="attribute" uri="http://www.w3.org/XQueryTest/sample" FileName="TestSources/attribute.xsd">
-<description last-mod="2009-04-01">Test schema that contains an attribute declaration.</description>
-</schema>
-<schema ID="mixedcontent" uri="http://www.w3.org/XQueryTest/mixedcontent" FileName="TestSources/mixedcontent.xsd">
-<description last-mod="2009-04-01">Test schema that contains two complex types, one of them with a mixed content.</description>
-</schema>
-<schema ID="simpleContent" uri="http://www.w3.org/query-test/complexSimple" FileName="TestSources/simpleContent.xsd">
-<description last-mod="2009-11-20">Schema for complex types with
-         simple content</description>
-</schema>
-<schema ID="namespace-sensitive-schema" uri="http://www.example.com/test/namespace-sensitive" FileName="TestSources/namespace-sensitive.xsd">
-<description last-mod="2007-02-26">Schema illustrating various namespace-sensitive constructs.</description>
-</schema>
-<schema ID="dm-e005-schema" uri="http://www.example.com/ns/test" FileName="TestSources/dm-e005.xsd">
-<description last-mod="2010-03-10">Schema to test erratum DM.E05.</description>
-</schema>
-<schema ID="xq-e18-schema" uri="http://www.example.com/ns/test/xq-e18" FileName="TestSources/xq-e18.xsd">
-<description last-mod="2010-03-11">Schema to test erratum XQ.E18.</description>
-</schema>
-<schema ID="extendedTypes-schema" uri="http://www.example.com/XQueryTest/extendedTypes" FileName="TestSources/extendedTypes.xsd">
-<description last-mod="2010-03-17">Schema containing extended and restricted types.</description>
-</schema>
-<schema ID="constraints" uri="http://www.w3.org/constraints" FileName="TestSources/constraints.xsd">
-<description last-mod="2010-06-10">Schema with unique/id/idref constraints.</description>
-</schema>
-<collection ID="collection1" Creator="Andrew Eisenberg">
-<description last-mod="2006-06-07">A simple collection of documents.</description>
-<input-document>bib</input-document>
-<input-document>reviews</input-document>
-</collection>
-<collection ID="collection2" Creator="Andrew Eisenberg">
-<description last-mod="2006-06-07">A simple collection of documents.</description>
-<input-document>bib</input-document>
-<input-document>reviews</input-document>
-<input-document>books</input-document>
-</collection>
-<module ID="module1-lib" FileName="TestSources/module1-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-07-13">Library module for "modules-18" query</description>
-</module>
-<module ID="module2-lib" FileName="TestSources/module2-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-07-13">Library module for "modules-18" query</description>
-</module>
-<module ID="empty-lib" FileName="TestSources/empty-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module for "modules-none" query</description>
-</module>
-<module ID="emptyns-lib" FileName="TestSources/emptyns-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with empty namespace</description>
-</module>
-<module ID="test1-lib" FileName="TestSources/test1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Simple library module</description>
-</module>
-<module ID="test2-lib" FileName="TestSources/test2-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-01-19">Library module with namespace URI set to empty string.</description>
-</module>
-<module ID="test1a-lib" FileName="TestSources/test1a-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Simple library module</description>
-</module>
-<module ID="test1collide1-lib" FileName="TestSources/test1collide1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with colliding definitions</description>
-</module>
-<module ID="test1collide2-lib" FileName="TestSources/test1collide2-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with colliding definitions</description>
-</module>
-<module ID="test1c1-lib" FileName="TestSources/test1c1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with circular includes</description>
-</module>
-<module ID="test2c1-lib" FileName="TestSources/test2c1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with circular includes</description>
-</module>
-<module ID="context-lib" FileName="TestSources/context-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with interesting context</description>
-</module>
-<module ID="module-defs" FileName="TestSources/moduleDefs-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-01-06">Library module with definitions for various NIST tests.</description>
-</module>
-<module ID="modulewrongprefix-lib" FileName="TestSources/moduleDefs-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-03-21">Library module with invalid namespace prefix ("xml")</description>
-</module>
-<module ID="modulesdiffns" FileName="TestSources/modulesdiffns-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-04-11">Library module with variable on different namespace than target.</description>
-</module>
-<module ID="errata6-module1" FileName="TestSources/errata6-module1" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module2" FileName="TestSources/errata6-module2" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module4" FileName="TestSources/errata6-module4" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module5" FileName="TestSources/errata6-module5" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module6" FileName="TestSources/errata6-module6" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module7" FileName="TestSources/errata6-module7" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata8-module1a" FileName="TestSources/errata8-module1a" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module1b" FileName="TestSources/errata8-module1b" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module2a" FileName="TestSources/errata8-module2a" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module2b" FileName="TestSources/errata8-module2b" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module3a" FileName="TestSources/errata8-module3a" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies pass case.</description>
-</module>
-<module ID="errata8-module3b" FileName="TestSources/errata8-module3b" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies pass case.</description>
-</module>
-<module ID="module3-lib" FileName="TestSources/module3-lib" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with simple and schema-element() types, used for functions'parameters and return results.</description>
-</module>
-<module ID="module4-lib" FileName="TestSources/module4-lib" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with schema-attribute() types, used for functions' parameters and return results.</description>
-</module>
-<module ID="modules-recursive1" FileName="TestSources/modules-recursive1" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
-</module>
-<module ID="modules-recursive2" FileName="TestSources/modules-recursive2" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
-</module>
-<module ID="module-pub-priv" FileName="TestSources/module-pub-priv" Creator="Michael Kay">
-<description last-mod="2009-10-01">Module that contains both private and public function declarations (XQuery 1.1).</description>
-</module>
-</sources>
-<implementation-defined-items>
-<implementation-defined-item name="expressionUnicode" spec="XQuery">
-<description last-mod="2005-04-04">The version of Unicode that is used to construct expressions.</description>
-</implementation-defined-item>
-<implementation-defined-item name="collations" spec="XQuery">
-<description last-mod="2005-04-04">The statically-known collations.</description>
-</implementation-defined-item>
-<implementation-defined-item name="implicitTimezone" spec="XQuery">
-<description last-mod="2005-04-04">The implicit timezone.</description>
-</implementation-defined-item>
-<implementation-defined-item name="warningsMethod" spec="XQuery">
-<description last-mod="2005-04-04">The circumstances in which warnings are raised, and the ways in which warnings are handled.</description>
-</implementation-defined-item>
-<implementation-defined-item name="errorsMethod" spec="XQuery">
-<description last-mod="2005-04-04">The method by which errors are reported to the external processing environment.</description>
-</implementation-defined-item>
-<implementation-defined-item name="XMLVersion" spec="XQuery">
-<description last-mod="2005-10-10">Whether the implementation is based on the rules of [XML 1.0] and [XML Names] or the rules of [XML 1.1] and [XML Names 1.1]. One of these sets of rules must be applied consistently by all aspects of the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="overwrittenContextComponents" spec="XQuery">
-<description last-mod="2005-04-04">Any components of the static context or dynamic context that are overwritten or augmented by the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="axes" spec="XQuery">
-<description last-mod="2005-04-04">Which of the optional axes are supported by the implementation, if the Full-Axis Feature is not supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="defaultOrderEmpty" spec="XQuery">
-<description last-mod="2005-04-04">The default handling of empty sequences returned by an ordering key (sortspec) in an order by clause (empty least or empty greatest).</description>
-</implementation-defined-item>
-<implementation-defined-item name="pragmas" spec="XQuery">
-<description last-mod="2005-04-04">The names and semantics of any extension expressions (pragmas) recognized by the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="optionDeclarations" spec="XQuery">
-<description last-mod="2005-04-04">The names and semantics of any option declarations recognized by the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="externalFunctionProtocols" spec="XQuery">
-<description last-mod="2005-04-04">Protocols (if any) by which parameters can be passed to an external function, and the result of the function can returned to the invoking query.</description>
-</implementation-defined-item>
-<implementation-defined-item name="moduleLocationHints" spec="XQuery">
-<description last-mod="2005-11-01">The process by which the specific modules to be imported by a module import are identified, if the Module Feature is supported (includes processing of location hints, if any.)</description>
-</implementation-defined-item>
-<implementation-defined-item name="staticTypingExtensions" spec="XQuery">
-<description last-mod="2005-04-04">Any static typing extensions supported by the implementation, if the Static Typing Feature is supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="serializationInvocation" spec="XQuery">
-<description last-mod="2005-04-04">The means by which serialization is invoked, if the Serialization Feature is supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="serializationDefaults" spec="XQuery">
-<description last-mod="2005-10-10">The default values for the byte-order-mark, encoding, media-type, normalization-form, omit-xml-declaration, standalone, and version parameters, if the Serialization Feature is supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="externalFunctionCall" spec="XQuery">
-<description last-mod="2006-08-09">The result of an unsuccessful call to an external function (for example, if the function implementation cannot be found or does not return a value of the declared type).</description>
-</implementation-defined-item>
-<implementation-defined-item name="limits" spec="XQuery">
-<description last-mod="2005-11-01">Limits on ranges of values for various data types, as enumerated in 5.3 Data Model Conformance.</description>
-</implementation-defined-item>
-<implementation-defined-item name="traceDestination" spec="FuncOps">
-<description last-mod="2005-10-10">The destination of the trace output is implementation-defined. See 4 The Trace Function.</description>
-</implementation-defined-item>
-<implementation-defined-item name="integerOperations" spec="FuncOps">
-<description last-mod="2005-10-10">For xs:integer operations, implementations that support limited-precision integer operations must either raise an error [err:FOAR0002] or provide an implementation-defined mechanism that allows users to choose between raising an error and returning a result that is modulo the largest representable integer value. See 6.2 Operators on Numeric Values.</description>
-</implementation-defined-item>
-<implementation-defined-item name="decimalDigits" spec="FuncOps">
-<description last-mod="2005-11-01">For xs:decimal values the number of digits of precision returned by the numeric operators is implementation-defined. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
-</implementation-defined-item>
-<implementation-defined-item name="roundOrTruncate" spec="FuncOps">
-<description last-mod="2005-10-10">If the number of digits in the result exceeds the number of digits that the implementation supports, the result is truncated or rounded in an implementation-defined manner. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
-</implementation-defined-item>
-<implementation-defined-item name="Unicode" spec="FuncOps">
-<description last-mod="2005-11-01">It is implementation-defined which version of Unicode is supported by the features defined in this specification, but it is recommended that the most recent version of Unicode be used. See 7.1 String Types.</description>
-</implementation-defined-item>
-<implementation-defined-item name="normalizationForms" spec="FuncOps">
-<description last-mod="2005-10-10">For 7.4.6 fn:normalize-unicode, conforming implementations must support normalization form "NFC" and may support normalization forms "NFD", "NFKC", "NFKD", "FULLY-NORMALIZED". They may also support other normalization forms with implementation-defined semantics.</description>
-</implementation-defined-item>
-<implementation-defined-item name="collationUnits" spec="FuncOps">
-<description last-mod="2005-10-10">The ability to decompose strings into collation units suitable for substring matching is an implementation-defined property of a collation. See 7.5 Functions Based on Substring Matching.</description>
-</implementation-defined-item>
-<implementation-defined-item name="secondsDigits" spec="FuncOps">
-<description last-mod="2005-10-10">All minimally conforming processors must support year values with a minimum of 4 digits (i.e., YYYY) and a minimum fractional second precision of 1 millisecond or three digits (i.e., s.sss). However, conforming processors may set larger implementation-defined limits on the maximum number of digits they support in these two situations. See 10.1.1 Limits and Precision.</description>
-</implementation-defined-item>
-<implementation-defined-item name="stringToDecimal" spec="FuncOps">
-<description last-mod="2006-08-09">The result of casting a string to xs:decimal, when the resulting value is not too large or too small but nevertheless has too many decimal digits to be accurately represented, is implementation-defined. See 17.1.1 Casting from xs:string and xs:untypedAtomic.</description>
-</implementation-defined-item>
-<implementation-defined-item name="docProcessing" spec="FuncOps">
-<description last-mod="2005-10-10">Various aspects of the processing provided by 15.5.4 fn:doc are implementation-defined. Implementations may provide external configuration options that allow any aspect of the processing to be controlled by the user.</description>
-</implementation-defined-item>
-<implementation-defined-item name="weakenStable" spec="FuncOps">
-<description last-mod="2006-08-09">The manner in which implementations provide options to weaken the stable characteristic of 15.5.6 fn:collection and 15.5.4 fn:doc are implementation-defined.</description>
-</implementation-defined-item>
-<implementation-defined-item name="additionalTypes" spec="DataModel">
-<description last-mod="2005-04-04">Support for additional user-defined or implementation-defined types is implementation-defined. (See 2.6.1 Representation of Types)</description>
-</implementation-defined-item>
-<implementation-defined-item name="undefinedProperties" spec="DataModel">
-<description last-mod="2005-04-04">Some typed values in the data model are undefined. Attempting to access an undefined property is always an error. Behavior in these cases is implementation-defined and the host language is responsible for determining the result. (See 5 Accessors)</description>
-</implementation-defined-item>
-<implementation-defined-item name="sequenceNormalization" spec="Serialization">
-<description last-mod="2005-04-04">For any implementation-defined output method, it is implementation-defined whether sequence normalization process takes place. (See 2 Sequence Normalization)</description>
-</implementation-defined-item>
-<implementation-defined-item name="outputMethods" spec="Serialization">
-<description last-mod="2005-04-04">If the namespace URI is non-null for the method serialization parameter, then the parameter specifies an implementation-defined output method. (See 3 Serialization Parameters)</description>
-</implementation-defined-item>
-<implementation-defined-item name="normalizationFormBehavior" spec="Serialization">
-<description last-mod="2005-04-04">If the value of the normalization-form form parameter is not NFC, NFD, NFKC, NFKD, fully-normalized, or none then the meaning of the value and it's effect is implementation-defined. (See 4 Phases of Serialization)</description>
-</implementation-defined-item>
-<implementation-defined-item name="additionalParams" spec="Serialization">
-<description last-mod="2005-11-01">The effect of additional serialization parameters on the output of the serializer, where the name of such a parameter must be namespace-qualified, is implementation-defined or implementation-dependent. The extent of this effect on the output must not override the provisions of this specification. (See 3 Serialization Parameters)</description>
-</implementation-defined-item>
-<implementation-defined-item name="encodingPhase" spec="Serialization">
-<description last-mod="2005-04-04">The effect of providing an option that allows the encoding phase to be skipped, so that the result of serialization is a stream of Unicode characters, is implementation-defined. The serializer is not required to support such an option. (See 4 Phases of Serialization)</description>
-</implementation-defined-item>
-<implementation-defined-item name="CDATASerialization" spec="Serialization">
-<description last-mod="2005-04-04">An serializer may provide an implementation-defined mechanism to place CDATA sections in the result tree. (See 5.1.4 XML Output Method: the cdata-section-elements Parameter)</description>
-</implementation-defined-item>
-</implementation-defined-items>
-<features>
-<feature name="Minimal Conformance"/>
-<feature name="Schema Import"/>
-<feature name="Schema Validation"/>
-<feature name="Static Typing"/>
-<feature name="Static Typing Extensions"/>
-<feature name="Full Axis"/>
-<feature name="Module"/>
-<feature name="Serialization"/>
-</features>
-<context-properties>
-<context-property name="Statically known namespaces" context-type="static"/>
-<context-property name="Default element/type namespace" context-type="static"/>
-<context-property name="Default function namespace" context-type="static"/>
-<context-property name="In-scope schema types" context-type="static"/>
-<context-property name="In-scope element declarations" context-type="static"/>
-<context-property name="In-scope attribute declarations" context-type="static"/>
-<context-property name="In-scope variables" context-type="static"/>
-<context-property name="Context item static type" context-type="static"/>
-<context-property name="Function signatures" context-type="static"/>
-<context-property name="Statically known collations" context-type="static"/>
-<context-property name="Default collation" context-type="static"/>
-<context-property name="Construction mode" context-type="static"/>
-<context-property name="Ordering mode" context-type="static"/>
-<context-property name="Default order for empty sequences" context-type="static"/>
-<context-property name="Boundary-space policy" context-type="static"/>
-<context-property name="Copy-namespaces mode" context-type="static"/>
-<context-property name="Base URI" context-type="static"/>
-<context-property name="Statically known documents" context-type="static"/>
-<context-property name="Statically known collections" context-type="static"/>
-<context-property name="Statically known default collection type" context-type="static"/>
-<context-property name="Context item" context-type="dynamic"/>
-<context-property name="Context position" context-type="dynamic"/>
-<context-property name="Context size" context-type="dynamic"/>
-<context-property name="Variable values" context-type="dynamic"/>
-<context-property name="Function implementations" context-type="dynamic"/>
-<context-property name="Current dateTime" context-type="dynamic"/>
-<context-property name="Implicit timezone" context-type="dynamic"/>
-<context-property name="Available documents" context-type="dynamic"/>
-<context-property name="Available collections" context-type="dynamic"/>
-<context-property name="Default collection" context-type="dynamic"/>
-</context-properties>
-<xqts:test-group xmlns:xqts="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:atom="http://www.w3.org/2005/Atom" name="MinimalConformance">
-<xqts:GroupInfo>
-<xqts:title>Minimal Conformance</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-</xqts:test-group>
-<xqts:test-group xmlns:xqts="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:atom="http://www.w3.org/2005/Atom" name="XQuery2ed">
-<xqts:GroupInfo>
-<xqts:title>Optional Features</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<xqts:test-group name="DM.E002">
-<xqts:GroupInfo>
-<xqts:title>DM.E002</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validate-sc-1" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-1" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-1.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-2" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-2" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-2.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-4" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-4" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-4.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-5" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-5" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-5.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-6" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-6" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-6.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-7" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-7" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-7.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-8" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-8" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-8.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" Creator="Mary Holstege" name="validateexpr-sc-9" FilePath="SchemaValidation/ValidateExpression/" scenario="standard">
-<description>Test validation of elements of simple content</description>
-<spec-citation spec="DataModel" section-number="3.3.1.2" section-title="Typed Value Determination" section-pointer="TypedValueDetermination"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4413</reflects-resolution>
-<query name="validateexpr-sc-9" date="2009-11-20"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<!-- role=schema forbidden by DTD, but this is the schema to use:
-     <input-file role="schema" variable="dummy">simpleContent</input-file> -->
-<output-file role="principal" compare="Fragment">validateexpr-sc-9.txt</output-file>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="DM.E005">
-<xqts:GroupInfo>
-<xqts:title>DM.E005</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="false" name="validateexpr-27" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Norm Walsh">
-<description>Test Bug 4519, [DM] Definition of is-id property</description>
-<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
-<spec-citation spec="DataModel" section-number="6.3.4" section-title="Construction from a PSVI" section-pointer="const-psvi-attribute"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4519</reflects-resolution>
-<query name="validateexpr-27" date="2010-03-10"/>
-<input-file role="principal-data" variable="input-context">dm-e005</input-file>
-<output-file role="principal" compare="XML">validateexpr-27.xml</output-file>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="FO.E1">
-<xqts:GroupInfo>
-<xqts:title>FO.E1</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="true" name="fn-resolve-uri-24" FilePath="Functions/URIFunc/ResolveURIFunc/" scenario="runtime-error" Creator="Michael Kay">
-<description>Evaluation of "fn:resolve-uri" function with second argument ($base) being a relative URI. See erratum FO.E1</description>
-<spec-citation spec="FuncOps" section-number="8.1" section-title="fn:resolve-uri" section-pointer="func-resolve-uri"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4373</reflects-resolution>
-<query name="fn-resolve-uri-24" date="2010-01-04"/>
-<expected-error>FORG0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" name="fn-resolve-uri-25" FilePath="Functions/URIFunc/ResolveURIFunc/" scenario="standard" Creator="Michael Kay">
-<description>Evaluation of "fn:resolve-uri" function with first argument ($relative) being an absolute URI and
-                   second argument ($base) being a relative URI. See erratum FO.E1</description>
-<spec-citation spec="FuncOps" section-number="8.1" section-title="fn:resolve-uri" section-pointer="func-resolve-uri"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4373</reflects-resolution>
-<query name="fn-resolve-uri-25" date="2010-01-04"/>
-<output-file role="principal" compare="Text">fn-resolve-uri-25.txt</output-file>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="FO.E4">
-<xqts:GroupInfo>
-<xqts:title>FO.E4</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-11" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-11" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-12" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#2).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-12" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-13" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-13" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-14" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-14" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-4" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-4" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-5" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#2).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-5" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-6" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-6" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-7" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-7" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-8" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Since no string is captured by the back-reference, the single character is matched.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-MatchesFunc-8" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-9" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Since no string is captured by the back-reference, the single character is matched(#2).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-MatchesFunc-9" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-10" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>A non-matching backwards-reference matches the empty string.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-MatchesFunc-10" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-3" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference that isn't preceeded by sufficiently many captures, and therefore match the empty sequence.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-ReplaceFunc-3" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="FO.E6">
-<xqts:GroupInfo>
-<xqts:title>FO.E6</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-232" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:gYear to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-232" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-232.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-254" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:gDay to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-254" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-254.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-269" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:gMonth to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-269" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-269.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-284" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:gYearMonth to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-284" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-284.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-305" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:gMonthDay to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-305" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-305.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-341" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:dateTime to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-341" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-341.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-366" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:time to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-366" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-366.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K-SeqExprCast-402" FilePath="Expressions/exprSeqTypes/SeqExprCast/" scenario="standard">
-<description>Ensure casting xs:date to xs:string, with timezone '+00:00' is properly handled.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4471</reflects-resolution>
-<query name="K-SeqExprCast-402" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">K-SeqExprCast-402.txt</output-file>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="FO.E7">
-<xqts:GroupInfo>
-<xqts:title>FO.E7</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="true" name="fn-matches-26" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Andrew Eisenberg">
-<description>Check for the correct behavior of ^ and $ in multi-line mode</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
-<query name="fn-matches-26" date="2006-09-25"/>
-<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-<output-file role="principal" compare="Text">fn-matches-26.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" name="fn-matches-27" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Andrew Eisenberg">
-<description>Check for the correct behavior of ^ and $ in multi-line mode</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
-<query name="fn-matches-27" date="2006-09-25"/>
-<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-<output-file role="principal" compare="Text">fn-matches-27.txt</output-file>
-</test-case>
-<test-case is-XPath2="false" name="fn-matches-28" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Andrew Eisenberg">
-<description>Check for the correct behavior of ^ and $ in multi-line mode</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
-<query name="fn-matches-28" date="2006-09-25"/>
-<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-<output-file role="principal" compare="Text">fn-matches-28.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" name="fn-matches-29" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Michael Kay">
-<description>Two digits not treated as back-reference</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
-<query name="fn-matches-29" date="2009-03-05"/>
-<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-<output-file role="principal" compare="Text">fn-matches-29.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" name="fn-matches-30" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Michael Kay">
-<description>Two digits treated as back-reference</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4543</reflects-resolution>
-<query name="fn-matches-30" date="2009-03-05"/>
-<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-<output-file role="principal" compare="Text">fn-matches-30.txt</output-file>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="FO.E12">
-<xqts:GroupInfo>
-<xqts:title>FO.E12</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="true" name="op-multiply-yearMonthDuration-1" FilePath="Expressions/Operators/ArithExpr/DurationArith/YearMonthDurationMultiply/" scenario="standard" Creator="Carmelo Montanez">
-<description>Evaluates the "op:multiply-yearMonthDuration" operator as per example 1 (for this function) of the Functions and Operators spec.</description>
-<spec-citation spec="FuncOps" section-number="10.6.3" section-title="op:multiply-yearMonthDuration" section-pointer="func-multiply-yearMonthDuration"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4621</reflects-resolution>
-<query name="op-multiply-yearMonthDuration-1" date="2005-06-29"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">op-multiply-yearMonthDuration-1.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" name="op-multiply-yearMonthDuration-20" FilePath="Expressions/Operators/ArithExpr/DurationArith/YearMonthDurationMultiply/" scenario="standard" Creator="Michael Kay, Saxonica">
-<description>Tests rounding of the result of the "op:multiply-yearMonthDuration" operator. See erratum E12.</description>
-<spec-citation spec="FuncOps" section-number="10.6.3" section-title="op:multiply-yearMonthDuration" section-pointer="func-multiply-yearMonthDuration"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4621</reflects-resolution>
-<query name="op-multiply-yearMonthDuration-20" date="2009-03-05"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">op-multiply-yearMonthDuration-20.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" name="op-divide-yearMonthDuration-17" FilePath="Expressions/Operators/ArithExpr/DurationArith/YearMonthDurationDivide/" scenario="standard" Creator="Michael Kay">
-<description>Tests rounding behaviour for the "op:divide-yearMonthDuration" function, see erratum FO.E12.</description>
-<spec-citation spec="FuncOps" section-number="10.6.4" section-title="op:divide-yearMonthDuration" section-pointer="func-divide-yearMonthDuration"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4621</reflects-resolution>
-<query name="op-divide-yearMonthDuration-17" date="2009-03-05"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<output-file role="principal" compare="Text">op-divide-yearMonthDuration-17.txt</output-file>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="FO.E13">
-<xqts:GroupInfo>
-<xqts:title>FO.E13</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="false" name="validateexpr-27" FilePath="SchemaValidation/ValidateExpression/" scenario="standard" Creator="Norm Walsh">
-<description>Test Bug 4519, [DM] Definition of is-id property</description>
-<spec-citation spec="XQuery" section-number="3.13" section-title="Validate Expressions" section-pointer="id-validate"/>
-<spec-citation spec="DataModel" section-number="6.3.4" section-title="Construction from a PSVI" section-pointer="const-psvi-attribute"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4519</reflects-resolution>
-<query name="validateexpr-27" date="2010-03-10"/>
-<input-file role="principal-data" variable="input-context">dm-e005</input-file>
-<output-file role="principal" compare="XML">validateexpr-27.xml</output-file>
-</test-case>
-</xqts:test-group>
-<xqts:test-group name="FO.E24">
-<xqts:GroupInfo>
-<xqts:title>FO.E24</xqts:title>
-<xqts:description/>
-</xqts:GroupInfo>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-11" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-11" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-12" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#2).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-12" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-13" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-13" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-14" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-MatchesFunc-14" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-4" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-4" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-5" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#2).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-5" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-6" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-6" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-7" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference inside a character class(#3).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106</reflects-resolution>
-<query name="K2-ReplaceFunc-7" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-8" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Since no string is captured by the back-reference, the single character is matched.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-MatchesFunc-8" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-9" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>Since no string is captured by the back-reference, the single character is matched(#2).</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-MatchesFunc-9" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-MatchesFunc-10" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error">
-<description>A non-matching backwards-reference matches the empty string.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-MatchesFunc-10" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" Creator="Frans Englich" name="K2-ReplaceFunc-3" FilePath="Functions/AllStringFunc/MatchStringFunc/ReplaceFunc/" scenario="runtime-error">
-<description>Use a back reference that isn't preceeded by sufficiently many captures, and therefore match the empty sequence.</description>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=4634</reflects-resolution>
-<query name="K2-ReplaceFunc-3" date="2007-11-26+01:00"/>
-<input-file role="principal-data" variable="input-context">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" name="fn-matches-35" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error" Creator="Zhen Hua  Liu">
-<description>Test for bug fix of 5348 in Errata for FO</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
-<query name="fn-matches-35" date="2009-11-15"/>
-<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-<expected-error>FORX0002</expected-error>
-</test-case>
-<test-case is-XPath2="true" name="fn-matches-36" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="standard" Creator="Zhen Hua  Liu">
-<description>Test for bug fix of 5348 in Errata for FO</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348</reflects-resolution>
-<query name="fn-matches-36" date="2009-11-15"/>
-<input-file role="principal-data" variable="input-context1">emptydoc</input-file>
-<output-file role="principal" compare="Text">fn-matches-36.txt</output-file>
-</test-case>
-<test-case is-XPath2="true" name="fn-matches-37" FilePath="Functions/AllStringFunc/MatchStringFunc/MatchesFunc/" scenario="runtime-error" Creator="Zhen Hua  Liu">
-<description>Test for bug fix of 5348 in Errata for FO</description>
-<spec-citation spec="FuncOps" section-number="7.6.2" section-title="fn:matches" section-pointer="func-matches"/>
-<reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5348<

<TRUNCATED>

[9/9] git commit: Updated the testing resources.

Posted by pr...@apache.org.
Updated the testing resources.


Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/16f26a65
Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/16f26a65
Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/16f26a65

Branch: refs/heads/prestonc/hash_join
Commit: 16f26a6510ffc2780ec5a01dd85d16da4223b4be
Parents: c813b09
Author: Preston Carman <pr...@apache.org>
Authored: Wed Apr 2 15:23:10 2014 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Wed Apr 2 15:23:10 2014 -0700

----------------------------------------------------------------------
 .../apache/vxquery/xtest/TestCaseFactory.java   |   14 +-
 .../java/org/apache/vxquery/xtest/XTest.java    |    2 +-
 .../org/apache/vxquery/xtest/XTestOptions.java  |    4 +-
 .../Aggregate/Partition-1/avg.txt               |    1 +
 .../Aggregate/Partition-1/count.txt             |    1 +
 .../Aggregate/Partition-1/max.txt               |    1 +
 .../Aggregate/Partition-1/min.txt               |    1 +
 .../Aggregate/Partition-1/sum.txt               |    1 +
 .../Aggregate/Partition-2/avg.txt               |    1 +
 .../Aggregate/Partition-2/count.txt             |    1 +
 .../Aggregate/Partition-2/max.txt               |    1 +
 .../Aggregate/Partition-2/min.txt               |    1 +
 .../Aggregate/Partition-2/sum.txt               |    1 +
 .../Aggregate/Partition-4/avg.txt               |    1 +
 .../Aggregate/Partition-4/count.txt             |    1 +
 .../Aggregate/Partition-4/max.txt               |    1 +
 .../Aggregate/Partition-4/min.txt               |    1 +
 .../Aggregate/Partition-4/sum.txt               |    1 +
 .../Ghcnd/Partition-1/q00.txt                   |    2 +
 .../Ghcnd/Partition-1/q01.txt                   |    1 +
 .../Ghcnd/Partition-1/q02.txt                   |    1 +
 .../Ghcnd/Partition-1/q03.txt                   |    1 +
 .../Ghcnd/Partition-1/q04.txt                   |    3 +
 .../Ghcnd/Partition-1/q05.txt                   |    1 +
 .../Ghcnd/Partition-1/q06.txt                   |    3 +
 .../Ghcnd/Partition-1/q07.txt                   |    1 +
 .../Ghcnd/Partition-2/q00.txt                   |    2 +
 .../Ghcnd/Partition-2/q01.txt                   |    1 +
 .../Ghcnd/Partition-2/q02.txt                   |    1 +
 .../Ghcnd/Partition-2/q03.txt                   |    1 +
 .../Ghcnd/Partition-2/q04.txt                   |    3 +
 .../Ghcnd/Partition-2/q05.txt                   |    1 +
 .../Ghcnd/Partition-2/q06.txt                   |    3 +
 .../Ghcnd/Partition-2/q07.txt                   |    1 +
 .../Ghcnd/Partition-4/q00.txt                   |    2 +
 .../Ghcnd/Partition-4/q01.txt                   |    1 +
 .../Ghcnd/Partition-4/q02.txt                   |    1 +
 .../Ghcnd/Partition-4/q03.txt                   |    1 +
 .../Ghcnd/Partition-4/q04.txt                   |    3 +
 .../Ghcnd/Partition-4/q05.txt                   |    1 +
 .../Ghcnd/Partition-4/q06.txt                   |    3 +
 .../Ghcnd/Partition-4/q07.txt                   |    1 +
 .../GhcndCount/Partition-1/q02_count.txt        |    1 +
 .../GhcndCount/Partition-1/q03_count.txt        |    1 +
 .../GhcndCount/Partition-1/q05_count.txt        |    1 +
 .../GhcndCount/Partition-1/q07_count.txt        |    1 +
 .../GhcndCount/Partition-2/q02_count.txt        |    1 +
 .../GhcndCount/Partition-2/q03_count.txt        |    1 +
 .../GhcndCount/Partition-2/q05_count.txt        |    1 +
 .../GhcndCount/Partition-2/q07_count.txt        |    1 +
 .../GhcndCount/Partition-4/q02_count.txt        |    1 +
 .../GhcndCount/Partition-4/q03_count.txt        |    1 +
 .../GhcndCount/Partition-4/q05_count.txt        |    1 +
 .../GhcndCount/Partition-4/q07_count.txt        |    1 +
 .../GhcndRecords/Partition-1/q02_records.txt    |    1 +
 .../GhcndRecords/Partition-1/q03_records.txt    |    3 +
 .../GhcndRecords/Partition-1/q05_records.txt    |    1 +
 .../GhcndRecords/Partition-1/q07_records.txt    |    3 +
 .../GhcndRecords/Partition-2/q02_records.txt    |    1 +
 .../GhcndRecords/Partition-2/q03_records.txt    |    3 +
 .../GhcndRecords/Partition-2/q05_records.txt    |    1 +
 .../GhcndRecords/Partition-2/q07_records.txt    |    3 +
 .../GhcndRecords/Partition-4/q02_records.txt    |    1 +
 .../GhcndRecords/Partition-4/q03_records.txt    |    3 +
 .../GhcndRecords/Partition-4/q05_records.txt    |    1 +
 .../GhcndRecords/Partition-4/q07_records.txt    |    3 +
 .../Queries/XQuery/Aggregate/Partition-1/avg.xq |    8 +
 .../XQuery/Aggregate/Partition-1/count.xq       |    8 +
 .../Queries/XQuery/Aggregate/Partition-1/max.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-1/min.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-1/sum.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/avg.xq |    8 +
 .../XQuery/Aggregate/Partition-2/count.xq       |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/max.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/min.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-2/sum.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/avg.xq |    8 +
 .../XQuery/Aggregate/Partition-4/count.xq       |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/max.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/min.xq |    8 +
 .../Queries/XQuery/Aggregate/Partition-4/sum.xq |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q00.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-1/q01.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q02.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-1/q03.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q04.xq     |   13 +
 .../XQuery/Ghcnd/Partition-1/q04_sensors.xq     |    8 +
 .../XQuery/Ghcnd/Partition-1/q04_stations.xq    |    8 +
 .../Queries/XQuery/Ghcnd/Partition-1/q05.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-1/q06.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-1/q07.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-2/q00.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-2/q01.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-2/q02.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-2/q03.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-2/q04.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-2/q05.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-2/q06.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-2/q07.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-4/q00.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-4/q01.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-4/q02.xq     |   11 +
 .../Queries/XQuery/Ghcnd/Partition-4/q03.xq     |    8 +
 .../Queries/XQuery/Ghcnd/Partition-4/q04.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-4/q05.xq     |   16 +
 .../Queries/XQuery/Ghcnd/Partition-4/q06.xq     |   13 +
 .../Queries/XQuery/Ghcnd/Partition-4/q07.xq     |   16 +
 .../XQuery/GhcndCount/Partition-1/q02_count.xq  |   11 +
 .../XQuery/GhcndCount/Partition-1/q03_count.xq  |    8 +
 .../XQuery/GhcndCount/Partition-1/q05_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-1/q07_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-2/q02_count.xq  |   11 +
 .../XQuery/GhcndCount/Partition-2/q03_count.xq  |    8 +
 .../XQuery/GhcndCount/Partition-2/q05_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-2/q07_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-4/q02_count.xq  |   11 +
 .../XQuery/GhcndCount/Partition-4/q03_count.xq  |    8 +
 .../XQuery/GhcndCount/Partition-4/q05_count.xq  |   16 +
 .../XQuery/GhcndCount/Partition-4/q07_count.xq  |   16 +
 .../GhcndRecords/Partition-1/q02_records.xq     |    9 +
 .../GhcndRecords/Partition-1/q03_records.xq     |    6 +
 .../GhcndRecords/Partition-1/q05_records.xq     |   14 +
 .../GhcndRecords/Partition-1/q07_records.xq     |   14 +
 .../GhcndRecords/Partition-2/q02_records.xq     |    9 +
 .../GhcndRecords/Partition-2/q03_records.xq     |    6 +
 .../GhcndRecords/Partition-2/q05_records.xq     |   14 +
 .../GhcndRecords/Partition-2/q07_records.xq     |   14 +
 .../GhcndRecords/Partition-4/q02_records.xq     |    9 +
 .../GhcndRecords/Partition-4/q03_records.xq     |    6 +
 .../GhcndRecords/Partition-4/q05_records.xq     |   14 +
 .../GhcndRecords/Partition-4/q07_records.xq     |   14 +
 .../quarter_1/sesnors/US000000001_200101_0.xml  |    1 +
 .../half_1/quarter_1/stations/US000000001.xml   |    1 +
 .../quarter_2/sesnors/US000000002_200202_0.xml  |    1 +
 .../half_1/quarter_2/stations/US000000004.xml   |    1 +
 .../quarter_3/sesnors/AS000000003_200303_0.xml  |    1 +
 .../half_2/quarter_3/stations/US000000002.xml   |    1 +
 .../quarter_4/sesnors/US000000004_200404_0.xml  |    1 +
 .../half_2/quarter_4/stations/AS000000003.xml   |    1 +
 .../src/tests/resources/VXQueryCatalog.xml      |   98 +
 .../cat/AggregatePartition1Queries.xml          |   31 +
 .../cat/AggregatePartition2Queries.xml          |   36 +
 .../cat/AggregatePartition4Queries.xml          |   36 +
 .../cat/GhcndCountPartition1Queries.xml         |   30 +
 .../cat/GhcndCountPartition2Queries.xml         |   30 +
 .../cat/GhcndCountPartition4Queries.xml         |   30 +
 .../resources/cat/GhcndPartition1Queries.xml    |   54 +
 .../resources/cat/GhcndPartition2Queries.xml    |   54 +
 .../resources/cat/GhcndPartition4Queries.xml    |   54 +
 .../cat/GhcndRecordsPartition1Queries.xml       |   30 +
 .../cat/GhcndRecordsPartition2Queries.xml       |   30 +
 .../cat/GhcndRecordsPartition4Queries.xml       |   30 +
 .../Aggregate/Partition-1/avg.txt               |    1 -
 .../Aggregate/Partition-1/count.txt             |    1 -
 .../Aggregate/Partition-1/max.txt               |    1 -
 .../Aggregate/Partition-1/min.txt               |    1 -
 .../Aggregate/Partition-1/sum.txt               |    1 -
 .../Aggregate/Partition-2/avg.txt               |    1 -
 .../Aggregate/Partition-2/count.txt             |    1 -
 .../Aggregate/Partition-2/max.txt               |    1 -
 .../Aggregate/Partition-2/min.txt               |    1 -
 .../Aggregate/Partition-2/sum.txt               |    1 -
 .../Aggregate/Partition-4/avg.txt               |    1 -
 .../Aggregate/Partition-4/count.txt             |    1 -
 .../Aggregate/Partition-4/max.txt               |    1 -
 .../Aggregate/Partition-4/min.txt               |    1 -
 .../Aggregate/Partition-4/sum.txt               |    1 -
 .../Ghcnd/Partition-1/q00.txt                   |    2 -
 .../Ghcnd/Partition-1/q01.txt                   |    1 -
 .../Ghcnd/Partition-1/q02.txt                   |    1 -
 .../Ghcnd/Partition-1/q03.txt                   |    1 -
 .../Ghcnd/Partition-1/q04.txt                   |    3 -
 .../Ghcnd/Partition-1/q05.txt                   |    1 -
 .../Ghcnd/Partition-1/q06.txt                   |    3 -
 .../Ghcnd/Partition-1/q07.txt                   |    1 -
 .../Ghcnd/Partition-2/q00.txt                   |    2 -
 .../Ghcnd/Partition-2/q01.txt                   |    1 -
 .../Ghcnd/Partition-2/q02.txt                   |    1 -
 .../Ghcnd/Partition-2/q03.txt                   |    1 -
 .../Ghcnd/Partition-2/q04.txt                   |    3 -
 .../Ghcnd/Partition-2/q05.txt                   |    1 -
 .../Ghcnd/Partition-2/q06.txt                   |    3 -
 .../Ghcnd/Partition-2/q07.txt                   |    1 -
 .../Ghcnd/Partition-4/q00.txt                   |    2 -
 .../Ghcnd/Partition-4/q01.txt                   |    1 -
 .../Ghcnd/Partition-4/q02.txt                   |    1 -
 .../Ghcnd/Partition-4/q03.txt                   |    1 -
 .../Ghcnd/Partition-4/q04.txt                   |    3 -
 .../Ghcnd/Partition-4/q05.txt                   |    1 -
 .../Ghcnd/Partition-4/q06.txt                   |    3 -
 .../Ghcnd/Partition-4/q07.txt                   |    1 -
 .../GhcndCount/Partition-1/q02_count.txt        |    1 -
 .../GhcndCount/Partition-1/q03_count.txt        |    1 -
 .../GhcndCount/Partition-1/q05_count.txt        |    1 -
 .../GhcndCount/Partition-1/q07_count.txt        |    1 -
 .../GhcndCount/Partition-2/q02_count.txt        |    1 -
 .../GhcndCount/Partition-2/q03_count.txt        |    1 -
 .../GhcndCount/Partition-2/q05_count.txt        |    1 -
 .../GhcndCount/Partition-2/q07_count.txt        |    1 -
 .../GhcndCount/Partition-4/q02_count.txt        |    1 -
 .../GhcndCount/Partition-4/q03_count.txt        |    1 -
 .../GhcndCount/Partition-4/q05_count.txt        |    1 -
 .../GhcndCount/Partition-4/q07_count.txt        |    1 -
 .../GhcndRecords/Partition-1/q02_records.txt    |    1 -
 .../GhcndRecords/Partition-1/q03_records.txt    |    3 -
 .../GhcndRecords/Partition-1/q05_records.txt    |    1 -
 .../GhcndRecords/Partition-1/q07_records.txt    |    3 -
 .../GhcndRecords/Partition-2/q02_records.txt    |    1 -
 .../GhcndRecords/Partition-2/q03_records.txt    |    3 -
 .../GhcndRecords/Partition-2/q05_records.txt    |    1 -
 .../GhcndRecords/Partition-2/q07_records.txt    |    3 -
 .../GhcndRecords/Partition-4/q02_records.txt    |    1 -
 .../GhcndRecords/Partition-4/q03_records.txt    |    3 -
 .../GhcndRecords/Partition-4/q05_records.txt    |    1 -
 .../GhcndRecords/Partition-4/q07_records.txt    |    3 -
 .../Queries/XQuery/Aggregate/Partition-1/avg.xq |    8 -
 .../XQuery/Aggregate/Partition-1/count.xq       |    8 -
 .../Queries/XQuery/Aggregate/Partition-1/max.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-1/min.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-1/sum.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/avg.xq |    8 -
 .../XQuery/Aggregate/Partition-2/count.xq       |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/max.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/min.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-2/sum.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/avg.xq |    8 -
 .../XQuery/Aggregate/Partition-4/count.xq       |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/max.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/min.xq |    8 -
 .../Queries/XQuery/Aggregate/Partition-4/sum.xq |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q00.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-1/q01.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q02.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-1/q03.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q04.xq     |   13 -
 .../XQuery/Ghcnd/Partition-1/q04_sensors.xq     |    8 -
 .../XQuery/Ghcnd/Partition-1/q04_stations.xq    |    8 -
 .../Queries/XQuery/Ghcnd/Partition-1/q05.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-1/q06.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-1/q07.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-2/q00.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-2/q01.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-2/q02.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-2/q03.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-2/q04.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-2/q05.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-2/q06.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-2/q07.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-4/q00.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-4/q01.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-4/q02.xq     |   11 -
 .../Queries/XQuery/Ghcnd/Partition-4/q03.xq     |    8 -
 .../Queries/XQuery/Ghcnd/Partition-4/q04.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-4/q05.xq     |   16 -
 .../Queries/XQuery/Ghcnd/Partition-4/q06.xq     |   13 -
 .../Queries/XQuery/Ghcnd/Partition-4/q07.xq     |   16 -
 .../XQuery/GhcndCount/Partition-1/q02_count.xq  |   11 -
 .../XQuery/GhcndCount/Partition-1/q03_count.xq  |    8 -
 .../XQuery/GhcndCount/Partition-1/q05_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-1/q07_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-2/q02_count.xq  |   11 -
 .../XQuery/GhcndCount/Partition-2/q03_count.xq  |    8 -
 .../XQuery/GhcndCount/Partition-2/q05_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-2/q07_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-4/q02_count.xq  |   11 -
 .../XQuery/GhcndCount/Partition-4/q03_count.xq  |    8 -
 .../XQuery/GhcndCount/Partition-4/q05_count.xq  |   16 -
 .../XQuery/GhcndCount/Partition-4/q07_count.xq  |   16 -
 .../GhcndRecords/Partition-1/q02_records.xq     |    9 -
 .../GhcndRecords/Partition-1/q03_records.xq     |    6 -
 .../GhcndRecords/Partition-1/q05_records.xq     |   14 -
 .../GhcndRecords/Partition-1/q07_records.xq     |   14 -
 .../GhcndRecords/Partition-2/q02_records.xq     |    9 -
 .../GhcndRecords/Partition-2/q03_records.xq     |    6 -
 .../GhcndRecords/Partition-2/q05_records.xq     |   14 -
 .../GhcndRecords/Partition-2/q07_records.xq     |   14 -
 .../GhcndRecords/Partition-4/q02_records.xq     |    9 -
 .../GhcndRecords/Partition-4/q03_records.xq     |    6 -
 .../GhcndRecords/Partition-4/q05_records.xq     |   14 -
 .../GhcndRecords/Partition-4/q07_records.xq     |   14 -
 .../quarter_1/sesnors/US000000001_200101_0.xml  |    1 -
 .../half_1/quarter_1/stations/US000000001.xml   |    1 -
 .../quarter_2/sesnors/US000000002_200202_0.xml  |    1 -
 .../half_1/quarter_2/stations/US000000004.xml   |    1 -
 .../quarter_3/sesnors/AS000000003_200303_0.xml  |    1 -
 .../half_2/quarter_3/stations/US000000002.xml   |    1 -
 .../quarter_4/sesnors/US000000004_200404_0.xml  |    1 -
 .../half_2/quarter_4/stations/AS000000003.xml   |    1 -
 vxquery-xtest/tests/XQTSCatalog.xml             | 1013 ----
 vxquery-xtest/tests/XQTSCatalog.xsd             | 1136 -----
 vxquery-xtest/tests/XQTSCatalog.xsl             |  745 ---
 .../tests/XQTSCatalogSecondEdition.xml          | 3816 --------------
 vxquery-xtest/tests/XQTSCatalogSubmission.xml   | 4774 ------------------
 .../tests/cat/AggregatePartition1Queries.xml    |   36 -
 .../tests/cat/AggregatePartition2Queries.xml    |   36 -
 .../tests/cat/AggregatePartition4Queries.xml    |   36 -
 .../tests/cat/GhcndCountPartition1Queries.xml   |   30 -
 .../tests/cat/GhcndCountPartition2Queries.xml   |   30 -
 .../tests/cat/GhcndCountPartition4Queries.xml   |   30 -
 .../tests/cat/GhcndPartition1Queries.xml        |   54 -
 .../tests/cat/GhcndPartition2Queries.xml        |   54 -
 .../tests/cat/GhcndPartition4Queries.xml        |   54 -
 .../tests/cat/GhcndRecordsPartition1Queries.xml |   30 -
 .../tests/cat/GhcndRecordsPartition2Queries.xml |   30 -
 .../tests/cat/GhcndRecordsPartition4Queries.xml |   30 -
 305 files changed, 1358 insertions(+), 12747 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
index 02f35bc..c39f0d2 100644
--- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
+++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/TestCaseFactory.java
@@ -37,7 +37,8 @@ import org.xml.sax.helpers.XMLReaderFactory;
 public class TestCaseFactory {
     private TestConfiguration tConfig;
     private Map<String, File> srcMap;
-    private String xqtsBase;
+    private File catalog;
+    private String baseDirectory;
     private TestRunnerFactory trf;
     private ExecutorService eSvc;
     private TestCase tc;
@@ -51,8 +52,9 @@ public class TestCaseFactory {
     private int currPathLen;
     int count;
 
-    public TestCaseFactory(String xqtsBase, TestRunnerFactory trf, ExecutorService eSvc, XTestOptions opts) {
-        this.xqtsBase = xqtsBase;
+    public TestCaseFactory(String catalog, TestRunnerFactory trf, ExecutorService eSvc, XTestOptions opts) {
+        this.catalog = new File(catalog);
+        this.baseDirectory = this.catalog.getParent();
         this.trf = trf;
         tConfig = new TestConfiguration();
         tConfig.options = opts;
@@ -82,10 +84,10 @@ public class TestCaseFactory {
             @Override
             public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
                 URL url = new URL(systemId);
-                return new InputSource(xqtsBase + new File(url.getFile()).getCanonicalPath().substring(currPathLen));
+                return new InputSource(baseDirectory + new File(url.getFile()).getCanonicalPath().substring(currPathLen));
             }
         });
-        parser.parse(new InputSource(new FileReader(new File(xqtsBase, "XQTSCatalog.xml"))));
+        parser.parse(new InputSource(new FileReader(catalog)));
         return count;
     }
 
@@ -208,7 +210,7 @@ public class TestCaseFactory {
                     File srcFile = new File(tConfig.testRoot, atts.getValue("", "FileName"));
                     srcMap.put(id, srcFile);
                 } else if ("test-suite".equals(localName)) {
-                    tConfig.testRoot = new File(new File(xqtsBase).getCanonicalFile(), atts.getValue("",
+                    tConfig.testRoot = new File(new File(baseDirectory).getCanonicalFile(), atts.getValue("",
                             "SourceOffsetPath"));
                     tConfig.xqueryQueryOffsetPath = new File(tConfig.testRoot, atts.getValue("",
                             "XQueryQueryOffsetPath"));

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
index 491b01d..41040f4 100644
--- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
+++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTest.java
@@ -78,7 +78,7 @@ public class XTest {
         });
         trf = new TestRunnerFactory(opts);
         trf.registerReporters(reporters);
-        TestCaseFactory tcf = new TestCaseFactory(opts.xqtsBase, trf, eSvc, opts);
+        TestCaseFactory tcf = new TestCaseFactory(opts.catalog, trf, eSvc, opts);
         count = tcf.process();
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
index af40d67..4788b6e 100644
--- a/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
+++ b/vxquery-xtest/src/main/java/org/apache/vxquery/xtest/XTestOptions.java
@@ -23,8 +23,8 @@ public class XTestOptions {
     @Option(name = "-port", required = false, usage = "Port for web server to listen on")
     int port;
 
-    @Option(name = "-xqtsbase", required = true, usage = "XQTS Base Directory")
-    String xqtsBase;
+    @Option(name = "-catalog", required = true, usage = "Test Catalog XML")
+    String catalog;
 
     @Option(name = "-threads", required = false, usage = "Number of threads")
     int threads;

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt
new file mode 100644
index 0000000..7ef6ffe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/avg.txt
@@ -0,0 +1 @@
+12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/count.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt
new file mode 100644
index 0000000..dc7b54a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/max.txt
@@ -0,0 +1 @@
+33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt
new file mode 100644
index 0000000..ea1acb6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/min.txt
@@ -0,0 +1 @@
+11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt
new file mode 100644
index 0000000..2b82dfe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-1/sum.txt
@@ -0,0 +1 @@
+60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt
new file mode 100644
index 0000000..7ef6ffe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/avg.txt
@@ -0,0 +1 @@
+12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/count.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt
new file mode 100644
index 0000000..dc7b54a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/max.txt
@@ -0,0 +1 @@
+33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt
new file mode 100644
index 0000000..ea1acb6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/min.txt
@@ -0,0 +1 @@
+11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt
new file mode 100644
index 0000000..2b82dfe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-2/sum.txt
@@ -0,0 +1 @@
+60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt
new file mode 100644
index 0000000..7ef6ffe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/avg.txt
@@ -0,0 +1 @@
+12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/count.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt
new file mode 100644
index 0000000..dc7b54a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/max.txt
@@ -0,0 +1 @@
+33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt
new file mode 100644
index 0000000..ea1acb6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/min.txt
@@ -0,0 +1 @@
+11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt
new file mode 100644
index 0000000..2b82dfe
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Aggregate/Partition-4/sum.txt
@@ -0,0 +1 @@
+60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
new file mode 100644
index 0000000..e6116d0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
@@ -0,0 +1,2 @@
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
new file mode 100644
index 0000000..ff4bc9b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
@@ -0,0 +1 @@
+<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
new file mode 100644
index 0000000..f30101c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
@@ -0,0 +1 @@
+3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
new file mode 100644
index 0000000..c5b9925
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
@@ -0,0 +1,3 @@
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
new file mode 100644
index 0000000..9f5aceb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
@@ -0,0 +1 @@
+1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
new file mode 100644
index 0000000..ca942fc
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
@@ -0,0 +1,3 @@
+<displayName>Station 2</displayName>
+<date>2002-02-02T00:00:00.000</date>
+<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
new file mode 100644
index 0000000..bfda7af
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
@@ -0,0 +1 @@
+1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
new file mode 100644
index 0000000..e6116d0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
@@ -0,0 +1,2 @@
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
new file mode 100644
index 0000000..ff4bc9b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
@@ -0,0 +1 @@
+<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
new file mode 100644
index 0000000..f30101c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
@@ -0,0 +1 @@
+3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
new file mode 100644
index 0000000..c5b9925
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
@@ -0,0 +1,3 @@
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
new file mode 100644
index 0000000..9f5aceb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
@@ -0,0 +1 @@
+1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
new file mode 100644
index 0000000..ca942fc
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
@@ -0,0 +1,3 @@
+<displayName>Station 2</displayName>
+<date>2002-02-02T00:00:00.000</date>
+<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
new file mode 100644
index 0000000..bfda7af
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
@@ -0,0 +1 @@
+1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
new file mode 100644
index 0000000..e6116d0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
@@ -0,0 +1,2 @@
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
new file mode 100644
index 0000000..ff4bc9b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
@@ -0,0 +1 @@
+<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
new file mode 100644
index 0000000..d8263ee
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
@@ -0,0 +1 @@
+2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
new file mode 100644
index 0000000..f30101c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
@@ -0,0 +1 @@
+3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
new file mode 100644
index 0000000..c5b9925
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
@@ -0,0 +1,3 @@
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
+<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
new file mode 100644
index 0000000..9f5aceb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
@@ -0,0 +1 @@
+1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
new file mode 100644
index 0000000..ca942fc
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
@@ -0,0 +1,3 @@
+<displayName>Station 2</displayName>
+<date>2002-02-02T00:00:00.000</date>
+<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
new file mode 100644
index 0000000..bfda7af
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
@@ -0,0 +1 @@
+1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
@@ -0,0 +1 @@
+1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
@@ -0,0 +1 @@
+3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
@@ -0,0 +1 @@
+1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
@@ -0,0 +1 @@
+3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
@@ -0,0 +1 @@
+1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
@@ -0,0 +1 @@
+3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
@@ -0,0 +1 @@
+1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
@@ -0,0 +1 @@
+3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
@@ -0,0 +1 @@
+1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
@@ -0,0 +1 @@
+3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
new file mode 100644
index 0000000..56a6051
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
@@ -0,0 +1 @@
+1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
@@ -0,0 +1 @@
+3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
new file mode 100644
index 0000000..a533a86
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
@@ -0,0 +1 @@
+<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
new file mode 100644
index 0000000..8d77b4d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
@@ -0,0 +1,3 @@
+<value>31</value>
+<value>32</value>
+<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
new file mode 100644
index 0000000..802ab3c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
@@ -0,0 +1 @@
+<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
new file mode 100644
index 0000000..fdd1637
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
@@ -0,0 +1,3 @@
+19.75
+19.5
+19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
new file mode 100644
index 0000000..a533a86
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
@@ -0,0 +1 @@
+<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
new file mode 100644
index 0000000..8d77b4d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
@@ -0,0 +1,3 @@
+<value>31</value>
+<value>32</value>
+<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
new file mode 100644
index 0000000..802ab3c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
@@ -0,0 +1 @@
+<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
new file mode 100644
index 0000000..fdd1637
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
@@ -0,0 +1,3 @@
+19.75
+19.5
+19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
new file mode 100644
index 0000000..a533a86
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
@@ -0,0 +1 @@
+<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
new file mode 100644
index 0000000..8d77b4d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
@@ -0,0 +1,3 @@
+<value>31</value>
+<value>32</value>
+<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
new file mode 100644
index 0000000..802ab3c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
@@ -0,0 +1 @@
+<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
new file mode 100644
index 0000000..fdd1637
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
@@ -0,0 +1,3 @@
+19.75
+19.5
+19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
new file mode 100644
index 0000000..498baaf
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the average minimum temperature.                                            :)
+fn:avg(
+    let $collection := "TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
new file mode 100644
index 0000000..3a2609b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the number of wind sensor readings.                                            :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "AWND" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
new file mode 100644
index 0000000..161b409
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest max temperature.                                            :)
+fn:max(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
new file mode 100644
index 0000000..0a135d1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the lowest min temperature.                                            :)
+fn:min(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
new file mode 100644
index 0000000..91a2c4c
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the total precipitation.                                            :)
+fn:sum(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "PRCP" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
new file mode 100644
index 0000000..864fdb9
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the average minimum temperature.                                            :)
+fn:avg(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
new file mode 100644
index 0000000..3ad16b6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the number of wind sensor readings.                                            :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "AWND" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
new file mode 100644
index 0000000..82b1061
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest max temperature.                                            :)
+fn:max(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
new file mode 100644
index 0000000..d990aff
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the lowest min temperature.                                            :)
+fn:min(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
new file mode 100644
index 0000000..8c9bea9
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the total precipitation.                                            :)
+fn:sum(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "PRCP" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
new file mode 100644
index 0000000..d50166d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the average minimum temperature.                                            :)
+fn:avg(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
new file mode 100644
index 0000000..cebf3e6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the number of wind sensor readings.                                            :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "AWND" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
new file mode 100644
index 0000000..ba4f771
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest max temperature.                                            :)
+fn:max(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
new file mode 100644
index 0000000..b37f462
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the lowest min temperature.                                            :)
+fn:min(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMIN" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
new file mode 100644
index 0000000..c41c7b6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the total precipitation.                                            :)
+fn:sum(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "PRCP" 
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
new file mode 100644
index 0000000..86241cd
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
@@ -0,0 +1,11 @@
+(: XQuery Filter Query :)
+(: See historical data for Riverside, CA (AS000000003) station by selecting   :)
+(: the weather readings for December 25 over the last 10 years.               :)
+let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $r in collection($collection)/dataCollection/data
+let $datetime := xs:dateTime(fn:data($r/date))
+where $r/station eq "GHCND:AS000000003" 
+    and fn:year-from-dateTime($datetime) ge 2000
+    and fn:month-from-dateTime($datetime) eq 3 
+    and fn:day-from-dateTime($datetime) eq 3
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
new file mode 100644
index 0000000..1572994
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
@@ -0,0 +1,8 @@
+(: XQuery Filter Query :)
+(: Find all reading for hurricane force wind warning or extreme wind warning. :)
+(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744     :)
+(: meters per second). (Wind value is in tenth of a meter per second)         :)
+let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $r in collection($collection)/dataCollection/data
+where $r/dataType eq "AWND" and xs:decimal(fn:data($r/value)) gt 491.744
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
new file mode 100644
index 0000000..d363fbf
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
@@ -0,0 +1,11 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+fn:sum(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
new file mode 100644
index 0000000..75a8935
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+fn:max(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
new file mode 100644
index 0000000..61452fb
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
@@ -0,0 +1,13 @@
+(: XQuery Join Query :)
+(: Find all the weather readings for Washington state for a specific day    :)
+(: 2002-2-2.                                                                  :)
+let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $s in collection($station_collection)/stationCollection/station
+
+let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $r in collection($sensor_collection)/dataCollection/data
+    
+where $s/id eq $r/station 
+    and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
+    and xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
+return $r
\ No newline at end of file


[6/9] Updated the testing resources.

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q00.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q00.xq
deleted file mode 100644
index 86241cd..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q00.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Filter Query :)
-(: See historical data for Riverside, CA (AS000000003) station by selecting   :)
-(: the weather readings for December 25 over the last 10 years.               :)
-let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $r in collection($collection)/dataCollection/data
-let $datetime := xs:dateTime(fn:data($r/date))
-where $r/station eq "GHCND:AS000000003" 
-    and fn:year-from-dateTime($datetime) ge 2000
-    and fn:month-from-dateTime($datetime) eq 3 
-    and fn:day-from-dateTime($datetime) eq 3
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q01.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q01.xq
deleted file mode 100644
index 1572994..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q01.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Filter Query :)
-(: Find all reading for hurricane force wind warning or extreme wind warning. :)
-(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744     :)
-(: meters per second). (Wind value is in tenth of a meter per second)         :)
-let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $r in collection($collection)/dataCollection/data
-where $r/dataType eq "AWND" and xs:decimal(fn:data($r/value)) gt 491.744
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q02.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q02.xq
deleted file mode 100644
index d363fbf..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q02.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-fn:sum(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q03.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q03.xq
deleted file mode 100644
index 75a8935..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q03.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-fn:max(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04.xq
deleted file mode 100644
index 61452fb..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find all the weather readings for Washington state for a specific day    :)
-(: 2002-2-2.                                                                  :)
-let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $s in collection($station_collection)/stationCollection/station
-
-let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $r in collection($sensor_collection)/dataCollection/data
-    
-where $s/id eq $r/station 
-    and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
-    and xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
deleted file mode 100644
index 18f5929..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Join Query :)
-(: Find all the weather readings for Washington state for a specific day    :)
-(: 2002-2-2.                                                                  :)
-let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $r in collection($sensor_collection)/dataCollection/data
-    
-where xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
deleted file mode 100644
index d7630f0..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Join Query :)
-(: Find all the weather readings for Washington state for a specific day    :)
-(: 2002-2-2.                                                                  :)
-let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $s in collection($station_collection)/stationCollection/station
-
-where (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
-return $s
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q05.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q05.xq
deleted file mode 100644
index df822a1..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q05.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-fn:min(
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q06.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q06.xq
deleted file mode 100644
index ed9bdb0..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q06.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find the highest recorded temperature (TMAX) for each station for each     :)
-(: day over the year 2002.                                                    :)
-let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $s in collection($station_collection)/stationCollection/station
-
-let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-for $r in collection($sensor_collection)/dataCollection/data
-
-where $s/id eq $r/station
-    and $r/dataType eq "TMAX" 
-    and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-return ($s/displayName, $r/date, $r/value)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q07.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q07.xq
deleted file mode 100644
index d0e8c48..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-1/q07.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-fn:avg(
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q00.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q00.xq
deleted file mode 100644
index 64636bc..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q00.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Filter Query :)
-(: See historical data for Riverside, CA (AS000000003) station by selecting   :)
-(: the weather readings for December 25 over the last 10 years.               :)
-let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-for $r in collection($collection)/dataCollection/data
-let $datetime := xs:dateTime(fn:data($r/date))
-where $r/station eq "GHCND:AS000000003" 
-    and fn:year-from-dateTime($datetime) ge 2000
-    and fn:month-from-dateTime($datetime) eq 3 
-    and fn:day-from-dateTime($datetime) eq 3
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q01.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q01.xq
deleted file mode 100644
index 4e1edc5..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q01.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Filter Query :)
-(: Find all reading for hurricane force wind warning or extreme wind warning. :)
-(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744     :)
-(: meters per second). (Wind value is in tenth of a meter per second)         :)
-let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-for $r in collection($collection)/dataCollection/data
-where $r/dataType eq "AWND" and xs:decimal(fn:data($r/value)) gt 491.744
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q02.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q02.xq
deleted file mode 100644
index fac6bf0..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q02.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-fn:sum(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q03.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q03.xq
deleted file mode 100644
index ce3d0d3..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q03.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-fn:max(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q04.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q04.xq
deleted file mode 100644
index 5d6d1d1..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q04.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find all the weather readings for Washington state for a specific day    :)
-(: 2002-2-2.                                                                  :)
-let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-for $s in collection($station_collection)/stationCollection/station
-
-let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-for $r in collection($sensor_collection)/dataCollection/data
-    
-where $s/id eq $r/station 
-    and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
-    and xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q05.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q05.xq
deleted file mode 100644
index 15b98c1..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q05.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-fn:min(
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q06.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q06.xq
deleted file mode 100644
index df17713..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q06.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find the highest recorded temperature (TMAX) for each station for each     :)
-(: day over the year 2002.                                                    :)
-let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-for $s in collection($station_collection)/stationCollection/station
-
-let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-for $r in collection($sensor_collection)/dataCollection/data
-
-where $s/id eq $r/station
-    and $r/dataType eq "TMAX" 
-    and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-return ($s/displayName, $r/date, $r/value)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q07.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q07.xq
deleted file mode 100644
index 2debae0..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-2/q07.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-fn:avg(
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q00.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q00.xq
deleted file mode 100644
index e130e2a..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q00.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Filter Query :)
-(: See historical data for Riverside, CA (AS000000003) station by selecting   :)
-(: the weather readings for December 25 over the last 10 years.               :)
-let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-for $r in collection($collection)/dataCollection/data
-let $datetime := xs:dateTime(fn:data($r/date))
-where $r/station eq "GHCND:AS000000003" 
-    and fn:year-from-dateTime($datetime) ge 2000
-    and fn:month-from-dateTime($datetime) eq 3 
-    and fn:day-from-dateTime($datetime) eq 3
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q01.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q01.xq
deleted file mode 100644
index bad94e4..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q01.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Filter Query :)
-(: Find all reading for hurricane force wind warning or extreme wind warning. :)
-(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744     :)
-(: meters per second). (Wind value is in tenth of a meter per second)         :)
-let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-for $r in collection($collection)/dataCollection/data
-where $r/dataType eq "AWND" and xs:decimal(fn:data($r/value)) gt 491.744
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q02.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q02.xq
deleted file mode 100644
index f4c2722..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q02.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-fn:sum(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q03.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q03.xq
deleted file mode 100644
index 7199c97..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q03.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-fn:max(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q04.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q04.xq
deleted file mode 100644
index cdf85dd..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q04.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find all the weather readings for Washington state for a specific day    :)
-(: 2002-2-2.                                                                  :)
-let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-for $s in collection($station_collection)/stationCollection/station
-
-let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-for $r in collection($sensor_collection)/dataCollection/data
-    
-where $s/id eq $r/station 
-    and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
-    and xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
-return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q05.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q05.xq
deleted file mode 100644
index 5036305..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q05.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-fn:min(
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q06.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q06.xq
deleted file mode 100644
index 51c474d..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q06.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find the highest recorded temperature (TMAX) for each station for each     :)
-(: day over the year 2002.                                                    :)
-let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-for $s in collection($station_collection)/stationCollection/station
-
-let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-for $r in collection($sensor_collection)/dataCollection/data
-
-where $s/id eq $r/station
-    and $r/dataType eq "TMAX" 
-    and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-return ($s/displayName, $r/date, $r/value)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q07.xq b/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q07.xq
deleted file mode 100644
index a508e52..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Ghcnd/Partition-4/q07.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-fn:avg(
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value
-) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq
deleted file mode 100644
index 73e8aea..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq
deleted file mode 100644
index 0d327d1..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq
deleted file mode 100644
index 9f2ac93..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-fn:count(
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq
deleted file mode 100644
index 917b7c6..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-fn:count(
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq
deleted file mode 100644
index 52e7790..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq
deleted file mode 100644
index 619c6d1..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq
deleted file mode 100644
index c32bcd1..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-fn:count(
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq
deleted file mode 100644
index fd3431f..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-fn:count(
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq
deleted file mode 100644
index 2940380..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq
deleted file mode 100644
index eb6ff10..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq
deleted file mode 100644
index 768e35d..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-fn:count(
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq
deleted file mode 100644
index 8ea026b..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-fn:count(
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq
deleted file mode 100644
index 68b87b5..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq
+++ /dev/null
@@ -1,9 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq
deleted file mode 100644
index 8a22c5e..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq
+++ /dev/null
@@ -1,6 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq
deleted file mode 100644
index 0cd735d..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq
+++ /dev/null
@@ -1,14 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq
deleted file mode 100644
index 793fbba..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq
+++ /dev/null
@@ -1,14 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq
deleted file mode 100644
index 4b14f55..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq
+++ /dev/null
@@ -1,9 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq
deleted file mode 100644
index 581644a..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq
+++ /dev/null
@@ -1,6 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq
deleted file mode 100644
index 83b4683..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq
+++ /dev/null
@@ -1,14 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq
deleted file mode 100644
index 1948ba0..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq
+++ /dev/null
@@ -1,14 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq
deleted file mode 100644
index 8fb560b..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq
+++ /dev/null
@@ -1,9 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
-(: station (US000000002) for 2002.                                            :)
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/station eq "GHCND:US000000002" 
-        and $r/dataType eq "PRCP" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq
deleted file mode 100644
index 835e3b2..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq
+++ /dev/null
@@ -1,6 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX"
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq
deleted file mode 100644
index 664e91b..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq
+++ /dev/null
@@ -1,14 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for     :)
-(: 2001.                                                                      :)
-    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $s in collection($station_collection)/stationCollection/station
-    
-    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($sensor_collection)/dataCollection/data
-    
-    where $s/id eq $r/station
-        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
-        and $r/dataType eq "TMIN" 
-        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
-    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq b/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq
deleted file mode 100644
index 6f8c165..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq
+++ /dev/null
@@ -1,14 +0,0 @@
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max       :)
-(: temperature and get the average.                                        :)
-    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r_min in collection($sensor_collection_min)/dataCollection/data
-    
-    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r_max in collection($sensor_collection_max)/dataCollection/data
-    
-    where $r_min/station eq $r_max/station
-        and $r_min/date eq $r_max/date
-        and $r_min/dataType eq "TMIN"
-        and $r_max/dataType eq "TMAX"
-    return $r_max/value - $r_min/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml
deleted file mode 100644
index cc2fd33..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="3"><data><date>2001-01-01T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000001</station><value>11.25</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2001-01-01T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000001</station><value>31</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml
deleted file mode 100644
index 213f748..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:US000000001</id><displayName>Station 1</displayName><latitude>10.000</latitude><longitude>-10.000</longitude><elevation>1000.0</elevation><locationLabels><type>ST</type><id>FIPS:1</id><displayName>State 1</displayName></locationLabels><locationLabels><type>CNTY</type><id>FIPS:-9999</id><displayName>County 1</displayName></locationLabels><locationLabels><type>CNTRY</type><id>FIPS:US</id><displayName>UNITED STATES</displayName></locationLabels></station></stationCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml
deleted file mode 100644
index c095726..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="3"><data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml
deleted file mode 100644
index 3bcec27..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:US000000004</id><displayName>Station 4</displayName><latitude>40.000</latitude><longitude>-40.000</longitude><elevation>4000.0</elevation><locationLabels><type>ST</type><id>FIPS:1</id><displayName>State 4</displayName></locationLabels><locationLabels><type>CNTY</type><id>FIPS:-9999</id><displayName>County 4</displayName></locationLabels><locationLabels><type>CNTRY</type><id>FIPS:US</id><displayName>UNITED STATES</displayName></locationLabels></station></stationCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml
deleted file mode 100644
index 3a540d3..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="2"><data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml
deleted file mode 100644
index e9dc6e9..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:US000000002</id><displayName>Station 2</displayName><latitude>20.000</latitude><longitude>-20.000</longitude><elevation>2000.0</elevation><locationLabels><type>ST</type><id>FIPS:1</id><displayName>State 1</displayName></locationLabels><locationLabels><type>CNTY</type><id>FIPS:-9999</id><displayName>County 2</displayName></locationLabels><locationLabels><type>CNTRY</type><id>FIPS:US</id><displayName>UNITED STATES</displayName></locationLabels></station></stationCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml
deleted file mode 100644
index 2dbe586..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="2"><data><date>2004-04-04T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000004</station><value>40</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2004-04-04T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000004</station><value>4</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml b/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml
deleted file mode 100644
index 4919c20..0000000
--- a/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:AS000000003</id><displayName>Station 3</displayName><latitude>-30.000</latitude><longitude>30.000</longitude><locationLabels><type>CNTRY</type><id>FIPS:AS</id><displayName>AUSTRALIA</displayName></locationLabels></station></stationCollection>
\ No newline at end of file


[2/9] Updated the testing resources.

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/XQTSCatalogSubmission.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/XQTSCatalogSubmission.xml b/vxquery-xtest/tests/XQTSCatalogSubmission.xml
deleted file mode 100644
index 1ce710e..0000000
--- a/vxquery-xtest/tests/XQTSCatalogSubmission.xml
+++ /dev/null
@@ -1,4774 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="XQTSCatalog.xsl" ?><test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CatalogDesignDate="2003-04-03" version="1.0.3" SourceOffsetPath="./" ResultOffsetPath="ExpectedTestResults/" XQueryQueryOffsetPath="Queries/XQuery/" XQueryXQueryOffsetPath="Queries/XQueryX/" XQueryFileExtension=".xq" XQueryXFileExtension=".xqx" xsi:schemaLocation="http://www.w3.org/2005/02/query-test-XQTSCatalog XQTSCatalog.xsd">
-<test-suite-info>
-<title>XQuery Test Suite 1.0.3 (under development)</title>
-<description> 
-         Test Suite for XQuery 1.0. 
-         See http://www.w3.org/XML/Query/test-suite/. 
-    </description>
-</test-suite-info>
-<citations>
-<citation-spec name="XQuery">
-<description last-mod="2007-01-23">XQuery 1.0: An XML Query Language</description>
-<spec-URI>http://www.w3.org/TR/xquery/</spec-URI>
-</citation-spec>
-<citation-spec name="FuncOps">
-<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Functions and Operators</description>
-<spec-URI>http://www.w3.org/TR/xpath-functions/</spec-URI>
-</citation-spec>
-<citation-spec name="DataModel">
-<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Data Model</description>
-<spec-URI>http://www.w3.org/TR/xpath-datamodel/</spec-URI>
-</citation-spec>
-<citation-spec name="FormalSemantics">
-<description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Formal Semantics</description>
-<spec-URI>http://www.w3.org/TR/xquery-semantics/</spec-URI>
-</citation-spec>
-<citation-spec name="SchemaPart2">
-<description last-mod="2003-03-25">XML Schema Part 2: Datatypes</description>
-<spec-URI>http://www.w3.org/TR/xmlschema-2/</spec-URI>
-</citation-spec>
-<citation-spec name="Schema-Errata">
-<description last-mod="2003-03-25">XML Schema Errata</description>
-<note>Current practice is to have one Errata document for all parts of Schema.</note>
-<spec-URI>http://www.w3.org/2001/05/xmlschema-errata</spec-URI>
-</citation-spec>
-<citation-spec name="UseCases">
-<description last-mod="2006-07-12">XML Query Use Cases</description>
-<spec-URI>http://www.w3c.org/TR/xquery-use-cases/</spec-URI>
-</citation-spec>
-<citation-spec name="XQueryX">
-<description last-mod="2007-01-23">XML Syntax for XQuery 1.0 (XQueryX)</description>
-<spec-URI>http://www.w3.org/TR/xqueryx/</spec-URI>
-</citation-spec>
-<citation-spec name="Serialization">
-<description last-mod="2007-01-23">XSLT 2.0 and XQuery 1.0 Serialization</description>
-<spec-URI>http://www.w3.org/TR/xslt-xquery-serialization/</spec-URI>
-</citation-spec>
-</citations>
-<comparisons>
-<comparison name="XML">
-<description last-mod="2003-03-25">The XML InfoSets should be canonicalized and compared.</description>
-</comparison>
-<comparison name="Fragment">
-<description last-mod="2004-10-20">
-            A 'fragment' refers to an XML based instance which has multiple top-level elements and NO XML declaration.
-            The comparator for this should simply wrap the entire fragment in a container element and perform XML comparison.
-         </description>
-</comparison>
-<comparison name="Text">
-<description last-mod="2003-03-25">
-            Each line of non-whitespace text should match. New-line sequences
-            may vary and should be neutralized. Due to issues with the XML serialization of certain characters (e.g. '&lt;'),
-            it is not possible to simply compare the actual and expected results. Rather (as is the case with the 'Fragment' comparator)
-            the test harness should convert the results into valid XML (by adding a container element) and perform comparison
-            on the XML canonicalized versions of the results.
-         </description>
-</comparison>
-<comparison name="Ignore">
-<description last-mod="2003-03-25">
-            Only the presence/absence of this file is significant,
-            not its content.
-         </description>
-</comparison>
-<comparison name="Inspect">
-<description last-mod="2003-03-25">
-            Automated comparison is not possible. the output should be
-            inspected by a human.
-         </description>
-</comparison>
-</comparisons>
-<roles>
-<role name="principal-data">
-<description last-mod="2003-03-25">
-            This is the source that is handed in to the processor as the
-            initial input sequence, setting the "evaluation context" as described in XQuery chapter 2.
-         </description>
-</role>
-<role name="supplemental-data">
-<description last-mod="2003-03-25">
-            These are sources that may be read by functions such as
-            fn:document() as the query is evaluated.
-         </description>
-</role>
-<role name="schema">
-<description last-mod="2003-03-25">
-            These are schema definitions that may be referenced by sources
-            or in the query.
-         </description>
-</role>
-<role name="dtd">
-<description last-mod="2003-03-25">
-            These are dtd definitions that may be referenced by sources
-            or in the query.
-         </description>
-</role>
-<role name="principal">
-<description last-mod="2003-03-25">
-            This is an output (either text or XML) that will contain the
-            query results. If the processor invocation sequence accepts a filename for results, this name may be
-            passed, possibly prefixed by a partial directory path to allow storage of the results in a separate
-            directory tree.
-         </description>
-</role>
-<role name="console-log">
-<description last-mod="2003-03-25">
-            This is an output (text file tagged .log) that will contain the
-            captured "console" output for a command-line invocation, or equivalent messages from a harness. The
-            main goal is to capture error messages that came from the processor.
-         </description>
-<note>
-            A test lab may choose to capture console output for every test case, in which case the presence
-            of this element is a signal that the console log of this test contains messages that are significant to
-            the pass/fail determination.
-         </note>
-</role>
-</roles>
-<scenarios>
-<scenario name="standard">
-<description last-mod="2005-06-10">
-            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-</scenario>
-<scenario name="parse-error">
-<description last-mod="2005-06-10">
-            A query this is expected to raise a parsing/syntax error at query parse time. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-</scenario>
-<scenario name="runtime-error">
-<description last-mod="2005-06-10">
-            A query this is expected to raise a runtime error at query parse time. Runtime errors in this case include those raised by static typing rules. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-</scenario>
-<scenario name="trivial">
-<description last-mod="2006-03-29">
-            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
-            The initial query returns an &lt;xqx:xquery&gt; element (Trivial Embedding of XQuery).
-            This embedded query is then executed to produce the final result.
-         </description>
-</scenario>
-</scenarios>
-<sources>
-<source ID="XQTSCatalog" FileName="XQTSCatalog.xml" Creator="XQuery Test Task Force" schema="XQTSCatalogxsd">
-<description last-mod="2005-04-14">XQuery Test Suite Catalog</description>
-</source>
-<source ID="bib2" FileName="TestSources/bib2.xml" Creator="spec-authors">
-<description last-mod="2003-03-25">Bibliography example with extra comments and PIs.</description>
-</source>
-<source ID="emptydoc" FileName="TestSources/emptydoc.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Contains just a "doc" element, no comments/text/PIs.</description>
-</source>
-<source ID="fsx" FileName="TestSources/fsx.xml" Creator="Mike Rorke">
-<description last-mod="2003-03-25">Data about a filesystem represented in XML.</description>
-</source>
-<source ID="fsx_NS" FileName="TestSources/fsx_NS.xml" Creator="Mike Rorke">
-<description last-mod="2003-03-25">Data about a filesystem represented in XML with namespace-qualified names.</description>
-</source>
-<source ID="MixNS" FileName="TestSources/MixNS.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Small tree with element names in mixed namespaces.</description>
-<note>Use @index to identify elements precisely.</note>
-</source>
-<source ID="nw_Customers" FileName="TestSources/nw_Customers.xml" Creator="Kuen Siew">
-<description last-mod="2003-03-25">Customer name/address file with some non-ASCII characters.</description>
-</source>
-<source ID="TopMany" FileName="TestSources/TopMany.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Like TreeCompass, but with comments and PIs off the root. PI targets vary.</description>
-<note>All text nodes must have non-whitespace characters.</note>
-</source>
-<source ID="Tree1Child" FileName="TestSources/Tree1Child.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has just one child, of an abnormal name, off the center node.</description>
-<note>One attribute each on west and center.</note>
-</source>
-<source ID="Tree1Text" FileName="TestSources/Tree1Text.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has just a text node and no child element off the center node.</description>
-</source>
-<source ID="TreeCompass" FileName="TestSources/TreeCompass.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A tree intended to allow many kinds of path expressions.</description>
-<note>Need multiple attributes on center, west, and south, plus @mark scattered around.</note>
-<note>Mix of text and element children in many places, but east should have only a text node.</note>
-<note>All text nodes must have non-whitespace characters.</note>
-<note>Top element is far-north.</note>
-</source>
-<source ID="TreeEmpty" FileName="TestSources/TreeEmpty.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has just one "south" element at the top, bearing one "mark" attribute.</description>
-</source>
-<source ID="TreeRepeat" FileName="TestSources/TreeRepeat.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has center elements off the real center node.</description>
-<note>Use @mark to distinguish center elements.</note>
-<note>"Real" center must have multiple element children, some with duplicate names (south-east).</note>
-<note>Repeating attribute names used, including same name on elements of the same name.</note>
-<note>Comments and text nodes are strewn about. All text nodes must have non-whitespace characters.</note>
-</source>
-<source ID="TreeStack" FileName="TestSources/TreeStack.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has several "south" elements, some stacked within each other.</description>
-<note>Use "mark" attributes at several levels and on all south elements.</note>
-</source>
-<source ID="TreeTrunc" FileName="TestSources/TreeTrunc.xml" Creator="David Marston">
-<description last-mod="2003-03-25">A "compass" tree that has no content at all in center or west, no attributes anywhere.</description>
-</source>
-<source ID="xq311A" FileName="TestSources/xq311A.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Data that fits first example in XQuery 3.11.</description>
-</source>
-<source ID="xq311B" FileName="TestSources/xq311B.xml" Creator="David Marston">
-<description last-mod="2003-03-25">Data that fits later examples in XQuery 3.11.</description>
-</source>
-<source ID="DupNode" FileName="TestSources/DupNode.xml" Creator="Andreas Behm">
-<description last-mod="2005-04-26">Simple document with all node kinds</description>
-</source>
-<source ID="inscope" FileName="TestSources/inscope.xml" Creator="Andreas Behm">
-<description last-mod="2005-08-26">Simple document with namespaces</description>
-</source>
-<source ID="nsmode" FileName="TestSources/nsmode.xml" Creator="Andreas Behm">
-<description last-mod="2005-04-26">Source document for namespace copy modes</description>
-</source>
-<source ID="works" FileName="TestSources/works.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-03-04">Data for various NIST tests</description>
-</source>
-<source ID="examples" FileName="TestSources/examples.xml" Creator="Carmelo Montanez" schema="examplesxsd">
-<description last-mod="2006-05-19">Data for fn-data-1 test.</description>
-</source>
-<source ID="works-mod" FileName="TestSources/works-mod.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-03-04">Data for various NIST tests (abbreviated, unabbreviated syntax)</description>
-</source>
-<source ID="lang" FileName="TestSources/lang.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-10-19">Data for fn:lang tests.</description>
-</source>
-<source ID="staff" FileName="TestSources/staff.xml" Creator="Carmelo Montanez">
-<description last-mod="2005-03-04">Data for various NIST tests</description>
-</source>
-<source ID="acme_corp" FileName="TestSources/acme_corp.xml" Creator="Ravindranath Chennoju">
-<description last-mod="2005-08-30">Source document for Function Declaration tests</description>
-</source>
-<source ID="bib" FileName="TestSources/bib.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="reviews" FileName="TestSources/reviews.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="books" FileName="TestSources/books.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="prices" FileName="TestSources/prices.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-</source>
-<source ID="book" FileName="TestSources/book.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query TREE use cases</description>
-</source>
-<source ID="report1" FileName="TestSources/report1.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query SEQ use cases</description>
-</source>
-<source ID="items" FileName="TestSources/items.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-</source>
-<source ID="bids" FileName="TestSources/bids.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-</source>
-<source ID="users" FileName="TestSources/users.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-</source>
-<source ID="string" FileName="TestSources/string.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
-</source>
-<source ID="company-data" FileName="TestSources/company-data.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
-</source>
-<source ID="auction" FileName="TestSources/auction.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query NS use cases</description>
-</source>
-<source ID="partlist" FileName="TestSources/partlist.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query PARTS use cases</description>
-</source>
-<source ID="sgml" FileName="TestSources/sgml.xml" Creator="XML Query WG">
-<description last-mod="2005-02-11">Data for the the XML Query SGML use cases</description>
-</source>
-<source ID="atomic" FileName="TestSources/atomic.xml" Creator="Carmelo Montanez" schema="atomicxsd">
-<description last-mod="2005-03-08">A Schema validated xml file, that contains values for data types. Can be used by any test.</description>
-</source>
-<source ID="id-idref-dtd" FileName="TestSources/iddtd.xml" Creator="Carmelo Montanez">
-<description last-mod="2006-06-28">A DTD validated xml file, that contains data for the ID/IDREF function tests.</description>
-</source>
-<source ID="atomicns" FileName="TestSources/atomicns.xml" Creator="Carmelo Montanez">
-<description last-mod="2006-03-15">A non schema validated xml file, that contains values for data types. Can be used by any test.</description>
-</source>
-<source ID="orderData" FileName="TestSources/orderData.xml" Creator="Carmelo Montanez" schema="orderDataxsd">
-<description last-mod="2005-06-01">A Schema validated xml file, that contains values for some of the order by tests generated by NIST.</description>
-</source>
-<source ID="id-idref" FileName="TestSources/id.xml" Creator="Carmelo Montanez" schema="idxsd">
-<description last-mod="2006-05-12">Data for id and idref related functions (schema-based).</description>
-</source>
-<source ID="id-idref2" FileName="TestSources/id2.xml" Creator="Michael Kay" schema="idxsd">
-<description last-mod="2009-03-06">More data for id and idref related functions (schema-based).</description>
-</source>
-<source ID="SpecialTypes" FileName="TestSources/SpecialTypes.xml" Creator="Mike Rorke" schema="SpecialTypesXSD">
-<description last-mod="2005-06-01">A Schema validated XML file containing certain special types e.g. interleave types, union types, anySimpleType</description>
-</source>
-<source ID="QNameSource" FileName="TestSources/QName-source.xml" Creator="Mike Rorke" schema="QNameSourceXSD">
-<description last-mod="2005-09-28">A schema validated XML file containing QName and QName derived types.</description>
-</source>
-<source ID="notation" FileName="TestSources/notation.xml" Creator="Andreas Behm" schema="notationschema">
-<description last-mod="2005-10-10">A Scehma validated xml file with NOTATION elements</description>
-</source>
-<source ID="textWithSpaces" FileName="TestSources/textWithSpaces.xml" Creator="Joanne Tong">
-<description last-mod="2005-09-29">Data for normalize-space functions</description>
-</source>
-<source ID="XMarkAuction" FileName="TestSources/XMarkAuction.xml" Creator="Frans Englich">
-<description last-mod="2007-03-09">Source file generated XML Benchmark Project's xmlgen utility. See http://www.xml-benchmark.org/.</description>
-</source>
-<source ID="CPPGlobals" FileName="TestSources/CPPGlobals.xml" Creator="Frans Englich">
-<description last-mod="2007-06-27">The declarations of a C++ file described in XML.</description>
-</source>
-<source ID="MainWindow" FileName="TestSources/MainWindow.ui" Creator="Frans Englich">
-<description last-mod="2007-07-09">A description of an graphical user interface.</description>
-</source>
-<source ID="ComplexWhitespace" FileName="TestSources/ComplexWhitespace.xml" Creator="Frans Englich">
-<description last-mod="2007-07-09">A file containing different forms of whitespace.</description>
-</source>
-<source ID="SpaceBracket" FileName="TestSources/SpaceBracket.xml" Creator="Frans Englich">
-<description last-mod="2007-12-20">A file containing ' ]' as a text node.</description>
-</source>
-<source ID="HighUnicode" FileName="TestSources/HighUnicode.xml" Creator="Frans Englich">
-<description last-mod="2007-12-20">Corner case unicode codepoints.</description>
-</source>
-<source ID="HighUnicode2" FileName="TestSources/HighUnicode2.xml" Creator="Frans Englich">
-<description last-mod="2007-12-21">Corner case unicode codepoints, second case.</description>
-</source>
-<source ID="BCIsInvalid" FileName="TestSources/BCisInvalid.xml" Creator="Frans Englich">
-<description last-mod="2007-12-21">An element name containing 0xBC.</description>
-</source>
-<source ID="InvalidUmlaut" FileName="TestSources/InvalidUmlaut.xml" Creator="Frans Englich">
-<description last-mod="2007-12-27">Contains the codepoint 188 in an NCName.</description>
-</source>
-<source ID="NamespaceSuppliedInternally" FileName="TestSources/NamespaceSuppliedInternally.xml" Creator="Frans Englich">
-<description last-mod="2007-12-27">A namespace declared with a namespace declaration, as well as in the internal subset.</description>
-</source>
-<source ID="XMLIdDuplicated" FileName="TestSources/XMLIdDuplicated.xml" Creator="Frans Englich">
-<description last-mod="2008-01-15">An XML file which has two xml:id attributes with the same value.</description>
-</source>
-<source ID="InvalidXMLId" FileName="TestSources/InvalidXMLId.xml" Creator="Frans Englich">
-<description last-mod="2008-01-15">An XML file which has an invalid xml:id attribute.</description>
-</source>
-<source ID="UsingXMLId" FileName="TestSources/UsingXMLId.xml" Creator="Frans Englich">
-<description last-mod="2008-01-15">An XML file which has xml:id attributes.</description>
-</source>
-<source ID="Books2" FileName="TestSources/Books2.xml" Creator="Frans Englich">
-<description last-mod="2008-01-17">An XML which is in ISO-8859-1 encoding.</description>
-</source>
-<source ID="QObject" FileName="TestSources/QObject.xml" Creator="Frans Englich">
-<description last-mod="2008-02-19"/>
-</source>
-<source ID="Char010D" FileName="TestSources/0x010D.xml" Creator="Frans Englich">
-<description last-mod="2008-02-28"/>
-</source>
-<source ID="SmallTree" FileName="TestSources/SmallTree.xml" Creator="Frans Englich">
-<description last-mod="2008-04-03"/>
-</source>
-<source ID="AttributesAndElements" FileName="TestSources/AttributesAndElements.xml" Creator="Frans Englich">
-<description last-mod="2008-04-03"/>
-</source>
-<source ID="functx_prices" FileName="TestSources/functx_prices.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_order" FileName="TestSources/functx_order.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_cats" FileName="TestSources/functx_cats.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_catalog" FileName="TestSources/functx_catalog.xml" Creator="Frans Englich">
-<description last-mod="2008-05-16"/>
-</source>
-<source ID="functx_book" FileName="TestSources/functx_book.xml" Creator="Frans Englich">
-<description last-mod="2008-06-25"/>
-</source>
-<source ID="badxml" FileName="TestSources/badxml.xml" Creator="Frans Englich">
-<description last-mod="2008-05-19"/>
-</source>
-<source ID="builtinEntities" FileName="TestSources/builtinEntities.xml" Creator="Frans Englich">
-<description last-mod="2008-05-26"/>
-</source>
-<source ID="XMLIdWhitespace" FileName="TestSources/XMLIdWhitespace.xml" Creator="Frans Englich">
-<description last-mod="2008-05-27"/>
-</source>
-<source ID="XMLIDMany" FileName="TestSources/XMLIDMany.xml" Creator="Frans Englich">
-<description last-mod="2008-10-24"/>
-</source>
-<source ID="OneTopElement" FileName="TestSources/OneTopElement.xml" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01"/>
-</source>
-<source ID="namespace-sensitive" FileName="TestSources/namespace-sensitive.xml" schema="namespace-sensitive-schema" Creator="Oliver Hallam">
-<description last-mod="2007-02-26">Document containing namespace-sensitive constructs.</description>
-</source>
-<source ID="dm-e005" FileName="TestSources/dm-e005.xml" schema="dm-e005-schema" Creator="Norm Walsh">
-<description last-mod="2010-03-10">Document to test erratum DM.E05.</description>
-</source>
-<source ID="extendedTypes" FileName="TestSources/extendedTypes.xml" schema="extendedTypes-schema" Creator="Oliver Hallam">
-<description last-mod="2010-03-17">Document containing elements with various restricted and extended types.</description>
-</source>
-<source ID="mixed" FileName="TestSources/mixed.xml" schema="mixedcontent" Creator="Oliver Hallam">
-<description last-mod="2010-03-17">Document containing an element with mixed content but statically could have element only content.</description>
-</source>
-<schema ID="XQTSCatalogxsd" uri="http://www.w3.org/2005/02/query-test-XQTSCatalog" FileName="XQTSCatalog.xsd">
-<description last-mod="2005-04-14">Schema for XQTSCatalog</description>
-</schema>
-<schema ID="atomicxsd" uri="http://www.w3.org/XQueryTest" FileName="TestSources/atomic.xsd">
-<description last-mod="2005-03-08">A Schema for atomic.xml</description>
-</schema>
-<schema ID="orderDataxsd" uri="http://www.w3.org/XQueryTestOrderBy" FileName="TestSources/orderData.xsd">
-<description last-mod="2005-06-01">A Schema for orderData.xml</description>
-</schema>
-<schema ID="SpecialTypesXSD" uri="http://www.example.com/typedecl" FileName="TestSources/SpecialTypes.xsd">
-<description last-mod="2005-06-01">A Schema containing certain special types e.g. interleave types, union types, anySimpleType</description>
-</schema>
-<schema ID="QNameSourceXSD" uri="http://www.example.com/QNameXSD" FileName="TestSources/QName-schema.xsd">
-<description last-mod="2005-09-28">A schema containing QName and QName derived types</description>
-</schema>
-<schema ID="notationschema" uri="http://www.example.com/notation" FileName="TestSources/notationschema.xsd">
-<description last-mod="2005-10-10">A Schema for NOTATION data</description>
-</schema>
-<schema ID="idxsd" uri="http://www.w3.org/XQueryTest/ididrefs" FileName="TestSources/id.xsd">
-<description last-mod="2009-03-06">A schema for the id/idref functions tests</description>
-</schema>
-<schema ID="simplexsd" uri="http://www.w3.org/XQueryTest/simple" FileName="TestSources/simple.xsd">
-<description last-mod="2005-12-07">A schema for simple context tests</description>
-</schema>
-<schema ID="examplesxsd" uri="http://www.w3.org/XQueryTest/someExamples" FileName="TestSources/examples.xsd">
-<description last-mod="2006-05-19">A schema for examples.xml.</description>
-</schema>
-<schema ID="userdefined" uri="http://www.w3.org/XQueryTest/userDefinedTypes" FileName="TestSources/userdefined.xsd">
-<description last-mod="2006-04-03">A schema user defined types and constructor tests</description>
-</schema>
-<schema ID="listunion" uri="http://www.w3.org/XQueryTest/ListUnionTypes" FileName="TestSources/listunion.xsd">
-<description last-mod="2006-06-07">A schema defining a list of unions.</description>
-</schema>
-<schema ID="examples2xsd" uri="http://www.w3.org/XQueryTest/someExamples2" FileName="TestSources/examples2.xsd">
-<description last-mod="2009-10-01">Test schema for Errata XQ.E6.</description>
-</schema>
-<schema ID="attribute" uri="http://www.w3.org/XQueryTest/sample" FileName="TestSources/attribute.xsd">
-<description last-mod="2009-04-01">Test schema that contains an attribute declaration.</description>
-</schema>
-<schema ID="mixedcontent" uri="http://www.w3.org/XQueryTest/mixedcontent" FileName="TestSources/mixedcontent.xsd">
-<description last-mod="2009-04-01">Test schema that contains two complex types, one of them with a mixed content.</description>
-</schema>
-<schema ID="simpleContent" uri="http://www.w3.org/query-test/complexSimple" FileName="TestSources/simpleContent.xsd">
-<description last-mod="2009-11-20">Schema for complex types with
-         simple content</description>
-</schema>
-<schema ID="namespace-sensitive-schema" uri="http://www.example.com/test/namespace-sensitive" FileName="TestSources/namespace-sensitive.xsd">
-<description last-mod="2007-02-26">Schema illustrating various namespace-sensitive constructs.</description>
-</schema>
-<schema ID="dm-e005-schema" uri="http://www.example.com/ns/test" FileName="TestSources/dm-e005.xsd">
-<description last-mod="2010-03-10">Schema to test erratum DM.E05.</description>
-</schema>
-<schema ID="xq-e18-schema" uri="http://www.example.com/ns/test/xq-e18" FileName="TestSources/xq-e18.xsd">
-<description last-mod="2010-03-11">Schema to test erratum XQ.E18.</description>
-</schema>
-<schema ID="extendedTypes-schema" uri="http://www.example.com/XQueryTest/extendedTypes" FileName="TestSources/extendedTypes.xsd">
-<description last-mod="2010-03-17">Schema containing extended and restricted types.</description>
-</schema>
-<schema ID="constraints" uri="http://www.w3.org/constraints" FileName="TestSources/constraints.xsd">
-<description last-mod="2010-06-10">Schema with unique/id/idref constraints.</description>
-</schema>
-<collection ID="collection1" Creator="Andrew Eisenberg">
-<description last-mod="2006-06-07">A simple collection of documents.</description>
-<input-document>bib</input-document>
-<input-document>reviews</input-document>
-</collection>
-<collection ID="collection2" Creator="Andrew Eisenberg">
-<description last-mod="2006-06-07">A simple collection of documents.</description>
-<input-document>bib</input-document>
-<input-document>reviews</input-document>
-<input-document>books</input-document>
-</collection>
-<module ID="module1-lib" FileName="TestSources/module1-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-07-13">Library module for "modules-18" query</description>
-</module>
-<module ID="module2-lib" FileName="TestSources/module2-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-07-13">Library module for "modules-18" query</description>
-</module>
-<module ID="empty-lib" FileName="TestSources/empty-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module for "modules-none" query</description>
-</module>
-<module ID="emptyns-lib" FileName="TestSources/emptyns-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with empty namespace</description>
-</module>
-<module ID="test1-lib" FileName="TestSources/test1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Simple library module</description>
-</module>
-<module ID="test2-lib" FileName="TestSources/test2-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-01-19">Library module with namespace URI set to empty string.</description>
-</module>
-<module ID="test1a-lib" FileName="TestSources/test1a-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Simple library module</description>
-</module>
-<module ID="test1collide1-lib" FileName="TestSources/test1collide1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with colliding definitions</description>
-</module>
-<module ID="test1collide2-lib" FileName="TestSources/test1collide2-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with colliding definitions</description>
-</module>
-<module ID="test1c1-lib" FileName="TestSources/test1c1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with circular includes</description>
-</module>
-<module ID="test2c1-lib" FileName="TestSources/test2c1-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with circular includes</description>
-</module>
-<module ID="context-lib" FileName="TestSources/context-lib" Creator="Mary Holstege">
-<description last-mod="2005-12-05">Library module with interesting context</description>
-</module>
-<module ID="module-defs" FileName="TestSources/moduleDefs-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-01-06">Library module with definitions for various NIST tests.</description>
-</module>
-<module ID="modulewrongprefix-lib" FileName="TestSources/moduleDefs-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-03-21">Library module with invalid namespace prefix ("xml")</description>
-</module>
-<module ID="modulesdiffns" FileName="TestSources/modulesdiffns-lib" Creator="Carmelo Montanez">
-<description last-mod="2006-04-11">Library module with variable on different namespace than target.</description>
-</module>
-<module ID="errata6-module1" FileName="TestSources/errata6-module1" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module2" FileName="TestSources/errata6-module2" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module4" FileName="TestSources/errata6-module4" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module5" FileName="TestSources/errata6-module5" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module6" FileName="TestSources/errata6-module6" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata6-module7" FileName="TestSources/errata6-module7" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-</module>
-<module ID="errata8-module1a" FileName="TestSources/errata8-module1a" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module1b" FileName="TestSources/errata8-module1b" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module2a" FileName="TestSources/errata8-module2a" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module2b" FileName="TestSources/errata8-module2b" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
-</module>
-<module ID="errata8-module3a" FileName="TestSources/errata8-module3a" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies pass case.</description>
-</module>
-<module ID="errata8-module3b" FileName="TestSources/errata8-module3b" Creator="John Snelson">
-<description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies pass case.</description>
-</module>
-<module ID="module3-lib" FileName="TestSources/module3-lib" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with simple and schema-element() types, used for functions'parameters and return results.</description>
-</module>
-<module ID="module4-lib" FileName="TestSources/module4-lib" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with schema-attribute() types, used for functions' parameters and return results.</description>
-</module>
-<module ID="modules-recursive1" FileName="TestSources/modules-recursive1" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
-</module>
-<module ID="modules-recursive2" FileName="TestSources/modules-recursive2" Creator="Nicolae Brinza">
-<description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
-</module>
-<module ID="module-pub-priv" FileName="TestSources/module-pub-priv" Creator="Michael Kay">
-<description last-mod="2009-10-01">Module that contains both private and public function declarations (XQuery 1.1).</description>
-</module>
-</sources>
-<implementation-defined-items>
-<implementation-defined-item name="expressionUnicode" spec="XQuery">
-<description last-mod="2005-04-04">The version of Unicode that is used to construct expressions.</description>
-</implementation-defined-item>
-<implementation-defined-item name="collations" spec="XQuery">
-<description last-mod="2005-04-04">The statically-known collations.</description>
-</implementation-defined-item>
-<implementation-defined-item name="implicitTimezone" spec="XQuery">
-<description last-mod="2005-04-04">The implicit timezone.</description>
-</implementation-defined-item>
-<implementation-defined-item name="warningsMethod" spec="XQuery">
-<description last-mod="2005-04-04">The circumstances in which warnings are raised, and the ways in which warnings are handled.</description>
-</implementation-defined-item>
-<implementation-defined-item name="errorsMethod" spec="XQuery">
-<description last-mod="2005-04-04">The method by which errors are reported to the external processing environment.</description>
-</implementation-defined-item>
-<implementation-defined-item name="XMLVersion" spec="XQuery">
-<description last-mod="2005-10-10">Whether the implementation is based on the rules of [XML 1.0] and [XML Names] or the rules of [XML 1.1] and [XML Names 1.1]. One of these sets of rules must be applied consistently by all aspects of the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="overwrittenContextComponents" spec="XQuery">
-<description last-mod="2005-04-04">Any components of the static context or dynamic context that are overwritten or augmented by the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="axes" spec="XQuery">
-<description last-mod="2005-04-04">Which of the optional axes are supported by the implementation, if the Full-Axis Feature is not supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="defaultOrderEmpty" spec="XQuery">
-<description last-mod="2005-04-04">The default handling of empty sequences returned by an ordering key (sortspec) in an order by clause (empty least or empty greatest).</description>
-</implementation-defined-item>
-<implementation-defined-item name="pragmas" spec="XQuery">
-<description last-mod="2005-04-04">The names and semantics of any extension expressions (pragmas) recognized by the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="optionDeclarations" spec="XQuery">
-<description last-mod="2005-04-04">The names and semantics of any option declarations recognized by the implementation.</description>
-</implementation-defined-item>
-<implementation-defined-item name="externalFunctionProtocols" spec="XQuery">
-<description last-mod="2005-04-04">Protocols (if any) by which parameters can be passed to an external function, and the result of the function can returned to the invoking query.</description>
-</implementation-defined-item>
-<implementation-defined-item name="moduleLocationHints" spec="XQuery">
-<description last-mod="2005-11-01">The process by which the specific modules to be imported by a module import are identified, if the Module Feature is supported (includes processing of location hints, if any.)</description>
-</implementation-defined-item>
-<implementation-defined-item name="staticTypingExtensions" spec="XQuery">
-<description last-mod="2005-04-04">Any static typing extensions supported by the implementation, if the Static Typing Feature is supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="serializationInvocation" spec="XQuery">
-<description last-mod="2005-04-04">The means by which serialization is invoked, if the Serialization Feature is supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="serializationDefaults" spec="XQuery">
-<description last-mod="2005-10-10">The default values for the byte-order-mark, encoding, media-type, normalization-form, omit-xml-declaration, standalone, and version parameters, if the Serialization Feature is supported.</description>
-</implementation-defined-item>
-<implementation-defined-item name="externalFunctionCall" spec="XQuery">
-<description last-mod="2006-08-09">The result of an unsuccessful call to an external function (for example, if the function implementation cannot be found or does not return a value of the declared type).</description>
-</implementation-defined-item>
-<implementation-defined-item name="limits" spec="XQuery">
-<description last-mod="2005-11-01">Limits on ranges of values for various data types, as enumerated in 5.3 Data Model Conformance.</description>
-</implementation-defined-item>
-<implementation-defined-item name="traceDestination" spec="FuncOps">
-<description last-mod="2005-10-10">The destination of the trace output is implementation-defined. See 4 The Trace Function.</description>
-</implementation-defined-item>
-<implementation-defined-item name="integerOperations" spec="FuncOps">
-<description last-mod="2005-10-10">For xs:integer operations, implementations that support limited-precision integer operations must either raise an error [err:FOAR0002] or provide an implementation-defined mechanism that allows users to choose between raising an error and returning a result that is modulo the largest representable integer value. See 6.2 Operators on Numeric Values.</description>
-</implementation-defined-item>
-<implementation-defined-item name="decimalDigits" spec="FuncOps">
-<description last-mod="2005-11-01">For xs:decimal values the number of digits of precision returned by the numeric operators is implementation-defined. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
-</implementation-defined-item>
-<implementation-defined-item name="roundOrTruncate" spec="FuncOps">
-<description last-mod="2005-10-10">If the number of digits in the result exceeds the number of digits that the implementation supports, the result is truncated or rounded in an implementation-defined manner. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
-</implementation-defined-item>
-<implementation-defined-item name="Unicode" spec="FuncOps">
-<description last-mod="2005-11-01">It is implementation-defined which version of Unicode is supported by the features defined in this specification, but it is recommended that the most recent version of Unicode be used. See 7.1 String Types.</description>
-</implementation-defined-item>
-<implementation-defined-item name="normalizationForms" spec="FuncOps">
-<description last-mod="2005-10-10">For 7.4.6 fn:normalize-unicode, conforming implementations must support normalization form "NFC" and may support normalization forms "NFD", "NFKC", "NFKD", "FULLY-NORMALIZED". They may also support other normalization forms with implementation-defined semantics.</description>
-</implementation-defined-item>
-<implementation-defined-item name="collationUnits" spec="FuncOps">
-<description last-mod="2005-10-10">The ability to decompose strings into collation units suitable for substring matching is an implementation-defined property of a collation. See 7.5 Functions Based on Substring Matching.</description>
-</implementation-defined-item>
-<implementation-defined-item name="secondsDigits" spec="FuncOps">
-<description last-mod="2005-10-10">All minimally conforming processors must support year values with a minimum of 4 digits (i.e., YYYY) and a minimum fractional second precision of 1 millisecond or three digits (i.e., s.sss). However, conforming processors may set larger implementation-defined limits on the maximum number of digits they support in these two situations. See 10.1.1 Limits and Precision.</description>
-</implementation-defined-item>
-<implementation-defined-item name="stringToDecimal" spec="FuncOps">
-<description last-mod="2006-08-09">The result of casting a string to xs:decimal, when the resulting value is not too large or too small but nevertheless has too many decimal digits to be accurately represented, is implementation-defined. See 17.1.1 Casting from xs:string and xs:untypedAtomic.</description>
-</implementation-defined-item>
-<implementation-defined-item name="docProcessing" spec="FuncOps">
-<description last-mod="2005-10-10">Various aspects of the processing provided by 15.5.4 fn:doc are implementation-defined. Implementations may provide external configuration options that allow any aspect of the processing to be controlled by the user.</description>
-</implementation-defined-item>
-<implementation-defined-item name="weakenStable" spec="FuncOps">
-<description last-mod="2006-08-09">The manner in which implementations provide options to weaken the stable characteristic of 15.5.6 fn:collection and 15.5.4 fn:doc are implementation-defined.</description>
-</implementation-defined-item>
-<implementation-defined-item name="additionalTypes" spec="DataModel">
-<description last-mod="2005-04-04">Support for additional user-defined or implementation-defined types is implementation-defined. (See 2.6.1 Representation of Types)</description>
-</implementation-defined-item>
-<implementation-defined-item name="undefinedProperties" spec="DataModel">
-<description last-mod="2005-04-04">Some typed values in the data model are undefined. Attempting to access an undefined property is always an error. Behavior in these cases is implementation-defined and the host language is responsible for determining the result. (See 5 Accessors)</description>
-</implementation-defined-item>
-<implementation-defined-item name="sequenceNormalization" spec="Serialization">
-<description last-mod="2005-04-04">For any implementation-defined output method, it is implementation-defined whether sequence normalization process takes place. (See 2 Sequence Normalization)</description>
-</implementation-defined-item>
-<implementation-defined-item name="outputMethods" spec="Serialization">
-<description last-mod="2005-04-04">If the namespace URI is non-null for the method serialization parameter, then the parameter specifies an implementation-defined output method. (See 3 Serialization Parameters)</description>
-</implementation-defined-item>
-<implementation-defined-item name="normalizationFormBehavior" spec="Serialization">
-<description last-mod="2005-04-04">If the value of the normalization-form form parameter is not NFC, NFD, NFKC, NFKD, fully-normalized, or none then the meaning of the value and it's effect is implementation-defined. (See 4 Phases of Serialization)</description>
-</implementation-defined-item>
-<implementation-defined-item name="additionalParams" spec="Serialization">
-<description last-mod="2005-11-01">The effect of additional serialization parameters on the output of the serializer, where the name of such a parameter must be namespace-qualified, is implementation-defined or implementation-dependent. The extent of this effect on the output must not override the provisions of this specification. (See 3 Serialization Parameters)</description>
-</implementation-defined-item>
-<implementation-defined-item name="encodingPhase" spec="Serialization">
-<description last-mod="2005-04-04">The effect of providing an option that allows the encoding phase to be skipped, so that the result of serialization is a stream of Unicode characters, is implementation-defined. The serializer is not required to support such an option. (See 4 Phases of Serialization)</description>
-</implementation-defined-item>
-<implementation-defined-item name="CDATASerialization" spec="Serialization">
-<description last-mod="2005-04-04">An serializer may provide an implementation-defined mechanism to place CDATA sections in the result tree. (See 5.1.4 XML Output Method: the cdata-section-elements Parameter)</description>
-</implementation-defined-item>
-</implementation-defined-items>
-<features>
-<feature name="Minimal Conformance"/>
-<feature name="Schema Import"/>
-<feature name="Schema Validation"/>
-<feature name="Static Typing"/>
-<feature name="Static Typing Extensions"/>
-<feature name="Full Axis"/>
-<feature name="Module"/>
-<feature name="Serialization"/>
-</features>
-<context-properties>
-<context-property name="Statically known namespaces" context-type="static"/>
-<context-property name="Default element/type namespace" context-type="static"/>
-<context-property name="Default function namespace" context-type="static"/>
-<context-property name="In-scope schema types" context-type="static"/>
-<context-property name="In-scope element declarations" context-type="static"/>
-<context-property name="In-scope attribute declarations" context-type="static"/>
-<context-property name="In-scope variables" context-type="static"/>
-<context-property name="Context item static type" context-type="static"/>
-<context-property name="Function signatures" context-type="static"/>
-<context-property name="Statically known collations" context-type="static"/>
-<context-property name="Default collation" context-type="static"/>
-<context-property name="Construction mode" context-type="static"/>
-<context-property name="Ordering mode" context-type="static"/>
-<context-property name="Default order for empty sequences" context-type="static"/>
-<context-property name="Boundary-space policy" context-type="static"/>
-<context-property name="Copy-namespaces mode" context-type="static"/>
-<context-property name="Base URI" context-type="static"/>
-<context-property name="Statically known documents" context-type="static"/>
-<context-property name="Statically known collections" context-type="static"/>
-<context-property name="Statically known default collection type" context-type="static"/>
-<context-property name="Context item" context-type="dynamic"/>
-<context-property name="Context position" context-type="dynamic"/>
-<context-property name="Context size" context-type="dynamic"/>
-<context-property name="Variable values" context-type="dynamic"/>
-<context-property name="Function implementations" context-type="dynamic"/>
-<context-property name="Current dateTime" context-type="dynamic"/>
-<context-property name="Implicit timezone" context-type="dynamic"/>
-<context-property name="Available documents" context-type="dynamic"/>
-<context-property name="Available collections" context-type="dynamic"/>
-<context-property name="Default collection" context-type="dynamic"/>
-</context-properties>
-<test-group name="MinimalConformance" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Minimal Conformance</title>
-<description/>
-</GroupInfo>
-<test-group name="OptionalFeatureErrors" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Optional Feature Errors</title>
-<description/>
-</GroupInfo>
-<test-group name="CombinedErrorCodes" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Single error code for extra features</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="Basics">
-<GroupInfo>
-<title>XQuery Basics</title>
-<description/>
-</GroupInfo>
-<test-group name="StaticContext">
-<GroupInfo>
-<title>Static Context Evaluation</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="Types">
-<GroupInfo>
-<title>Query Types</title>
-<description/>
-</GroupInfo>
-<test-group name="SequenceTypeSyntax" featureOwner="NIST">
-<GroupInfo>
-<title>XQuery Sequence Type Syntax</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-</test-group>
-<test-group name="Expressions" featureOwner="Frans Englich">
-<GroupInfo>
-<title>XQuery Expressions</title>
-<description/>
-</GroupInfo>
-<test-group name="PrimaryExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Primary Expressions</title>
-<description/>
-</GroupInfo>
-<test-group name="Literals" featureOwner="Microsoft and Frans Englich">
-<GroupInfo>
-<title>Literals</title>
-<description>
-                     Test string and numeric literals in XQuery.
-                  </description>
-</GroupInfo>
-</test-group>
-<test-group name="ParenExpr" featureOwner="IBM and Frans Englich">
-<GroupInfo>
-<title>Parenthesized Expressions</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="ContextExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Context Item Expressions</title>
-<description/>
-</GroupInfo>
-<test-group name="ExternalContextExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>External Context Item Expressions</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="InternalContextExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Internal Context Item Expressions</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="FunctionCallExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Function Calls</title>
-<description>Contains tests verifying the function calling mechanism; not a particular function implementation.</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="PathExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Path Expressions</title>
-<description/>
-</GroupInfo>
-<test-group name="PathExpressions">
-<GroupInfo>
-<title>General Path Expression Tests</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="Steps" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Steps</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="Axes" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Axes</title>
-<description>Tests in this group focus on the axes named in XQuery 3.2.1.1 and the / and // step operators of 3.2.1. Abbreviated versions (@ vs. attribute::) are included. NodeTests are typically *, node(), or a name.</description>
-</GroupInfo>
-</test-group>
-<test-group name="NodeTestSection" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Node Tests</title>
-<description>Tests in this group take the axes as a given and focus on the NodeTest syntax in XQuery 3.2.1.2. Includes explicit names, *, and the various kind tests that look like functions.</description>
-</GroupInfo>
-<test-group name="NodeTest" featureOwner="Frans Englich">
-<GroupInfo>
-<title>NodeTest</title>
-<description>Tests in this group take the axes as a given and focus on the NodeTest syntax in XQuery 3.2.1.2. Includes explicit names, *, and the various kind tests that look like functions.</description>
-</GroupInfo>
-</test-group>
-<test-group name="NameTest" featureOwner="Frans Englich">
-<GroupInfo>
-<title>NameTest</title>
-<description>Tests in this group take the axes as a given and focus on the NodeTest syntax in XQuery 3.2.1.2. Includes explicit names, *, and the various kind tests that look like functions.</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="Predicates" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Predicates</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="UnabbrAxes" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Unabbreviated Syntax</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="AbbrAxes" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Abbreviated Syntax</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="SeqExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Sequence Expressions</title>
-<description/>
-</GroupInfo>
-<test-group name="ConstructSeq" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Constructing Sequences</title>
-<description>Tests that construct sequences</description>
-</GroupInfo>
-<test-group name="commaOp" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Comma Operator</title>
-<description>Tests that construct sequences using the comma operator</description>
-</GroupInfo>
-</test-group>
-<test-group name="RangeExpr" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Range Expression</title>
-<description>Tests that construct sequences using the RangeExpr</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="FilterExpr" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Filter Expressions</title>
-<description>Simple tests to evaluate filter sequence expressions.</description>
-</GroupInfo>
-</test-group>
-<test-group name="CombNodeSeq" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Combining Node Sequences</title>
-<description>Tests for combining Sequences</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="Operators" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Operators</title>
-<description/>
-</GroupInfo>
-<test-group name="ArithExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Arithmetic Operators</title>
-<description/>
-</GroupInfo>
-<test-group name="NumericOpr" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Arithmetic Operators on Numeric Values</title>
-<description/>
-</GroupInfo>
-<test-group name="NumericAdd" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-add</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericSubtract" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-subtract</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericMultiply" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-multiply</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericDivide" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-divide</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericIntegerDivide" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-integer-divide</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericMod" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-mod</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericUnaryPlus" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-unary-plus</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericUnaryMinus" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-unary-minus</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="DurationArith" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Arithmetic Operators on Duration Values</title>
-<description/>
-</GroupInfo>
-<test-group name="YearMonthDurationAdd" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:add-yearMonthDurations</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="YearMonthDurationSubtract" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-yearMonthDurations</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="YearMonthDurationMultiply" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:multiply-yearMonthDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="YearMonthDurationDivide" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:divide-yearMonthDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="YearMonthDurationDivideYMD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:divide-yearMonthDuration-by-yearMonthDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationAdd" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:add-dayTimeDurations</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationSubtract" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-dayTimeDurations</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationMultiply" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:multiply-dayTimeDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationDivide" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:divide-dayTimeDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationDivideDTD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:divide-dayTimeDuration-by-dayTimeDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="DurationDateTimeArith" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Arithmetic Operators on Duration and Date Time Values</title>
-<description/>
-</GroupInfo>
-<test-group name="dateTimesSubtract" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-dateTimes-yielding-dayTimeDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DatesSubtract" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-dates-yielding-dayTimeDuration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="TimeSubtract" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-times</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="YearMonthDurationAddDT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:add-yearMonthDuration-to-dateTime</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateTimeAddDTD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:add-dayTimeDuration-to-dateTime</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateTimeSubtractYMD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-yearMonthDuration-from-dateTime</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateTimeSubtractDTD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-dayTimeDuration-from-dateTime</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateAddYMD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:add-yearMonthDuration-to-date</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateAddDTD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:add-dayTimeDuration-to-date</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateSubtractYMD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-yearMonthDuration-from-date</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateSubtractDTD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-dayTimeDuration-from-date</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="TimeAddDTD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:add-dayTimeDuration-to-time</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="TimeSubtractDTD" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:subtract-dayTimeDuration-from-time</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-</test-group>
-<test-group name="CompExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Comparison Operators</title>
-<description/>
-</GroupInfo>
-<test-group name="ValComp" featureOwner="IBM and Frans Englich">
-<GroupInfo>
-<title>Value Comparison</title>
-<description/>
-</GroupInfo>
-<test-group name="NumericComp" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Comparison of Numeric Values</title>
-<description/>
-</GroupInfo>
-<test-group name="NumericEqual" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-less-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NumericGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:numeric-greater-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="BooleanOp" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Comparison Operators on Boolean Values</title>
-<description/>
-</GroupInfo>
-<test-group name="BooleanEqual" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:boolean-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="BooleanLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:boolean-less-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="BooleanGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:boolean-greater-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="DurationDateTimeOp" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Comparisons of Duration, Date Time Values</title>
-<description/>
-</GroupInfo>
-<test-group name="YearMonthDurationLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:yearMonthDuration-less-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="YearMonthDurationGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:yearMonthDuration-greater-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:dayTimeDuration-less-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:dayTimeDuration-greater-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DurationEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:duration equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateTimeEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:dateTime-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateTimeLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:dateTime-less-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateTimeGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:dateTime-greater-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:date-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:date-less-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DateGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:date-greater-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="TimeEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:time-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="TimeLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:time-less-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="TimeGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:time-greater-than</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="gYearMonthEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:gYearMonth-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="gYearEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:gYear-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="gMonthDayEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:gMonthDay-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="gMonthEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:gMonth-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="gDayEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:gDay-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="YearMonthDurationEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:yearMonthDuration-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="DayTimeDurationEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:dayTimeDuration-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="QNameOp" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Comparison Operators on QName Values</title>
-<description/>
-</GroupInfo>
-<test-group name="QNameEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:QName-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="PrefixFromQName" featureOwner="Frans Englich">
-<GroupInfo>
-<title>fn:prefix-from-QName</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="BinaryOp" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Comparison Operators on base64Binary and hexBinary Types</title>
-<description/>
-</GroupInfo>
-<test-group name="HexBinaryEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:hexBinary-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="Base64BinaryEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:base64Binary-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="NotationOp" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Comparison Operators on NOTATION Types</title>
-<description/>
-</GroupInfo>
-<test-group name="NotationEQ" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:NOTATION-equal</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="ValCompTypeChecking" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Type Checking and Error Handling</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="StringComp" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Comparison of String Values</title>
-<description/>
-</GroupInfo>
-<test-group name="StringEqual" featureOwner="Frans Englich">
-<GroupInfo>
-<title>xs:string eq/ne xs:string</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="StringGT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>xs:string gt/ge xs:string</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="StringLT" featureOwner="Frans Englich">
-<GroupInfo>
-<title>xs:string lt/le xs:string</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="AnyURIComp" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Comparison of AnyURI Values</title>
-<description/>
-</GroupInfo>
-<test-group name="AnyURIEqual" featureOwner="Frans Englich">
-<GroupInfo>
-<title>xs:anyURI eq/ne xs:anyURI</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="AnyURILtGt">
-<GroupInfo>
-<title>xs:anyURI lt/gt xs:anyURI</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="AnyURILeGe">
-<GroupInfo>
-<title>xs:anyURI le/ge xs:anyURI</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-</test-group>
-<test-group name="GenComprsn" featureOwner="Frans Englich">
-<GroupInfo>
-<title>General Comparisons</title>
-<description/>
-</GroupInfo>
-<test-group name="GenCompEq" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>The "=" operator for general comparisons</title>
-<description>The general comparison operator"="</description>
-</GroupInfo>
-</test-group>
-<test-group name="GenCompNE" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>The "!=" operator for general comparisons</title>
-<description>The general comparison operator"!="</description>
-</GroupInfo>
-</test-group>
-<test-group name="GenCompLT" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>The "&lt; (less than)" operator for general comparisons</title>
-<description>The general comparison operator "less than (&lt;)"</description>
-</GroupInfo>
-</test-group>
-<test-group name="GenCompLTEQ" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>The "&lt;= (less than or equal)" operator for general comparisons</title>
-<description>The general comparison operator "less than or equal (&lt;=)"</description>
-</GroupInfo>
-</test-group>
-<test-group name="GenCompGT" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>The "&gt; (greater than)" operator for general comparisons</title>
-<description>The general comparison operator "greater than (&gt;)"</description>
-</GroupInfo>
-</test-group>
-<test-group name="GenCompGTEQ" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>The "&gt;= (greater than or equal)" operator for general comparisons</title>
-<description>The general comparison operator "greater than or equal (&gt;=)"</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="NodeComp" featureOwner="IBM and Frans Englich">
-<GroupInfo>
-<title>Node Comparisons</title>
-<description/>
-</GroupInfo>
-<test-group name="NodeSame" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:is-same-node</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NodeBefore" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:node-before</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="NodeAfter" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:node-after</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-</test-group>
-<test-group name="SeqOp" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Operators on Sequences</title>
-<description/>
-</GroupInfo>
-<test-group name="SeqUnion" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:union</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqIntersect" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:intersect</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqExcept" featureOwner="Frans Englich">
-<GroupInfo>
-<title>op:except</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-</test-group>
-<test-group name="LogicExpr" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Logical Expressions</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="Construct" featureOwner="IBM and Frans Englich">
-<GroupInfo>
-<title>Constructors</title>
-<description/>
-</GroupInfo>
-<test-group is-XPath2="false" name="DirectConElem" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Direct Element Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="DirectConElemAttr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Attributes</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="DirectConElemNamespace" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Namespace Declaration Attributes</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="DirectConElemContent" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Content</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="DirectConElemWhitespace" featureOwner="Frans Englich">
-<GroupInfo>
-<title>White Space Element Content</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="DirectConOther" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Other Direct Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="XMLEdition" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Conformance to the XML 1.0 3-5th edition and XML 1.1</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ComputeCon" featureOwner="IBM and Frans Englich">
-<GroupInfo>
-<title>Computed Constructors</title>
-<description/>
-</GroupInfo>
-<test-group is-XPath2="false" name="ComputeConElem" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Computed Element Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ComputeConAttr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Computed Attribute Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ConDocNode" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Document Node Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ConText" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Text Node Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ComputeConPI" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Computed Processing-instruction Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ComputeConComment" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Computed Comment Constructors</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group is-XPath2="false" name="ConInScopeNamespace" featureOwner="Frans Englich">
-<GroupInfo>
-<title>In-scope Namespaces of a Constructed Element</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="FLWORExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Tests of For-Let-Where-OrderBy-Return Expressions</title>
-<description>Tests in this group focus on the FLWOR expressions in XQuery 3.8.</description>
-</GroupInfo>
-<test-group name="ForExpr" featureOwner="Microsoft and Frans Englich">
-<GroupInfo>
-<title>FOR Clause</title>
-<description>Tests for the FOR part of the FLWOR expression syntax</description>
-</GroupInfo>
-<test-group name="ForExprWithout" featureOwner="Frans Englich">
-<GroupInfo>
-<title>FOR Clause without TypeDeclaration</title>
-<description>Tests for the FOR part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-<test-group name="ForExprWith" featureOwner="Frans Englich">
-<GroupInfo>
-<title>FOR Clause with TypeDeclaration</title>
-<description>Tests for the FOR part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-<test-group name="ForExprPositionalVar" featureOwner="Frans Englich">
-<GroupInfo>
-<title>FOR Clause with a Positional Variable</title>
-<description>Tests for the 'at' variable in FLWOR expression.</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group is-XPath2="false" name="LetExpr" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>LET Clause</title>
-<description>Tests for the LET part of the FLWOR expression syntax</description>
-</GroupInfo>
-<test-group is-XPath2="false" name="LetExprWithout" featureOwner="Frans Englich">
-<GroupInfo>
-<title>LET Clause without TypeDeclaration</title>
-<description>Tests for the LET part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="LetExprWith" featureOwner="Frans Englich">
-<GroupInfo>
-<title>LET Clause with TypeDeclaration</title>
-<description>Tests for the LET part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group is-XPath2="false" name="WhereExpr" featureOwner="Microsoft and Frans Englich">
-<GroupInfo>
-<title>WHERE Clause</title>
-<description>Tests for the WHERE part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="OrderbyExpr" featureOwner="Microsoft and Frans Englich">
-<GroupInfo>
-<title>ORDER BY Clause</title>
-<description>Tests for the ORDER BY part of the FLWOR expression syntax</description>
-</GroupInfo>
-<test-group is-XPath2="false" name="OrderbyExprWith" featureOwner="Frans Englich">
-<GroupInfo>
-<title>ORDER BY Clause with OrderModifier</title>
-<description>Tests for the ORDER BY part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="OrderbyExprWithout" featureOwner="Frans Englich">
-<GroupInfo>
-<title>ORDER BY Clause without OrderModifier</title>
-<description>Tests for the ORDER BY part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="ReturnExpr" featureOwner="Microsoft and Frans Englich">
-<GroupInfo>
-<title>RETURN Clause</title>
-<description>Tests for the RETURN part of the FLWOR expression syntax</description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group is-XPath2="false" name="OrderExpr" featureOwner="IBM and Frans Englich">
-<GroupInfo>
-<title>Ordered and Unordered Expressions</title>
-<description>Tests involving "Ordered" and/or "unordered"</description>
-</GroupInfo>
-</test-group>
-<test-group name="CondExpr" featureOwner="Microsoft and Frans Englich">
-<GroupInfo>
-<title>Conditional Expressions</title>
-<description>Tests in this group focus on the conditional expressions in XQuery 3.10.</description>
-</GroupInfo>
-</test-group>
-<test-group name="QuantExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Quantified Expressions</title>
-<description/>
-</GroupInfo>
-<test-group name="QuantExprWithout" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Quantified Expressions Without TypeDeclaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="QuantExprWith" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Quantified Expressions With TypeDeclaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="exprSeqTypes" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Expressions on Sequence Types</title>
-<description/>
-</GroupInfo>
-<test-group name="SeqExprInstanceOf" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Instance Of</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="sequenceExprTypeswitch" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Typeswitch</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqExprCastToDerived" featureOwner="NIST">
-<GroupInfo>
-<title>Cast from Derived types</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqExprCastToDerivedParents" featureOwner="NIST">
-<GroupInfo>
-<title>Cast from Derived types To Parents</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqExprCastWithinBranch" featureOwner="NIST">
-<GroupInfo>
-<title>Casting within a branch of the type hierarchy</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqExprCast" featureOwner="IBM/XSLT and Frans Englich">
-<GroupInfo>
-<title>Cast</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqExprCastable" featureOwner="IBM/XSLT and Frans Englich">
-<GroupInfo>
-<title>Castable</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group name="SeqExprTreat" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Treat</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group is-XPath2="false" name="PrologExpr" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Modules and Prologs</title>
-<description/>
-</GroupInfo>
-<test-group is-XPath2="false" name="VersionProlog" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Version Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="BoundarySpaceProlog" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Boundary-space Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="CollationProlog" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Default Collation Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="CopyNamespacesProlog" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Copy Namespaces Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="BaseURIProlog" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Base URI Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ConstructionProlog" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Construction Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="DefaultNamespaceProlog" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Default Namespace Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="DefaultOrderingProlog" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Ordering Mode Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="EmptyOrderProlog" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Empty Order Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="NamespaceProlog" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Namespace Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="VariableProlog" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Variable Declaration</title>
-<description/>
-</GroupInfo>
-<test-group is-XPath2="false" name="ExternalVariablesWithout" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>External Variable References without TypeDeclaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ExternalVariablesWith" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>External Variable References with TypeDeclatation</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="InternalVariablesWithout" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Internal Variable References without TypeDeclaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="InternalVariablesWith" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Internal Variable References with TypeDeclatation</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group is-XPath2="false" name="FunctionProlog" featureOwner="Oracle and Frans Englich">
-<GroupInfo>
-<title>Function Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="OptionDeclarationProlog" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Option Declaration Declaration</title>
-<description/>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="XQueryComment" featureOwner="Microsoft and Frans Englich">
-<GroupInfo>
-<title>XQuery Comments</title>
-<description>Tests for the XQuery comment syntax</description>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ExtensionExpression" featureOwner="NIST and Frans Englich">
-<GroupInfo>
-<title>Extension Expression</title>
-<description/>
-</GroupInfo>
-</test-group>
-<test-group is-XPath2="false" name="ImplicitContext" featureOwner="Frans Englich">
-<GroupInfo>
-<title>Implicit Context</title>
-<description>
-                  Implementations are allowed to define an implicit context for their queries. What this means
-                  is that an XQuery expression can use the '.' or '/' axes without specifying any explicit
-                  context to bind these to. The binding of the implicit context to some input document is an
-                  implementation specific detail and should be handled by the individual test harness.
-               </description>
-</GroupInfo>
-</test-group>
-</test-group>
-<test-group name="Functions" 

<TRUNCATED>

[4/9] Updated the testing resources.

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/XQTSCatalog.xsd
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/XQTSCatalog.xsd b/vxquery-xtest/tests/XQTSCatalog.xsd
deleted file mode 100644
index 9ccbcec..0000000
--- a/vxquery-xtest/tests/XQTSCatalog.xsd
+++ /dev/null
@@ -1,1136 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-   xmlns:test="http://www.w3.org/2005/02/query-test-XQTSCatalog"
-   targetNamespace="http://www.w3.org/2005/02/query-test-XQTSCatalog" elementFormDefault="qualified">
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- History:                                                             -->
-   <!--                                                                      -->
-   <!-- 2008-07-29 - reflects-resolution                                     -->
-   <!--                                                                      -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- test-suite - top level element                                       -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="test-suite">
-      <xs:annotation>
-         <xs:documentation>
-            This is the top level element for documents that use this schema.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence>
-            <xs:element ref="test:test-suite-info"/>
-            <xs:element ref="test:citations"/>
-            <xs:element ref="test:comparisons"/>
-            <xs:element ref="test:roles"/>
-            <xs:element ref="test:scenarios"/>
-            <xs:element ref="test:sources"/>
-            <xs:element ref="test:implementation-defined-items"/>
-            <xs:element ref="test:features"/>
-            <xs:element ref="test:context-properties"/>
-            <xs:element ref="test:test-group" maxOccurs="unbounded"/>
-         </xs:sequence>
-
-         <xs:attribute name="CatalogDesignDate" type="xs:date" use="required"/>
-
-         <!-- XQTS version -->
-         <xs:attribute name="version" type="xs:string" use="required">
-            <xs:annotation>
-               <xs:documentation>
-                  XQTS version
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-         <!-- not used -->
-         <xs:attribute name="targetLanguage" type="test:targetLanguage" use="optional">
-            <xs:annotation>
-               <xs:documentation>
-                  not used
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-         <!-- offset from XQTS root to source documents and schemas -->
-         <xs:attribute name="SourceOffsetPath" type="test:SimplifiedRelativeFilePath" use="required">
-            <xs:annotation>
-               <xs:documentation>
-                  offset from XQTS root to source documents and schemas
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-
-         <!-- offset from XQTS root to result documents -->
-         <xs:attribute name="ResultOffsetPath" type="test:SimplifiedRelativeFilePath" use="required">
-            <xs:annotation>
-               <xs:documentation>
-                  offset from XQTS root to result documents
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-
-         <!-- offset from XQTS root to XQuery expression files -->
-         <xs:attribute name="XQueryQueryOffsetPath" type="test:SimplifiedRelativeFilePath"
-            use="required">
-            <xs:annotation>
-               <xs:documentation>
-                  offset from XQTS root to XQuery expression files
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-
-         <!-- offset from XQTS root to XQueryX documents -->
-         <xs:attribute name="XQueryXQueryOffsetPath" type="test:SimplifiedRelativeFilePath"
-            use="required">
-            <xs:annotation>
-               <xs:documentation>
-                  offset from XQTS root to XQueryX documents
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-
-         <!-- file extension for XQuery expression files -->
-         <xs:attribute name="XQueryFileExtension" type="xs:string" use="required">
-            <xs:annotation>
-               <xs:documentation>
-                  file extension for XQuery expression files
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-
-         <!-- file extension for XQueryX documents -->
-         <xs:attribute name="XQueryXFileExtension" type="xs:string" use="required">
-            <xs:annotation>
-               <xs:documentation>
-                  file extension for XQueryX documents
-               </xs:documentation>
-            </xs:annotation>
-         </xs:attribute>
-
-      </xs:complexType>
-
-      <xs:unique name="unique-test-group">
-         <xs:selector xpath=".//test:test-group"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-      <xs:unique name="unique-test-case">
-         <xs:selector xpath=".//test:test-case"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-
-   </xs:element>
-
-
-   <!-- targetLanguage type                                                  -->
-
-   <xs:simpleType name="targetLanguage">
-      <xs:restriction base="xs:string">
-         <xs:enumeration value="XQuery"/>
-         <xs:enumeration value="XQueryX"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-   <!-- SimplifiedRelativeFilePath type                                      -->
-
-   <xs:simpleType name="SimplifiedRelativeFilePath">
-      <xs:restriction base="xs:anyURI">
-         <xs:pattern value="([a-zA-Z0-9\-\.]+/)+"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- test-suite-info                                                      -->
-   <!--                                                                      -->
-   <!-- Identify the test suite.                                             -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="test-suite-info">
-      <xs:annotation>
-         <xs:documentation>
-            Identify the test suite.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence>
-            <xs:element name="title" type="xs:string"/>
-            <xs:element name="description" type="xs:string" minOccurs="0"/>
-         </xs:sequence>
-      </xs:complexType>
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- citations                                                            -->
-   <!--                                                                      -->
-   <!-- Identify each of the XQuery documents.                               -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="citations">
-      <xs:annotation>
-         <xs:documentation>
-            Identify each of the XQuery documents.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:choice maxOccurs="unbounded">
-            <xs:element name="citation-spec" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:sequence>
-                           <xs:element name="spec-URI" type="xs:anyURI"/>
-                        </xs:sequence>
-                        <xs:attribute name="name" type="test:citation-spec-enum" use="required"/>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-         </xs:choice>
-      </xs:complexType>
-
-      <xs:unique name="unique-citation-specs">
-         <xs:selector xpath=".//test:citation-spec"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- comparisons                                                          -->
-   <!--                                                                      -->
-   <!-- Identify each of the comparisons that will be used in test cases.    -->
-   <!--                                                                      -->
-   <!-- This is provided for the purpose of documentation and is not needed  -->
-   <!-- by implementors.                                                     -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="comparisons">
-      <xs:annotation>
-         <xs:documentation>
-            Identify each of the comparisons that will be used in test cases.            
-            This is provided for the purpose of documentation and is not needed by implementors.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence maxOccurs="unbounded">
-            <xs:element name="comparison" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:attribute name="name" type="test:comparison-enum" use="required"/>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-         </xs:sequence>
-      </xs:complexType>
-
-      <xs:unique name="unique-comparisons">
-         <xs:selector xpath=".//test:comparison"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- roles                                                                -->
-   <!--                                                                      -->
-   <!-- Identify each of the roles that will be used in test cases.          -->
-   <!--                                                                      -->
-   <!-- This is provided for the purpose of documentation and is not needed  -->
-   <!-- by implementors.                                                     -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="roles">
-      <xs:annotation>
-         <xs:documentation>
-            Identify each of the roles that will be used in test cases.
-            This is provided for the purpose of documentation and is not needed by implementors.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence maxOccurs="unbounded">
-            <xs:element name="role">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:attribute name="name" type="test:role-enum" use="required"/>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-         </xs:sequence>
-      </xs:complexType>
-
-      <xs:unique name="unique-roles">
-         <xs:selector xpath=".//test:role"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- scenarios                                                            -->
-   <!--                                                                      -->
-   <!-- Identify each of the scenarios that will be used in test cases.      -->
-   <!--                                                                      -->
-   <!-- This is provided for the purpose of documentation and is not needed  -->
-   <!-- by implementors.                                                     -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="scenarios">
-      <xs:annotation>
-         <xs:documentation>
-            Identify each of the scenarios that will be used in test cases.
-            This is provided for the purpose of documentation and is not needed by implementors.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence maxOccurs="unbounded">
-            <xs:element name="scenario">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:attribute name="name" type="test:scenarios-enum" use="required"/>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-         </xs:sequence>
-      </xs:complexType>
-
-      <xs:unique name="unique-scenarios">
-         <xs:selector xpath=".//test:scenario"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- sources                                                              -->
-   <!--                                                                      -->
-   <!-- Identify each of the sources that will be used in test cases.        -->
-   <!--                                                                      -->
-   <!-- Test cases will use these ID's to identify their source documents,   -->
-   <!-- collections, schemas, and modules.                                   -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="sources">
-      <xs:complexType>
-         <xs:annotation>
-            <xs:documentation>
-               Identify each of the sources that will be used in test cases.
-               Test cases will use these ID's to identify their source documents, collections, schemas, and modules.
-            </xs:documentation>
-         </xs:annotation>
-
-         <xs:sequence maxOccurs="unbounded">
-            <xs:element name="source" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:attribute name="ID" type="xs:ID" use="required"/>
-                        <xs:attribute name="FileName" type="xs:anyURI" use="required"/>
-                        <xs:attribute name="Creator" type="xs:string" use="required"/>
-                        <xs:attribute name="schema" type="xs:IDREF" use="optional"/>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-
-            <xs:element name="schema" minOccurs="0" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:attribute name="ID" type="xs:ID" use="required"/>
-                        <xs:attribute name="uri" type="xs:anyURI" use="required"/>
-                        <xs:attribute name="FileName" type="xs:anyURI" use="required"/>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-
-            <xs:element name="collection" minOccurs="0" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:sequence>
-                           <xs:element name="input-document" maxOccurs="unbounded">
-                              <xs:annotation>
-                                 <xs:documentation>
-                                    One or more input files that will be used by this query.
-                                 </xs:documentation>
-                              </xs:annotation>
-                              <xs:complexType>
-                                 <xs:simpleContent>
-                                    <xs:extension base="xs:IDREF">
-                                       <!-- this attribute contains only principal-data -->
-                                    </xs:extension>
-                                 </xs:simpleContent>
-                              </xs:complexType>
-                           </xs:element>
-                        </xs:sequence>
-                        <xs:attribute name="ID" type="xs:ID" use="required"/>
-                        <xs:attribute name="Creator" type="xs:string" use="required"/>
-
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-
-            <xs:element name="module" minOccurs="0" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:attribute name="ID" type="xs:ID" use="required"/>
-                        <xs:attribute name="FileName" type="xs:anyURI" use="required"/>
-                        <xs:attribute name="Creator" type="xs:string" use="required"/>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-         </xs:sequence>
-      </xs:complexType>
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- implementation-defined-items                                         -->
-   <!--                                                                      -->
-   <!-- Identify each of the implementation-defined-items that occur in the  -->
-   <!-- XQuery specifications.                                               -->
-   <!--                                                                      -->
-   <!-- These item names will be used when an implementor submits his test   -->
-   <!-- results.                                                             -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="implementation-defined-items">
-      <xs:annotation>
-         <xs:documentation>
-            Identify each of the implementation-defined-items that occur in the XQuery specifications.
-            These item names will be used when an implementor submits his test results.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence maxOccurs="unbounded">
-            <xs:element name="implementation-defined-item" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:complexContent>
-                     <xs:extension base="test:infoBase">
-                        <xs:attribute name="name" type="xs:string" use="required"/>
-                        <xs:attribute name="spec" type="test:citation-spec-enum" use="required"/>
-                        <xs:attribute name="spec-version" type="test:spec-version-list-type" use="optional">
-                           <xs:annotation>
-                              <xs:documentation>
-                                 Identifies the versions of the specification to which this item
-                                 applies. If the attribute is absent or empty, the item apply to all
-                                 versions of the specification.
-                              </xs:documentation>
-                           </xs:annotation>
-                        </xs:attribute>
-                     </xs:extension>
-                  </xs:complexContent>
-               </xs:complexType>
-            </xs:element>
-         </xs:sequence>
-      </xs:complexType>
-
-      <xs:unique name="unique-implementation-defined-item">
-         <xs:selector xpath=".//test:implementation-defined-item"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- features                                                             -->
-   <!--                                                                      -->
-   <!-- Identify each of the features that occur in the XQuery               -->
-   <!-- specification.                                                       -->
-   <!--                                                                      -->
-   <!-- These feature names will be used when an implementor submits his     -->
-   <!-- test results.                                                        -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="features">
-      <xs:annotation>
-         <xs:documentation>
-            Identify each of the features that occur in the XQuery specification.
-            These feature names will be used when an implementor submits his test results.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence maxOccurs="unbounded">
-            <xs:element name="feature" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:attribute name="name" type="xs:string" use="required"/>
-                  <xs:attribute name="spec-version" type="test:spec-version-list-type" use="optional">
-                     <xs:annotation>
-                        <xs:documentation>
-                           Identifies the versions of the specification to which this featire
-                           applies. If the attribute is absent or empty, the item applies to all
-                           versions of the specification.
-                        </xs:documentation>
-                     </xs:annotation>
-                  </xs:attribute>
-               </xs:complexType>
-            </xs:element>
-         </xs:sequence>
-      </xs:complexType>
-
-      <xs:unique name="unique-feature">
-         <xs:selector xpath=".//test:feature"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- context-properties                                                   -->
-   <!--                                                                      -->
-   <!-- Identify each of the properties that occur in the XQuery             -->
-   <!-- specification.                                                       -->
-   <!--                                                                      -->
-   <!-- These feature names will be used when an implementor submits his     -->
-   <!-- test results.                                                        -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="context-properties">
-      <xs:annotation>
-         <xs:documentation>
-            Identify each of the properties that occur in the XQuery specification.
-            These feature names will be used when an implementor submits his test results.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence maxOccurs="unbounded">
-            <xs:element name="context-property" maxOccurs="unbounded">
-               <xs:complexType>
-                  <xs:attribute name="name" type="xs:string" use="required"/>
-                  <xs:attribute name="context-type" use="required">
-                     <xs:simpleType>
-                        <xs:restriction base="xs:string">
-                           <xs:enumeration value="static"/>
-                           <xs:enumeration value="dynamic"/>
-                        </xs:restriction>
-                     </xs:simpleType>
-                  </xs:attribute>
-                  <xs:attribute name="spec-version" type="test:spec-version-list-type" use="optional">
-                     <xs:annotation>
-                        <xs:documentation>
-                           Identifies the versions of the specification to which this context property
-                           applies. If the attribute is absent or empty, the property applies to all
-                           versions of the specification.
-                        </xs:documentation>
-                     </xs:annotation>
-                  </xs:attribute>
-               </xs:complexType>
-            </xs:element>
-         </xs:sequence>
-      </xs:complexType>
-
-      <xs:unique name="unique-context-property">
-         <xs:selector xpath=".//test:context-property"/>
-         <xs:field xpath="@name"/>
-      </xs:unique>
-
-   </xs:element>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- test-group                                                           -->
-   <!--                                                                      -->
-   <!-- Group of test cases and test groups.                                 -->
-   <!--                                                                      -->
-   <!-- The grouping of the tests helps the XML Query WG organize its work   -->
-   <!-- and is used when reporting our results. Implementors need only       -->
-   <!-- execute the test contained in these groups.                          -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:element name="test-group">
-      <xs:annotation>
-         <xs:documentation>
-            Group of test cases and test groups.
-            The grouping of the tests helps the XML Query WG organize its work 
-            and is used when reporting our results. Implementors need only 
-            execute the test contained in these groups.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:complexType>
-         <xs:sequence>
-            <xs:element name="GroupInfo" type="test:GroupInfo"/>
-            <xs:element name="test-case" type="test:test-case" minOccurs="0" maxOccurs="unbounded">
-               <xs:unique name="unique-expected-error">
-                  <xs:selector xpath=".//test:expected-error"/>
-                  <xs:field xpath="."/>
-               </xs:unique>
-            </xs:element>
-
-            <xs:element ref="test:test-group" minOccurs="0" maxOccurs="unbounded"/>
-         </xs:sequence>
-         <xs:attribute name="name" type="xs:string" use="required"/>
-         <xs:attribute name="featureOwner" type="xs:string" use="optional"/>
-         <xs:attribute name="is-XPath2" type="xs:boolean" use="optional"/>
-      </xs:complexType>
-   </xs:element>
-
-
-   <!-- GroupInfo type                                                       -->
-
-   <xs:complexType name="GroupInfo">
-      <xs:sequence>
-         <xs:element name="title" type="xs:string"/>
-         <xs:element name="description" type="test:description"/>
-         <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-   </xs:complexType>
-
-
-
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-   <!-- test-case                                                            -->
-   <!--                                                                      -->
-   <!-- A test case to be run.                                               -->
-   <!--                                                                      -->
-   <!-- All test cases that are not parse-error's are provided in both       -->
-   <!-- XQuery and XQueryX formats. An implementor should use the            -->
-   <!-- appropriate path offsets and file extensions to locate each version. -->
-   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
-
-   <xs:complexType name="test-case">
-      <xs:annotation>
-         <xs:documentation>
-            A test case to be run.
-            All test cases that are not parse-error's are provided in both
-            XQuery and XQueryX formats. An implementor should use the
-            appropriate path offsets and file extensions to locate each version.
-         </xs:documentation>
-
-         <xs:documentation>
-            The filename for this query can be constructed from:
-            the XQueryQueryOffsetPath or XQueryXQueryOffsetPath, the FilePath,
-            the name, the XQueryFileExtension or XQueryXFileExtension
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:sequence>
-         <xs:element name="description" type="test:description"/>
-         <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-
-         <!-- Identify the parts of the XQuery specifications that are       -->
-         <!-- being tested                                                   -->
-
-         <xs:element name="spec-citation" minOccurs="0" maxOccurs="unbounded">
-            <xs:annotation>
-               <xs:documentation>
-                  Identify the parts of the XQuery specifications that are being tested.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="xs:string">
-                     <xs:attribute name="section-number" type="xs:string" use="required"/>
-                     <xs:attribute name="spec" type="test:citation-spec-enum" use="required"/>
-                     <xs:attribute name="section-title" type="xs:string" use="required"/>
-                     <xs:attribute name="section-pointer" type="xs:string" use="required"/>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Allow references to resolved Bugzilla Bugs -->
-
-         <xs:element name="reflects-resolution" minOccurs="0" maxOccurs="unbounded" type="xs:anyURI">
-            <xs:annotation>
-               <xs:documentation>
-                  Identify Bugzilla Bugs whose resolution is reflected in this test case.
-               </xs:documentation>
-            </xs:annotation>
-         </xs:element>
-
-         <!-- Description of the query -->
-
-         <xs:element name="query">
-            <xs:annotation>
-               <xs:documentation>
-                  Description of the query.
-               </xs:documentation>
-            </xs:annotation>
-
-            <xs:complexType>
-               <xs:sequence>
-                  <xs:element name="description" type="test:description" minOccurs="0"/>
-                  <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-               </xs:sequence>
-
-               <!-- This name is always equal to the name of the test case -->
-               <xs:attribute name="name" type="xs:string" use="required">
-                  <xs:annotation>
-                     <xs:documentation>
-                        This name is always equal to the name of the test case.
-                     </xs:documentation>
-                  </xs:annotation>
-               </xs:attribute>
-               <xs:attribute name="static-name" type="xs:string" use="optional">
-                  <xs:annotation>
-                     <xs:documentation>
-                        If present, specifies the name of the query file that should be used for an implementation running with the Static Typing Feature enabled.
-                     </xs:documentation>
-                  </xs:annotation>
-               </xs:attribute>
-               <xs:attribute name="date" type="xs:date" use="required"/>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Zero or more modules that will be used by this query -->
-
-         <xs:element name="module" minOccurs="0" maxOccurs="unbounded">
-            <xs:annotation>
-               <xs:documentation>
-                  Zero or more modules that will be used by this query.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="xs:IDREF">
-                     <xs:attribute name="namespace" type="xs:anyURI" use="required"/>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Zero or more input files that will be used by this query -->
-
-         <xs:element name="input-file" minOccurs="0" maxOccurs="unbounded">
-            <xs:annotation>
-               <xs:documentation>
-                  One or more input files that will be used by this query.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="xs:IDREF">
-                     <!-- this attribute contains only principal-data -->
-                     <xs:attribute name="role" type="test:role-enum" use="required">
-                        <xs:annotation>
-                           <xs:documentation>
-                              this attribute contains only principal-data
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-                     <xs:attribute name="variable" type="xs:string" use="required"/>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Zero or more input URIs that will be used by this query -->
-
-         <xs:element name="input-URI" minOccurs="0" maxOccurs="unbounded">
-            <xs:annotation>
-               <xs:documentation>
-                  One or more input URIs that will be used by this query.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="xs:IDREF">
-                     <!-- this attribute contains only principal-data -->
-                     <xs:attribute name="role" type="test:role-enum" use="required">
-                        <xs:annotation>
-                           <xs:documentation>
-                              this attribute contains only principal-data
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-                     <xs:attribute name="variable" type="xs:string" use="required"/>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Zero or one default collections that will be used by this query -->
-
-         <xs:element name="defaultCollection" minOccurs="0" maxOccurs="1">
-            <xs:annotation>
-               <xs:documentation>
-                  Zero or one default collection that will be used by this query.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="xs:IDREF">
-                     <!-- this attribute contains only principal-data -->
-                     <xs:attribute name="role" type="test:role-enum" use="required">
-                        <xs:annotation>
-                           <xs:documentation>
-                              this attribute contains only principal-data
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Zero or one context nodes that will be used by this query -->
-
-         <xs:element name="contextItem" minOccurs="0" maxOccurs="1">
-            <xs:annotation>
-               <xs:documentation>
-                  Zero or one context item that will be used by this query.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="xs:IDREF">
-                     <!-- this attribute contains only principal-data -->
-                     <xs:attribute name="role" type="test:role-enum" use="required">
-                        <xs:annotation>
-                           <xs:documentation>
-                              this attribute contains only principal-data
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Zero or more input queries that will be used to bind values to -->
-         <!-- external variables                                             -->
-
-         <xs:element name="input-query" minOccurs="0" maxOccurs="unbounded">
-            <xs:annotation>
-               <xs:documentation>
-                  Zero or more input queries that will be used to bind values to 
-                  external variables.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:sequence>
-                  <xs:element name="description" type="test:description" minOccurs="0"/>
-                  <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-               </xs:sequence>
-               <xs:attribute name="variable" type="xs:string" use="required"/>
-               <xs:attribute name="name" type="xs:string" use="required"/>
-               <xs:attribute name="date" type="xs:date" use="required"/>
-            </xs:complexType>
-         </xs:element>
-
-         <!-- Zero or more files containing expected results for this query -->
-
-         <xs:element name="output-file" minOccurs="0" maxOccurs="unbounded">
-            <xs:annotation>
-               <xs:documentation>
-                  Zero or more files containing expected results for this query.
-               </xs:documentation>
-            </xs:annotation>
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="xs:string">
-                     <xs:attribute name="role" type="test:role-enum" use="required"/>
-                     <xs:attribute name="compare" type="test:comparison-enum" use="required"/>
-
-                     <!-- can identify a results as being specific to typed or untyped  -->
-                     <!-- documents                                                     -->
-
-                     <xs:attribute name="input-document" type="test:input-document-enum"
-                        use="optional">
-                        <xs:annotation>
-                           <xs:documentation>
-                              can identify a results as being specific to typed or untyped documents
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-
-                     <xs:attribute name="spec-version" type="test:spec-version-list-type" use="optional">
-                        <xs:annotation>
-                           <xs:documentation>
-                              identifies the versions of the specification to which these test results
-                              apply. If the attribute is absent or empty, the test results apply to all
-                              versions of the specification.
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-
-         <!-- Zero or more expected errors for this query -->
-
-         <xs:element name="expected-error" minOccurs="0" maxOccurs="unbounded">
-            <xs:annotation>
-               <xs:documentation>
-                  Zero or more expected errors for this query.
-               </xs:documentation>
-            </xs:annotation>
-
-            <xs:complexType>
-               <xs:simpleContent>
-                  <xs:extension base="test:XQueryErrorCode">
-
-                     <!-- can identify an error as being specific to typed or untyped  -->
-                     <!-- documents                                                    -->
-
-                     <xs:attribute name="input-document" type="test:input-document-enum"
-                        use="optional">
-                        <xs:annotation>
-                           <xs:documentation>
-                              can identify an error as being specific to typed or untyped documents
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-
-                     <xs:attribute name="spec-version" type="test:spec-version-list-type" use="optional">
-                        <xs:annotation>
-                           <xs:documentation>
-                              identifies the versions of the specification to which this error response
-                              applies. If the attribute is absent or empty, the error response applies to all
-                              versions of the specification.
-                           </xs:documentation>
-                        </xs:annotation>
-                     </xs:attribute>
-                  </xs:extension>
-               </xs:simpleContent>
-            </xs:complexType>
-         </xs:element>
-
-      </xs:sequence>
-
-      <!-- The filename for this query can be constructed from:              -->
-      <!--    the XQueryQueryOffsetPath or XQueryXQueryOffsetPath            -->
-      <!--    the FilePath                                                   -->
-      <!--    the name                                                       -->
-      <!--    the XQueryFileExtension or XQueryXFileExtension                -->
-
-      <xs:attribute name="name" type="xs:string" use="required"/>
-      <xs:attribute name="FilePath" type="test:SimplifiedRelativeFilePath" use="required"/>
-      <xs:attribute name="scenario" type="test:scenarios-enum" use="required"/>
-      <xs:attribute name="Creator" type="xs:string" use="required"/>
-      <xs:attribute name="version-drop" type="xs:date">
-         <xs:annotation>
-            <xs:documentation>
-               not being used
-            </xs:documentation>
-         </xs:annotation>
-      </xs:attribute>
-      <!-- identify tests that are applicable to XPath 2.0 -->
-      <xs:attribute name="is-XPath2" type="xs:boolean" use="optional">
-         <xs:annotation>
-            <xs:documentation>
-               identify tests that are applicable to XPath 2.0
-            </xs:documentation>
-         </xs:annotation>
-      </xs:attribute>
-   </xs:complexType>
-
-
-
-   <!-- citation-spec-enum type                                              -->
-   <!--    Identify the document being cited                                 -->
-
-   <xs:simpleType name="citation-spec-enum">
-      <xs:annotation>
-         <xs:documentation>
-            Identify the document being cited.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:restriction base="xs:string">
-         <xs:enumeration value="XQuery"/>
-         <xs:enumeration value="FuncOps"/>
-         <xs:enumeration value="DataModel"/>
-         <xs:enumeration value="FormalSemantics"/>
-         <xs:enumeration value="SchemaPart2"/>
-         <xs:enumeration value="Schema-Errata"/>
-         <xs:enumeration value="UseCases"/>
-         <xs:enumeration value="Serialization"/>
-         <xs:enumeration value="XQueryX"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-   <!-- comparison-enum type                                                 -->
-   <!--    Identify the type of comparison used to determine whether an      -->
-   <!--    expected result and an actual result match.                       -->
-
-   <xs:simpleType name="comparison-enum">
-      <xs:annotation>
-         <xs:documentation>
-            Identify the type of comparison used to determine whether an
-            expected result and an actual result match.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:restriction base="xs:string">
-         <xs:enumeration value="XML"/>
-         <xs:enumeration value="Fragment"/>
-         <xs:enumeration value="Text"/>
-         <xs:enumeration value="Inspect"/>
-         <xs:enumeration value="Ignore"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-   <!-- role-enum type                                                       -->
-   <!--    Identify how a document is being used.                            -->
-
-   <xs:simpleType name="role-enum">
-      <xs:annotation>
-         <xs:documentation>
-            Identify how a document is being used.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:restriction base="xs:string">
-         <xs:enumeration value="principal-data"/>
-         <xs:enumeration value="supplemental-data"/>
-         <xs:enumeration value="schema"/>
-         <xs:enumeration value="principal"/>
-         <xs:enumeration value="console-log"/>
-         <xs:enumeration value="dtd"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-   <!-- scenarios-enum type                                                  -->
-   <!--     Identify whether a test should execute normally, cause a parse   -->
-   <!--     error, or cause a runtime error.                                 -->
-
-   <xs:simpleType name="scenarios-enum">
-      <xs:annotation>
-         <xs:documentation>
-            Identify whether a test should execute normally, cause a parse 
-            error, or cause a runtime error.
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:restriction base="xs:string">
-         <xs:enumeration value="standard"/>
-         <xs:enumeration value="parse-error"/>
-         <xs:enumeration value="runtime-error"/>
-         <xs:enumeration value="trivial"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-   <!-- input-document-enum type                                             -->
-   <!--    Identify expected results that are specific to either typed or    -->
-   <!--    untyped input documents.                                          -->
-
-   <xs:simpleType name="input-document-enum">
-      <xs:annotation>
-         <xs:documentation>
-            Identify expected results that are specific to either typed or
-            untyped input documents.                  
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:restriction base="xs:string">
-         <xs:enumeration value="typed"/>
-         <xs:enumeration value="untyped"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-   <!-- description type                                                     -->
-
-   <xs:complexType name="description">
-      <xs:simpleContent>
-         <xs:extension base="xs:string">
-            <xs:attribute name="last-mod" type="xs:date"/>
-         </xs:extension>
-      </xs:simpleContent>
-   </xs:complexType>
-
-
-   <!-- XQueryErrorCode type                                                 -->
-   <!--   * is used to mean that any error code is acceptable                -->
-
-   <xs:simpleType name="XQueryErrorCode">
-      <xs:annotation>
-         <xs:documentation>
-            * is used to mean that any error code is acceptable
-         </xs:documentation>
-      </xs:annotation>
-
-      <xs:restriction base="xs:string">
-         <xs:pattern value="\*|([A-Z]{4}[0-9]{4})"/>
-      </xs:restriction>
-   </xs:simpleType>
-   
-   <xs:simpleType name="spec-version-list-type">
-      <xs:annotation>
-         <xs:documentation>
-            A list of specification versions to which expected results (actual results or error outcome) apply
-         </xs:documentation>
-      </xs:annotation>
-      <xs:list itemType="test:spec-version-type"/>
-   </xs:simpleType>
-   
-   <xs:simpleType name="spec-version-type">
-      <xs:annotation>
-         <xs:documentation>
-            A specification version. Currently "1.0" or "1.1". Could be extended to allow for example
-            "1.1+ST" to imply "XQuery 1.1 with Static Typing Feature".
-         </xs:documentation>
-      </xs:annotation>
-      <xs:restriction base="xs:string">
-         <xs:enumeration value="1.0"/>
-         <xs:enumeration value="1.1"/>
-      </xs:restriction>
-   </xs:simpleType>
-
-
-   <!-- infoBase type                                                        -->
-
-   <xs:complexType name="infoBase">
-      <xs:sequence>
-         <xs:element name="description" type="test:description"/>
-         <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
-      </xs:sequence>
-   </xs:complexType>
-
-
-</xs:schema>

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/XQTSCatalog.xsl
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/XQTSCatalog.xsl b/vxquery-xtest/tests/XQTSCatalog.xsl
deleted file mode 100644
index bc96a6d..0000000
--- a/vxquery-xtest/tests/XQTSCatalog.xsl
+++ /dev/null
@@ -1,745 +0,0 @@
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:test="http://www.w3.org/2005/02/query-test-XQTSCatalog">
-   <xsl:key name="citation-spec" match="/test-suite/citations/citation-spec" use="@name"/>
-
-      <xsl:variable name="TargetLanguage" select="/test:test-suite/@targetLanguage" />
-      <xsl:variable name="XQueryQueryOffsetPath" select="/test:test-suite/@XQueryQueryOffsetPath" />
-      <xsl:variable name="XQueryXQueryOffsetPath" select="/test:test-suite/@XQueryXQueryOffsetPath" />
-      <xsl:variable name="ResultOffsetPath" select="/test:test-suite/@ResultOffsetPath" />
-      <xsl:variable name="XQueryFileExtension" select="/test:test-suite/@XQueryFileExtension" />
-      <xsl:variable name="XQueryXFileExtension" select="/test:test-suite/@XQueryXFileExtension" />
-      <xsl:variable name="SourceOffsetPath" select="/test:test-suite/@SourceOffsetPath" />
-
-   <xsl:template match="/">
-      <html>
-         <head>
-            <title>XQuery Interoperability Test Suite</title>
-         </head>
-         <body>
-            <xsl:if test="test:test-suite/@targetLanguage">
-               <h1><xsl:value-of select="test:test-suite/@targetLanguage" /> Interoperability Test Suite</h1>
-            </xsl:if>
-            <xsl:if test="not( test:test-suite/@targetLanguage )">
-               <h1>XQuery/XQueryX Interoperability Test Suite</h1>
-            </xsl:if>
-            <h6>[Version: <xsl:value-of select="test:test-suite/@version" /> Catalog Design Date: <xsl:value-of select="test:test-suite/@CatalogDesignDate" />]</h6>
-            <h2>Introduction</h2>
-            <P>
-               The following document is an XSLT transform of the XQuery Testing Task Force (XQTTF) test catalog. The test 
-               catalog is an XML file containing meta-data about the XQuery interoperability 
-               tests published by the XQTTF. The meta-data serves to link test queries with 
-               their required input sources and results as well as providing further 
-               information about the tests (e.g. who the author was, what the purpose of the 
-               test is) and categorizing the various tests into their relevant sections. For 
-               further information and details about this catalog file, please visit the XQTTF 
-               homepage at <A HREF="http://www.w3.org/XML/Query/test-suite/">http://www.w3.org/XML/Query/test-suite/</A>.
-            </P>
-            <h2>Citations</h2>
-            <table>
-               <tr>
-                  <th>Name</th>
-                  <th>Description</th>
-                  <th>Note</th>
-               </tr>
-               <xsl:apply-templates select="test:test-suite/test:citations/test:citation-spec" />
-            </table>
-            <h2>Comparators</h2>
-            <table>
-               <tr>
-                  <th>Name</th>
-                  <th>Description</th>
-               </tr>
-               <xsl:for-each select="test:test-suite/test:comparisons/test:comparison">
-                  <tr>
-                     <td>
-                        <A>
-                           <xsl:attribute name="name">
-                              <xsl:value-of select="@name"/>
-                           </xsl:attribute>
-                           <b>
-                              <xsl:value-of select="@name"/>
-                           </b>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="test:description"/>
-                     </td>
-                  </tr>
-               </xsl:for-each>
-            </table>
-            <h2>Scenarios</h2>
-            <table>
-               <tr>
-                  <th>Name</th>
-                  <th>Description</th>
-               </tr>
-               <xsl:for-each select="test:test-suite/test:scenarios/test:scenario">
-                  <tr>
-                     <td>
-                        <A>
-                           <xsl:attribute name="name">
-                              <xsl:value-of select="@name"/>
-                           </xsl:attribute>
-                           <b>
-                              <xsl:value-of select="@name"/>
-                           </b>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="test:description"/>
-                     </td>
-                  </tr>
-               </xsl:for-each>
-            </table>
-            <h2>Roles</h2>
-            <table>
-               <tr>
-                  <th>Name</th>
-                  <th>Description</th>
-               </tr>
-               <xsl:for-each select="test:test-suite/test:roles/test:role">
-                  <tr>
-                     <td>
-                        <A>
-                           <xsl:attribute name="name">
-                              <xsl:value-of select="@name"/>
-                           </xsl:attribute>
-                           <b>
-                              <xsl:value-of select="@name"/>
-                           </b>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="test:description"/>
-                     </td>
-                  </tr>
-               </xsl:for-each>
-            </table>
-            <h2>Sources</h2>
-            <table>
-               <tr>
-                  <th>ID</th>
-                  <th>Creator</th>
-                  <th>Schema</th>
-                  <th>File</th>
-                  <th>Description</th>
-               </tr>
-               <xsl:for-each select="test:test-suite/test:sources/test:source">
-                  <tr>
-                     <td>
-                        <A>
-                           <xsl:attribute name="name">
-                              <xsl:value-of select="@ID"/>
-                           </xsl:attribute>
-                           <b>
-                              <xsl:value-of select="@ID"/>
-                           </b>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="@Creator"/>
-                     </td>
-                     <td>
-                        <A>
-                           <xsl:attribute name="href">#<xsl:value-of select="@schema"/></xsl:attribute>
-                           <xsl:value-of select="@schema"/>								
-                        </A>
-                     </td>
-                     <td>
-                        <A>
-                           <xsl:attribute name="href">
-                              <xsl:value-of select="$SourceOffsetPath"/><xsl:value-of select="@FileName"/></xsl:attribute>
-                           <xsl:value-of select="@FileName"/>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="test:description"/>
-                     </td>
-                  </tr>
-               </xsl:for-each>
-            </table>
-            <h2>Schemas</h2>
-            <table>
-               <tr>
-                  <th>ID</th>
-                  <th>URI</th>
-                  <th>File Name</th>
-                  <th>Description</th>
-               </tr>
-               <xsl:for-each select="test:test-suite/test:sources/test:schema">
-                  <tr>
-                     <td>
-                        <A>
-                           <xsl:attribute name="name">
-                              <xsl:value-of select="@ID"/>
-                           </xsl:attribute>
-                           <b>
-                              <xsl:value-of select="@ID"/>
-                           </b>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="@uri"/>
-                     </td>
-                     <td>
-                        <A>
-                           <xsl:attribute name="href"><xsl:value-of select="$SourceOffsetPath"/><xsl:value-of select="@FileName"/></xsl:attribute>
-                           <xsl:value-of select="@FileName"/>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="test:description"/>
-                     </td>
-                  </tr>
-               </xsl:for-each>
-            </table>
-            <h2>Collections</h2>
-            <table>
-               <tr>
-                  <th>ID</th>
-                  <th>Creator</th>
-                  <th>Contents</th>
-                  <th>Description</th>
-               </tr>
-               <xsl:for-each select="test:test-suite/test:sources/test:collection">
-                  <tr>
-                     <td>
-                        <A>
-                           <xsl:attribute name="name">
-                              <xsl:value-of select="@ID"/>
-                           </xsl:attribute>
-                           <b>
-                              <xsl:value-of select="@ID"/>
-                           </b>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="@Creator"/>
-                     </td>
-                     <td>
-                        <xsl:for-each select="test:input-document">
-                           <A>
-                              <xsl:attribute name="href">#<xsl:value-of select="."/></xsl:attribute>
-                              <xsl:value-of select="."/>
-                           </A>
-			   <xsl:if test="position() != last()">
-			      <xsl:text>, </xsl:text>
-			   </xsl:if>
-                        </xsl:for-each>
-                     </td>
-                     <td>
-                        <xsl:value-of select="test:description"/>
-                     </td>
-                  </tr>
-               </xsl:for-each>
-            </table>
-            <h2>Modules</h2>
-            <table>
-               <tr>
-                  <th>ID</th>
-                  <th>Creator</th>
-                  <th>File</th>
-                  <th>Description</th>
-               </tr>
-               <xsl:for-each select="test:test-suite/test:sources/test:module">
-                  <tr>
-                     <td>
-                        <A>
-                           <xsl:attribute name="name">
-                              <xsl:value-of select="@ID"/>
-                           </xsl:attribute>
-                           <b>
-                              <xsl:value-of select="@ID"/>
-                           </b>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="@Creator"/>
-                     </td>
-                     <td>
-                        <A>
-                           <xsl:attribute name="href">
-                              <xsl:value-of select="$SourceOffsetPath"/><xsl:value-of select="@FileName"/><xsl:value-of select="$XQueryFileExtension"/>
-                           </xsl:attribute>
-                           <xsl:value-of select="@FileName"/>
-                        </A>
-                     </td>
-                     <td>
-                        <xsl:value-of select="test:description"/>
-                     </td>
-                  </tr>
-               </xsl:for-each>
-            </table>
-            <h2>Test Groups</h2>
-            <ul>
-               <xsl:for-each select="test:test-suite/test:test-group">
-                  <li>
-                     <A>
-                        <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
-                        <xsl:number level="multiple" format="1.1" count="test:test-group"/>&#x20;<xsl:value-of select="test:GroupInfo/test:title"/></A>
-                     <xsl:if test="@featureOwner">
-                        &#x20;[<xsl:value-of select="@featureOwner" />]
-                     </xsl:if>
-                     <xsl:if test="test:test-group">
-                        <ul>
-                           <xsl:for-each select="test:test-group">
-                              <li>
-                                 <A>
-                                    <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
-                                    <xsl:number level="multiple" format="1.1" count="test:test-group"/>&#x20;<xsl:value-of select="test:GroupInfo/test:title"/></A>
-                                 <xsl:if test="@featureOwner">
-                                    &#x20;[<xsl:value-of select="@featureOwner" />]
-                                 </xsl:if>
-                              </li>
-                           </xsl:for-each>
-                        </ul>
-                     </xsl:if>
-                  </li>
-               </xsl:for-each>
-            </ul>
-            <xsl:apply-templates select="test:test-suite/test:test-group" />
-            <h2>Appendices</h2>
-            <h3>Implementation Defined Items</h3>
-            <blockquote>
-               <table border="1">
-                  <xsl:apply-templates select="test:test-suite/test:implementation-defined-items/test:implementation-defined-item" />
-               </table>
-            </blockquote>
-            <h3>Context Properties</h3>
-            <xsl:apply-templates select="test:test-suite/test:context-properties" />
-            <h3>Features</h3>
-            <table>
-               <xsl:apply-templates select="test:test-suite/test:features/test:feature" />
-            </table>
-         </body>
-      </html>
-   </xsl:template>
-   <xsl:template match="test:test-group">
-      <A>
-         <xsl:attribute name="name">
-            <xsl:value-of select="@name"/>
-         </xsl:attribute>
-      </A>
-      <h3>
-         <xsl:number level="multiple" format="1.1" count="test:test-group"/>&#x20;<xsl:value-of select="test:GroupInfo/test:title" />
-         <xsl:if test="@featureOwner">
-            &#x20;[<xsl:value-of select="@featureOwner" />]
-         </xsl:if>
-      </h3>
-      <p/>
-      <xsl:value-of select="test:GroupInfo/test:description" />
-      <p/>
-      <ul>
-         <xsl:for-each select="test:test-group">
-            <li>
-               <A>
-                  <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
-                  <xsl:number level="multiple" format="1.1" count="test:test-group"/>&#x20;<xsl:value-of select="test:GroupInfo/test:title"/></A>
-               <xsl:if test="@featureOwner">
-                  &#x20;[<xsl:value-of select="@featureOwner" />]
-               </xsl:if>
-               <xsl:if test="test:test-group">
-                  <ul>
-                     <xsl:for-each select="test:test-group">
-                        <li>
-                           <A>
-                              <xsl:attribute name="href">#<xsl:value-of select="@name"/></xsl:attribute>
-                              <xsl:number level="multiple" format="1.1" count="test:test-group"/>&#x20;<xsl:value-of select="test:GroupInfo/test:title"/></A>
-                           <xsl:if test="@featureOwner">
-                              &#x20;[<xsl:value-of select="@featureOwner" />]
-                           </xsl:if>
-                        </li>
-                     </xsl:for-each>
-                  </ul>
-               </xsl:if>
-            </li>
-         </xsl:for-each>
-      </ul>
-      <xsl:apply-templates select="test:test-case" />
-      <xsl:apply-templates select="test:test-group" />
-   </xsl:template>
-
-   <xsl:template match="test:test-case">
-      <xsl:variable name="FilePath" select="@FilePath" />
-      <table width="80%" bgcolor="tan">
-         <a name="{@name}"/>
-         <tr>
-            <td>
-               <b>
-                  <xsl:value-of select="@name"/>
-               </b>
-            </td>
-            <td>
-               Scenario:
-               <A>
-                  <xsl:attribute name="href">#<xsl:value-of select="@scenario"/></xsl:attribute>
-                  <xsl:value-of select="@scenario"/>
-               </A>
-            </td>
-            <td>
-               Creator:
-               <xsl:value-of select="@Creator"/>
-            </td>
-         </tr>
-         <tr>
-            <td colspan="3">
-               <B>Description:</B>
-            </td>
-         </tr>
-         <tr>
-            <td colspan="3">
-               <xsl:value-of select="test:description"/>
-            </td>
-         </tr>
-         <tr>
-            <td colspan="3">
-               <xsl:value-of select="test:query/test:description"/>
-            </td>
-         </tr>
-         <tr>
-            <td colspan="3">
-               <B>Spec Citations:</B>
-            </td>
-         </tr>
-         <xsl:for-each select="test:spec-citation">
-            <xsl:variable name="spec-URI" select="key( 'citation-spec', @spec )/test:spec-URI" />
-            <tr>
-               <td colspan="3">
-                  <A>
-                     <xsl:attribute name="href">
-                        <xsl:value-of select="$spec-URI"/>#<xsl:value-of select="@section-pointer"/>
-                     </xsl:attribute>
-                     <xsl:value-of select="$spec-URI"/>#<xsl:value-of select="@section-pointer"/>
-                  </A>
-               </td>
-            </tr>
-         </xsl:for-each>
-         
-         <tr>
-            <td colspan="3">
-               <B>Reflects Resolution:</B>
-            </td>
-         </tr>
-         <xsl:for-each select="test:reflects-resolution">
-            <tr>
-               <td colspan="3">
-                  <A>
-                     <xsl:attribute name="href">
-                        <xsl:value-of select="."/>
-                     </xsl:attribute>
-                     <xsl:value-of select="substring-after(., '?id=')"/>
-                  </A>
-               </td>
-            </tr>
-         </xsl:for-each>
-         
-         <xsl:if test="test:input-query">
-            <tr>
-               <td colspan="3">
-                  <B>External Variables:</B>
-               </td>
-            </tr>
-            <xsl:for-each select="test:input-query">
-               <tr>
-                  <td>
-                     <xsl:text>Variable: </xsl:text>
-                     <xsl:value-of select="@variable"/>
-                  </td>
-                  <td colspan="2">
-                     <A>
-                        <xsl:choose>
-                           <xsl:when test="$TargetLanguage='XQuery'">
-                              <xsl:attribute name="href">
-                                 <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                              </xsl:attribute>
-                              <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                           </xsl:when>
-                           <xsl:when test="$TargetLanguage='XQueryX'">
-                              <xsl:attribute name="href">
-                                 <xsl:value-of select="$XQueryXQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="@name"/><xsl:value-of select="$XQueryXFileExtension"/>
-                              </xsl:attribute>
-                              <xsl:value-of select="$XQueryXQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="@name"/><xsl:value-of select="$XQueryXFileExtension"/>
-                           </xsl:when>
-                           <xsl:otherwise>
-                              <xsl:attribute name="href">
-                                 <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                              </xsl:attribute>
-                              <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                           </xsl:otherwise>
-                        </xsl:choose>
-                     </A>
-                  </td>
-               </tr>
-            </xsl:for-each>
-         </xsl:if>
-         
-         <tr>
-            <td colspan="2">
-               <B>Query:</B>
-            </td>
-            <td>
-               <xsl:if test="@is-XPath2='true'">
-                  (XPath 2.0)
-               </xsl:if>
-            </td>
-         </tr>
-         <tr>
-            <td colspan="3">
-               <A>
-                  <xsl:choose>
-                     <xsl:when test="$TargetLanguage='XQuery'">
-                        <xsl:attribute name="href">
-                           <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="test:query/@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                        </xsl:attribute>
-                        <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="test:query/@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                     </xsl:when>
-                     <xsl:when test="$TargetLanguage='XQueryX'">
-                        <xsl:attribute name="href">
-                           <xsl:value-of select="$XQueryXQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="test:query/@name"/><xsl:value-of select="$XQueryXFileExtension"/>
-                        </xsl:attribute>
-                        <xsl:value-of select="$XQueryXQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="test:query/@name"/><xsl:value-of select="$XQueryXFileExtension"/>
-                     </xsl:when>
-                     <xsl:otherwise>
-                        <xsl:attribute name="href">
-                           <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="test:query/@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                        </xsl:attribute>
-                        <xsl:value-of select="$XQueryQueryOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="test:query/@name"/><xsl:value-of select="$XQueryFileExtension"/>
-                     </xsl:otherwise>
-                  </xsl:choose>
-               </A>
-            </td>
-         </tr>
-         <xsl:if test="test:module">
-            <tr>
-               <td colspan="3">
-                  <B>Modules:</B>
-               </td>
-            </tr>
-            <xsl:for-each select="test:module">
-               <tr>
-                  <td colspan="2">
-                     Module ID:
-                     <A>
-                        <xsl:attribute name="href">#<xsl:value-of select="."/></xsl:attribute>
-                        <xsl:value-of select="."/>
-                     </A>
-                  </td>
-                  <td>
-                     Namespace:
-                     <A>
-                        <xsl:attribute name="href">#<xsl:value-of select="@namespace"/></xsl:attribute>
-                        <xsl:value-of select="@namespace"/>
-                     </A>
-                  </td>
-               </tr>
-            </xsl:for-each>
-         </xsl:if>
-         <tr>
-            <td colspan="3">
-               <B>Inputs:</B>
-            </td>
-         </tr>
-         <xsl:for-each select="test:input-file">
-            <tr>
-               <td>
-                  Name:
-                  <xsl:value-of select="@variable"/>
-               </td>
-               <td>
-                  Role:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="@role"/></xsl:attribute>
-                     <xsl:value-of select="@role"/>
-                  </A>
-               </td>
-               <td>
-                  Source ID:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="."/></xsl:attribute>
-                     <xsl:value-of select="."/>
-                  </A>
-               </td>
-            </tr>
-         </xsl:for-each>
-         <xsl:for-each select="test:input-URI">
-            <tr>
-               <td>
-                  Role:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="@role"/></xsl:attribute>
-                     <xsl:value-of select="@role"/>
-                  </A>
-               </td>
-               <td>
-                  Source ID:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="."/></xsl:attribute>
-                     <xsl:value-of select="."/>
-                  </A>
-               </td>
-               <td>
-	          <xsl:text>(as input URI)</xsl:text>
-               </td>
-            </tr>
-         </xsl:for-each>
-         <xsl:for-each select="test:defaultCollection">
-            <tr>
-               <td>
-                  Role:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="@role"/></xsl:attribute>
-                     <xsl:value-of select="@role"/>
-                  </A>
-               </td>
-               <td>
-                  Source ID:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="."/></xsl:attribute>
-                     <xsl:value-of select="."/>
-                  </A>
-               </td>
-               <td>
-	          <xsl:text>(as default collection)</xsl:text>
-               </td>
-            </tr>
-         </xsl:for-each>
-         <xsl:for-each select="test:contextItem">
-            <tr>
-               <td>
-                  Role:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="@role"/></xsl:attribute>
-                     <xsl:value-of select="@role"/>
-                  </A>
-               </td>
-               <td>
-                  Source ID:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="."/></xsl:attribute>
-                     <xsl:value-of select="."/>
-                  </A>
-               </td>
-               <td>
-	          <xsl:text>(as context item)</xsl:text>
-               </td>
-            </tr>
-         </xsl:for-each>
-         <tr>
-            <td colspan="3">
-               <B>Outputs:</B>
-            </td>
-         </tr>
-         <xsl:for-each select="test:output-file">
-            <tr>
-               <td>
-                  Role:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="@role"/></xsl:attribute>
-                     <xsl:value-of select="@role"/>
-                  </A>
-                  <xsl:if test="@spec-version">
-                     <xsl:value-of select="concat(' (Version ', @spec-version, ')')" />
-                  </xsl:if>
-               </td>
-               <td>
-                  Comparator:
-                  <A>
-                     <xsl:attribute name="href">#<xsl:value-of select="@compare"/></xsl:attribute>
-                     <xsl:value-of select="@compare"/>
-                  </A>
-               </td>
-               <td>
-                  <A>
-                     <xsl:attribute name="href">
-                        <xsl:value-of select="$ResultOffsetPath"/><xsl:value-of select="$FilePath"/><xsl:value-of select="."/></xsl:attribute>
-                     Results/<xsl:value-of select="$FilePath"/><xsl:value-of select="."/>
-                  </A>
-               </td>
-            </tr>
-         </xsl:for-each>
-         <xsl:for-each select="test:expected-error">
-            <tr>
-               <td colspan="3">
-                  Error:
-                  <A>
-                     <xsl:attribute name="href">http://www.w3.org/TR/xquery/#ERR<xsl:value-of select="."/></xsl:attribute>
-                     err:<xsl:value-of select="."/>
-                  </A>
-                  <xsl:if test="@spec-version">
-                     <xsl:value-of select="concat(' (Version ', @spec-version, ')')" />
-                  </xsl:if>
-               </td>
-            </tr>
-         </xsl:for-each>
-      </table>
-      <p/>
-   </xsl:template>
-   <xsl:template match="test:citation-spec">
-      <tr>
-         <td>
-            <A>
-               <xsl:attribute name="name">
-                  <xsl:value-of select="@name"/>
-               </xsl:attribute>
-               <xsl:attribute name="href">
-                  <xsl:value-of select="test:spec-URI"/>
-               </xsl:attribute>
-               <b>
-                  <xsl:value-of select="@name"/>
-               </b>
-            </A>
-         </td>
-         <td>
-            <xsl:value-of select="test:description"/>
-         </td>
-         <td>
-            <I>
-               <xsl:value-of select="test:note"/>
-            </I>
-         </td>
-      </tr>
-   </xsl:template>
-   <xsl:template match="test:implementation-defined-item">
-      <tr>
-         <td valign="top">
-            <xsl:text>[</xsl:text>
-            <xsl:value-of select="@spec" />
-            <xsl:text>]</xsl:text>
-            <br />
-            <xsl:value-of select="@name" />
-         </td>
-         <td valign="top">
-            <xsl:value-of select="test:description/text()" />
-         </td>
-      </tr>
-   </xsl:template>
-   <xsl:template match="test:context-properties">
-      <h4>Static Context</h4>
-      <blockquote>
-         <table>
-            <xsl:apply-templates select="test:context-property[@context-type='static']" />
-         </table>
-      </blockquote>
-      <h4>Dynamic Context</h4>
-      <blockquote>
-         <table>
-            <xsl:apply-templates select="test:context-property[@context-type='dynamic']" />
-         </table>
-      </blockquote>
-   </xsl:template>
-   <xsl:template match="test:context-property">
-      <tr>
-         <td>
-            <xsl:value-of select="@name" />
-         </td>
-         <td />
-      </tr>
-   </xsl:template>
-   <xsl:template match="test:feature">
-      <tr>
-         <td>
-            <xsl:value-of select="@name" />
-         </td>
-         <td />
-      </tr>
-   </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file


[8/9] Updated the testing resources.

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
new file mode 100644
index 0000000..18f5929
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
@@ -0,0 +1,8 @@
+(: XQuery Join Query :)
+(: Find all the weather readings for Washington state for a specific day    :)
+(: 2002-2-2.                                                                  :)
+let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $r in collection($sensor_collection)/dataCollection/data
+    
+where xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
new file mode 100644
index 0000000..d7630f0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
@@ -0,0 +1,8 @@
+(: XQuery Join Query :)
+(: Find all the weather readings for Washington state for a specific day    :)
+(: 2002-2-2.                                                                  :)
+let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $s in collection($station_collection)/stationCollection/station
+
+where (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
+return $s
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq
new file mode 100644
index 0000000..df822a1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq
@@ -0,0 +1,16 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+fn:min(
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq
new file mode 100644
index 0000000..ed9bdb0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq
@@ -0,0 +1,13 @@
+(: XQuery Join Query :)
+(: Find the highest recorded temperature (TMAX) for each station for each     :)
+(: day over the year 2002.                                                    :)
+let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $s in collection($station_collection)/stationCollection/station
+
+let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+for $r in collection($sensor_collection)/dataCollection/data
+
+where $s/id eq $r/station
+    and $r/dataType eq "TMAX" 
+    and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+return ($s/displayName, $r/date, $r/value)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q07.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q07.xq
new file mode 100644
index 0000000..d0e8c48
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-1/q07.xq
@@ -0,0 +1,16 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+fn:avg(
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q00.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q00.xq
new file mode 100644
index 0000000..64636bc
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q00.xq
@@ -0,0 +1,11 @@
+(: XQuery Filter Query :)
+(: See historical data for Riverside, CA (AS000000003) station by selecting   :)
+(: the weather readings for December 25 over the last 10 years.               :)
+let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+for $r in collection($collection)/dataCollection/data
+let $datetime := xs:dateTime(fn:data($r/date))
+where $r/station eq "GHCND:AS000000003" 
+    and fn:year-from-dateTime($datetime) ge 2000
+    and fn:month-from-dateTime($datetime) eq 3 
+    and fn:day-from-dateTime($datetime) eq 3
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q01.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q01.xq
new file mode 100644
index 0000000..4e1edc5
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q01.xq
@@ -0,0 +1,8 @@
+(: XQuery Filter Query :)
+(: Find all reading for hurricane force wind warning or extreme wind warning. :)
+(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744     :)
+(: meters per second). (Wind value is in tenth of a meter per second)         :)
+let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+for $r in collection($collection)/dataCollection/data
+where $r/dataType eq "AWND" and xs:decimal(fn:data($r/value)) gt 491.744
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q02.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q02.xq
new file mode 100644
index 0000000..fac6bf0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q02.xq
@@ -0,0 +1,11 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+fn:sum(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q03.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q03.xq
new file mode 100644
index 0000000..ce3d0d3
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q03.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+fn:max(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q04.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q04.xq
new file mode 100644
index 0000000..5d6d1d1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q04.xq
@@ -0,0 +1,13 @@
+(: XQuery Join Query :)
+(: Find all the weather readings for Washington state for a specific day    :)
+(: 2002-2-2.                                                                  :)
+let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+for $s in collection($station_collection)/stationCollection/station
+
+let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+for $r in collection($sensor_collection)/dataCollection/data
+    
+where $s/id eq $r/station 
+    and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
+    and xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q05.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q05.xq
new file mode 100644
index 0000000..15b98c1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q05.xq
@@ -0,0 +1,16 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+fn:min(
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q06.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q06.xq
new file mode 100644
index 0000000..df17713
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q06.xq
@@ -0,0 +1,13 @@
+(: XQuery Join Query :)
+(: Find the highest recorded temperature (TMAX) for each station for each     :)
+(: day over the year 2002.                                                    :)
+let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+for $s in collection($station_collection)/stationCollection/station
+
+let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+for $r in collection($sensor_collection)/dataCollection/data
+
+where $s/id eq $r/station
+    and $r/dataType eq "TMAX" 
+    and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+return ($s/displayName, $r/date, $r/value)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q07.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q07.xq
new file mode 100644
index 0000000..2debae0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-2/q07.xq
@@ -0,0 +1,16 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+fn:avg(
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q00.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q00.xq
new file mode 100644
index 0000000..e130e2a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q00.xq
@@ -0,0 +1,11 @@
+(: XQuery Filter Query :)
+(: See historical data for Riverside, CA (AS000000003) station by selecting   :)
+(: the weather readings for December 25 over the last 10 years.               :)
+let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+for $r in collection($collection)/dataCollection/data
+let $datetime := xs:dateTime(fn:data($r/date))
+where $r/station eq "GHCND:AS000000003" 
+    and fn:year-from-dateTime($datetime) ge 2000
+    and fn:month-from-dateTime($datetime) eq 3 
+    and fn:day-from-dateTime($datetime) eq 3
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q01.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q01.xq
new file mode 100644
index 0000000..bad94e4
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q01.xq
@@ -0,0 +1,8 @@
+(: XQuery Filter Query :)
+(: Find all reading for hurricane force wind warning or extreme wind warning. :)
+(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744     :)
+(: meters per second). (Wind value is in tenth of a meter per second)         :)
+let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+for $r in collection($collection)/dataCollection/data
+where $r/dataType eq "AWND" and xs:decimal(fn:data($r/value)) gt 491.744
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q02.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q02.xq
new file mode 100644
index 0000000..f4c2722
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q02.xq
@@ -0,0 +1,11 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+fn:sum(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q03.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q03.xq
new file mode 100644
index 0000000..7199c97
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q03.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+fn:max(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q04.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q04.xq
new file mode 100644
index 0000000..cdf85dd
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q04.xq
@@ -0,0 +1,13 @@
+(: XQuery Join Query :)
+(: Find all the weather readings for Washington state for a specific day    :)
+(: 2002-2-2.                                                                  :)
+let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+for $s in collection($station_collection)/stationCollection/station
+
+let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+for $r in collection($sensor_collection)/dataCollection/data
+    
+where $s/id eq $r/station 
+    and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "STATE 1"))
+    and xs:dateTime(fn:data($r/date)) eq xs:dateTime("2002-02-02T00:00:00.000")
+return $r
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q05.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q05.xq
new file mode 100644
index 0000000..5036305
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q05.xq
@@ -0,0 +1,16 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+fn:min(
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q06.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q06.xq
new file mode 100644
index 0000000..51c474d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q06.xq
@@ -0,0 +1,13 @@
+(: XQuery Join Query :)
+(: Find the highest recorded temperature (TMAX) for each station for each     :)
+(: day over the year 2002.                                                    :)
+let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+for $s in collection($station_collection)/stationCollection/station
+
+let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+for $r in collection($sensor_collection)/dataCollection/data
+
+where $s/id eq $r/station
+    and $r/dataType eq "TMAX" 
+    and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+return ($s/displayName, $r/date, $r/value)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q07.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q07.xq
new file mode 100644
index 0000000..a508e52
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/Ghcnd/Partition-4/q07.xq
@@ -0,0 +1,16 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+fn:avg(
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value
+) div 10
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq
new file mode 100644
index 0000000..73e8aea
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q02_count.xq
@@ -0,0 +1,11 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq
new file mode 100644
index 0000000..0d327d1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q03_count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq
new file mode 100644
index 0000000..9f2ac93
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q05_count.xq
@@ -0,0 +1,16 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+fn:count(
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq
new file mode 100644
index 0000000..917b7c6
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-1/q07_count.xq
@@ -0,0 +1,16 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+fn:count(
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq
new file mode 100644
index 0000000..52e7790
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q02_count.xq
@@ -0,0 +1,11 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq
new file mode 100644
index 0000000..619c6d1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q03_count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq
new file mode 100644
index 0000000..c32bcd1
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q05_count.xq
@@ -0,0 +1,16 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+fn:count(
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq
new file mode 100644
index 0000000..fd3431f
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-2/q07_count.xq
@@ -0,0 +1,16 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+fn:count(
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq
new file mode 100644
index 0000000..2940380
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q02_count.xq
@@ -0,0 +1,11 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq
new file mode 100644
index 0000000..eb6ff10
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q03_count.xq
@@ -0,0 +1,8 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+fn:count(
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq
new file mode 100644
index 0000000..768e35d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q05_count.xq
@@ -0,0 +1,16 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+fn:count(
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq
new file mode 100644
index 0000000..8ea026b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndCount/Partition-4/q07_count.xq
@@ -0,0 +1,16 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+fn:count(
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value
+)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq
new file mode 100644
index 0000000..68b87b5
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q02_records.xq
@@ -0,0 +1,9 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq
new file mode 100644
index 0000000..8a22c5e
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q03_records.xq
@@ -0,0 +1,6 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq
new file mode 100644
index 0000000..0cd735d
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q05_records.xq
@@ -0,0 +1,14 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq
new file mode 100644
index 0000000..793fbba
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-1/q07_records.xq
@@ -0,0 +1,14 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq
new file mode 100644
index 0000000..4b14f55
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q02_records.xq
@@ -0,0 +1,9 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq
new file mode 100644
index 0000000..581644a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q03_records.xq
@@ -0,0 +1,6 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq
new file mode 100644
index 0000000..83b4683
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q05_records.xq
@@ -0,0 +1,14 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq
new file mode 100644
index 0000000..1948ba0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-2/q07_records.xq
@@ -0,0 +1,14 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq
new file mode 100644
index 0000000..8fb560b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q02_records.xq
@@ -0,0 +1,9 @@
+(: XQuery Aggregate Query :)
+(: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
+(: station (US000000002) for 2002.                                            :)
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/station eq "GHCND:US000000002" 
+        and $r/dataType eq "PRCP" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2002
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq
new file mode 100644
index 0000000..835e3b2
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q03_records.xq
@@ -0,0 +1,6 @@
+(: XQuery Aggregate Query :)
+(: Find the highest recorded temperature (TMAX) in Celsius.                   :)
+    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($collection)/dataCollection/data
+    where $r/dataType eq "TMAX"
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq
new file mode 100644
index 0000000..664e91b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q05_records.xq
@@ -0,0 +1,14 @@
+(: XQuery Join Aggregate Query :)
+(: Find the lowest recorded temperature (TMIN) in the United States for     :)
+(: 2001.                                                                      :)
+    let $station_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $s in collection($station_collection)/stationCollection/station
+    
+    let $sensor_collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r in collection($sensor_collection)/dataCollection/data
+    
+    where $s/id eq $r/station
+        and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
+        and $r/dataType eq "TMIN" 
+        and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
+    return $r/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq
new file mode 100644
index 0000000..6f8c165
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/Queries/XQuery/GhcndRecords/Partition-4/q07_records.xq
@@ -0,0 +1,14 @@
+(: XQuery Self Join Query :)
+(: Self join with all stations finding the difference in min and max       :)
+(: temperature and get the average.                                        :)
+    let $sensor_collection_min := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r_min in collection($sensor_collection_min)/dataCollection/data
+    
+    let $sensor_collection_max := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
+    for $r_max in collection($sensor_collection_max)/dataCollection/data
+    
+    where $r_min/station eq $r_max/station
+        and $r_min/date eq $r_max/date
+        and $r_min/dataType eq "TMIN"
+        and $r_max/dataType eq "TMAX"
+    return $r_max/value - $r_min/value

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml
new file mode 100644
index 0000000..cc2fd33
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/sesnors/US000000001_200101_0.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="3"><data><date>2001-01-01T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000001</station><value>11.25</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2001-01-01T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000001</station><value>31</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml
new file mode 100644
index 0000000..213f748
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_1/stations/US000000001.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:US000000001</id><displayName>Station 1</displayName><latitude>10.000</latitude><longitude>-10.000</longitude><elevation>1000.0</elevation><locationLabels><type>ST</type><id>FIPS:1</id><displayName>State 1</displayName></locationLabels><locationLabels><type>CNTY</type><id>FIPS:-9999</id><displayName>County 1</displayName></locationLabels><locationLabels><type>CNTRY</type><id>FIPS:US</id><displayName>UNITED STATES</displayName></locationLabels></station></stationCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml
new file mode 100644
index 0000000..c095726
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/sesnors/US000000002_200202_0.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="3"><data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml
new file mode 100644
index 0000000..3bcec27
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_1/quarter_2/stations/US000000004.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:US000000004</id><displayName>Station 4</displayName><latitude>40.000</latitude><longitude>-40.000</longitude><elevation>4000.0</elevation><locationLabels><type>ST</type><id>FIPS:1</id><displayName>State 4</displayName></locationLabels><locationLabels><type>CNTY</type><id>FIPS:-9999</id><displayName>County 4</displayName></locationLabels><locationLabels><type>CNTRY</type><id>FIPS:US</id><displayName>UNITED STATES</displayName></locationLabels></station></stationCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml
new file mode 100644
index 0000000..3a540d3
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/sesnors/AS000000003_200303_0.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="2"><data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml
new file mode 100644
index 0000000..e9dc6e9
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_3/stations/US000000002.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:US000000002</id><displayName>Station 2</displayName><latitude>20.000</latitude><longitude>-20.000</longitude><elevation>2000.0</elevation><locationLabels><type>ST</type><id>FIPS:1</id><displayName>State 1</displayName></locationLabels><locationLabels><type>CNTY</type><id>FIPS:-9999</id><displayName>County 2</displayName></locationLabels><locationLabels><type>CNTRY</type><id>FIPS:US</id><displayName>UNITED STATES</displayName></locationLabels></station></stationCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml
new file mode 100644
index 0000000..2dbe586
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/sesnors/US000000004_200404_0.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><dataCollection pageCount="1" totalCount="2"><data><date>2004-04-04T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000004</station><value>40</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data><data><date>2004-04-04T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000004</station><value>4</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data></dataCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml
new file mode 100644
index 0000000..4919c20
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/TestSources/ghcnd/half_2/quarter_4/stations/AS000000003.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><stationCollection pageSize="100" pageCount="1" totalCount="1"><station><id>GHCND:AS000000003</id><displayName>Station 3</displayName><latitude>-30.000</latitude><longitude>30.000</longitude><locationLabels><type>CNTRY</type><id>FIPS:AS</id><displayName>AUSTRALIA</displayName></locationLabels></station></stationCollection>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/VXQueryCatalog.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/VXQueryCatalog.xml b/vxquery-xtest/src/tests/resources/VXQueryCatalog.xml
new file mode 100644
index 0000000..f396f98
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/VXQueryCatalog.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test-suite [
+
+<!ENTITY AggregatePartition1Queries SYSTEM "cat/AggregatePartition1Queries.xml">
+<!ENTITY AggregatePartition2Queries SYSTEM "cat/AggregatePartition2Queries.xml">
+<!ENTITY AggregatePartition4Queries SYSTEM "cat/AggregatePartition4Queries.xml">
+
+<!ENTITY GhcndPartition1Queries SYSTEM "cat/GhcndPartition1Queries.xml">
+<!ENTITY GhcndPartition2Queries SYSTEM "cat/GhcndPartition2Queries.xml">
+<!ENTITY GhcndPartition4Queries SYSTEM "cat/GhcndPartition4Queries.xml">
+
+<!ENTITY GhcndRecordsPartition1Queries SYSTEM "cat/GhcndRecordsPartition1Queries.xml">
+<!ENTITY GhcndRecordsPartition2Queries SYSTEM "cat/GhcndRecordsPartition2Queries.xml">
+<!ENTITY GhcndRecordsPartition4Queries SYSTEM "cat/GhcndRecordsPartition4Queries.xml">
+
+<!ENTITY GhcndCountPartition1Queries SYSTEM "cat/GhcndCountPartition1Queries.xml">
+<!ENTITY GhcndCountPartition2Queries SYSTEM "cat/GhcndCountPartition2Queries.xml">
+<!ENTITY GhcndCountPartition4Queries SYSTEM "cat/GhcndCountPartition4Queries.xml">
+
+]>
+<test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            CatalogDesignDate="2014-04-01"
+            version="0.0.1"
+            SourceOffsetPath="./"
+            ResultOffsetPath="ExpectedTestResults/"
+            XQueryQueryOffsetPath="Queries/XQuery/"
+            XQueryXQueryOffsetPath="Queries/XQueryX/"
+            XQueryFileExtension=".xq"
+            XQueryXFileExtension=".xqx"
+            xsi:schemaLocation="http://www.w3.org/2005/02/query-test-XQTSCatalog XQTSCatalog.xsd">
+   <test-suite-info>
+      <title>VXQuery Test Suite</title>
+      <description> 
+         Test Suite for VXQuery. 
+      </description>
+   </test-suite-info>
+   <test-group name="AggregatePartitionQueries" featureOwner="Preston Carman">
+      <GroupInfo>
+         <title>Aggregate Partition Queries</title>
+         <description/>
+      </GroupInfo>
+      <test-group name="AggregateParallelExecutionTests" featureOwner="Preston Carman">
+         <GroupInfo>
+            <title>Aggregate Parallel Execution Tests</title>
+            <description/>
+         </GroupInfo>
+         &AggregatePartition1Queries;
+         &AggregatePartition2Queries;
+         &AggregatePartition4Queries;
+      </test-group>
+   </test-group>
+   <test-group name="GhcndPartitionQueries" featureOwner="Preston Carman">
+      <GroupInfo>
+         <title>GHCND Partition Queries</title>
+         <description/>
+      </GroupInfo>
+      <test-group name="ParallelExecutionTests" featureOwner="Preston Carman">
+         <GroupInfo>
+            <title>Parallel Execution Tests</title>
+            <description/>
+         </GroupInfo>
+         &GhcndPartition1Queries;
+         &GhcndPartition2Queries;
+         &GhcndPartition4Queries;
+      </test-group>
+   </test-group>
+   <test-group name="GhcndCountPartitionQueries" featureOwner="Preston Carman">
+      <GroupInfo>
+         <title>GHCND Count Partition Queries</title>
+         <description/>
+      </GroupInfo>
+      <test-group name="CountParallelExecutionTests" featureOwner="Preston Carman">
+         <GroupInfo>
+            <title>Parallel Execution Tests</title>
+            <description/>
+         </GroupInfo>
+         &GhcndCountPartition1Queries;
+         &GhcndCountPartition2Queries;
+         &GhcndCountPartition4Queries;
+      </test-group>
+   </test-group>
+   <test-group name="GhcndRecordsPartitionQueries" featureOwner="Preston Carman">
+      <GroupInfo>
+         <title>GHCND Records Partition Queries</title>
+         <description/>
+      </GroupInfo>
+      <test-group name="RecordsParallelExecutionTests" featureOwner="Preston Carman">
+         <GroupInfo>
+            <title>Records Parallel Execution Tests</title>
+            <description/>
+         </GroupInfo>
+         &GhcndRecordsPartition1Queries;
+         &GhcndRecordsPartition2Queries;
+         &GhcndRecordsPartition4Queries;
+      </test-group>
+   </test-group>
+</test-suite>

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/AggregatePartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/AggregatePartition1Queries.xml b/vxquery-xtest/src/tests/resources/cat/AggregatePartition1Queries.xml
new file mode 100644
index 0000000..c901468
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/AggregatePartition1Queries.xml
@@ -0,0 +1,31 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="AggregatePartition1Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>Aggregate Partition 1</title>
+      <description/>
+   </GroupInfo>
+   <test-case name="aggregate-partition-1-avg" FilePath="Aggregate/Partition-1/" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
+      <query name="avg" date="2014-04-01"/>
+      <output-file compare="Text">avg.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-1-count" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
+      <query name="count" date="2014-04-01"/>
+      <output-file compare="Text">count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-1-min" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 1 partition.</description>
+      <query name="min" date="2014-04-01"/>
+      <output-file compare="Text">min.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-1-max" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 1 partition.</description>
+      <query name="max" date="2014-04-01"/>
+      <output-file compare="Text">max.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-1-sum" FilePath="Aggregate/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 1 partition.</description>
+      <query name="sum" date="2014-04-01"/>
+      <output-file compare="Text">sum.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/AggregatePartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/AggregatePartition2Queries.xml b/vxquery-xtest/src/tests/resources/cat/AggregatePartition2Queries.xml
new file mode 100644
index 0000000..a4ac807
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/AggregatePartition2Queries.xml
@@ -0,0 +1,36 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="AggregatePartition2Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>Aggregate Partition 2</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="aggregate-partition-2-avg" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 2 partition.</description>
+      <query name="avg" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">avg.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-2-count" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 2 partition.</description>
+      <query name="count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-2-min" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 2 partition.</description>
+      <query name="min" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">min.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-2-max" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 2 partition.</description>
+      <query name="max" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">max.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-2-sum" FilePath="Aggregate/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 2 partition.</description>
+      <query name="sum" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">sum.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file


[5/9] Updated the testing resources.

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/XQTSCatalog.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/XQTSCatalog.xml b/vxquery-xtest/tests/XQTSCatalog.xml
deleted file mode 100644
index 7f6554f..0000000
--- a/vxquery-xtest/tests/XQTSCatalog.xml
+++ /dev/null
@@ -1,1013 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="XQTSCatalog.xsl" ?>
-<!DOCTYPE test-suite [
-
-<!ELEMENT GroupInfo ( title, description ) >
-
-<!ELEMENT citation-spec ( description | note | spec-URI )* >
-<!ATTLIST citation-spec name NMTOKEN #REQUIRED >
-
-<!ELEMENT citations ( citation-spec+ ) >
-
-<!ELEMENT collection ( description, input-document+ ) >
-<!ATTLIST collection Creator CDATA #REQUIRED >
-<!ATTLIST collection ID NMTOKEN #REQUIRED >
-
-<!ELEMENT comparison ( description ) >
-<!ATTLIST comparison name NMTOKEN #REQUIRED >
-
-<!ELEMENT comparisons ( comparison+ ) >
-
-<!ELEMENT context-properties ( context-property+ ) >
-
-<!ELEMENT context-property EMPTY >
-<!ATTLIST context-property context-type ( dynamic | static ) #REQUIRED >
-<!ATTLIST context-property name CDATA #REQUIRED >
-
-<!ELEMENT contextItem ( #PCDATA ) >
-<!ATTLIST contextItem role NMTOKEN #FIXED "principal-data" >
-
-<!ELEMENT defaultCollection ( #PCDATA ) >
-<!ATTLIST defaultCollection role NMTOKEN #REQUIRED >
-
-<!ELEMENT description ( #PCDATA ) >
-<!ATTLIST description last-mod NMTOKEN #IMPLIED >
-
-<!ELEMENT expected-error ( #PCDATA ) >
-<!ATTLIST expected-error input-document NMTOKEN #IMPLIED >
-<!ATTLIST expected-error spec-version NMTOKENS #IMPLIED >
-
-<!ELEMENT feature EMPTY >
-<!ATTLIST feature name CDATA #REQUIRED >
-
-<!ELEMENT features ( feature+ ) >
-
-<!ELEMENT implementation-defined-item ( description ) >
-<!ATTLIST implementation-defined-item name ID #REQUIRED >
-<!ATTLIST implementation-defined-item spec ( DataModel | FuncOps | Serialization | XQuery ) #REQUIRED >
-
-<!ELEMENT implementation-defined-items ( implementation-defined-item+ ) >
-
-<!ELEMENT input-URI ( #PCDATA ) >
-<!ATTLIST input-URI role NMTOKEN #FIXED "principal-data" >
-<!ATTLIST input-URI variable ( input-context | input-context1 | input-context2 ) #REQUIRED >
-
-<!ELEMENT input-document ( #PCDATA ) >
-
-<!ELEMENT input-file ( #PCDATA ) >
-<!ATTLIST input-file role NMTOKEN #FIXED "principal-data" >
-<!ATTLIST input-file variable ( input-context | input-context1 | input-context2 | input-context3 | inputDocument | var ) #REQUIRED >
-
-<!ELEMENT input-query EMPTY >
-<!ATTLIST input-query date CDATA #REQUIRED >
-<!ATTLIST input-query name ID #REQUIRED >
-<!ATTLIST input-query variable NMTOKEN #FIXED "x" >
-
-<!ELEMENT module ( #PCDATA | description )* >
-<!ATTLIST module Creator CDATA #IMPLIED >
-<!ATTLIST module FileName CDATA #IMPLIED >
-<!ATTLIST module ID ID #IMPLIED >
-<!ATTLIST module namespace CDATA #IMPLIED >
-
-<!ELEMENT note ( #PCDATA ) >
-
-<!ELEMENT output-file ( #PCDATA ) >
-<!ATTLIST output-file compare ( Fragment | Ignore | Inspect | Text | XML ) #REQUIRED >
-<!ATTLIST output-file input-document NMTOKEN #IMPLIED >
-<!ATTLIST output-file spec-version NMTOKENS #IMPLIED >
-<!ATTLIST output-file role NMTOKEN #FIXED "principal" >
-
-<!ELEMENT query ( description? ) >
-<!ATTLIST query date CDATA #REQUIRED >
-<!ATTLIST query name NMTOKEN #REQUIRED >
-<!ATTLIST query static-name NMTOKEN #IMPLIED >
-
-<!ELEMENT reflects-resolution ( #PCDATA ) >
-
-<!ELEMENT role ( description, note? ) >
-<!ATTLIST role name NMTOKEN #REQUIRED >
-
-<!ELEMENT roles ( role+ ) >
-
-<!ELEMENT scenario ( description ) >
-<!ATTLIST scenario name NMTOKEN #REQUIRED >
-
-<!ELEMENT scenarios ( scenario+ ) >
-
-<!ELEMENT schema ( description ) >
-<!ATTLIST schema FileName CDATA #REQUIRED >
-<!ATTLIST schema ID ID #REQUIRED >
-<!ATTLIST schema uri CDATA #REQUIRED >
-
-<!ELEMENT source ( description, note* ) >
-<!ATTLIST source Creator CDATA #REQUIRED >
-<!ATTLIST source FileName CDATA #REQUIRED >
-<!ATTLIST source ID ID #REQUIRED >
-<!ATTLIST source schema NMTOKEN #IMPLIED >
-
-<!ELEMENT sources ( source+, schema+, collection+, module+ ) >
-
-<!ELEMENT spec-URI ( #PCDATA ) >
-
-<!ELEMENT spec-citation EMPTY >
-<!ATTLIST spec-citation section-number NMTOKEN #REQUIRED >
-<!ATTLIST spec-citation section-pointer NMTOKEN #REQUIRED >
-<!ATTLIST spec-citation section-title CDATA #REQUIRED >
-<!ATTLIST spec-citation spec ( DataModel | FuncOps | UseCases | XQuery ) #REQUIRED >
-
-<!ELEMENT test-case ( contextItem | defaultCollection | description | expected-error | input-URI | input-file | input-query | module | output-file | query | reflects-resolution | spec-citation )* >
-<!ATTLIST test-case Creator CDATA #REQUIRED >
-<!ATTLIST test-case FilePath CDATA #REQUIRED >
-<!ATTLIST test-case is-XPath2 ( false | true ) #IMPLIED >
-<!ATTLIST test-case name ID #REQUIRED >
-<!ATTLIST test-case scenario ( parse-error | runtime-error | standard ) #REQUIRED >
-
-<!ELEMENT test-group ( GroupInfo | test-case | test-group )* >
-<!ATTLIST test-group featureOwner CDATA #IMPLIED >
-<!ATTLIST test-group is-XPath2 ( false | true ) #IMPLIED >
-<!ATTLIST test-group name ID #REQUIRED >
-<!ATTLIST test-group xmlns CDATA #IMPLIED >
-
-<!ELEMENT test-suite ( test-suite-info, citations, comparisons, roles, scenarios, sources, implementation-defined-items, features, context-properties, test-group+ ) >
-<!ATTLIST test-suite CatalogDesignDate NMTOKEN #REQUIRED >
-<!ATTLIST test-suite ResultOffsetPath CDATA #REQUIRED >
-<!ATTLIST test-suite SourceOffsetPath CDATA #REQUIRED >
-<!ATTLIST test-suite XQueryFileExtension NMTOKEN #REQUIRED >
-<!ATTLIST test-suite XQueryQueryOffsetPath CDATA #REQUIRED >
-<!ATTLIST test-suite XQueryXFileExtension NMTOKEN #REQUIRED >
-<!ATTLIST test-suite XQueryXQueryOffsetPath CDATA #REQUIRED >
-<!ATTLIST test-suite version CDATA #REQUIRED >
-<!ATTLIST test-suite xmlns CDATA #REQUIRED >
-<!ATTLIST test-suite xmlns:xsi CDATA #REQUIRED >
-<!ATTLIST test-suite xsi:schemaLocation CDATA #REQUIRED >
-
-<!ELEMENT test-suite-info ( title, description ) >
-
-<!ELEMENT title ( #PCDATA ) >
-
-<!ENTITY AggregatePartition1Queries SYSTEM "cat/AggregatePartition1Queries.xml">
-<!ENTITY AggregatePartition2Queries SYSTEM "cat/AggregatePartition2Queries.xml">
-<!ENTITY AggregatePartition4Queries SYSTEM "cat/AggregatePartition4Queries.xml">
-
-<!ENTITY GhcndPartition1Queries SYSTEM "cat/GhcndPartition1Queries.xml">
-<!ENTITY GhcndPartition2Queries SYSTEM "cat/GhcndPartition2Queries.xml">
-<!ENTITY GhcndPartition4Queries SYSTEM "cat/GhcndPartition4Queries.xml">
-
-<!ENTITY GhcndRecordsPartition1Queries SYSTEM "cat/GhcndRecordsPartition1Queries.xml">
-<!ENTITY GhcndRecordsPartition2Queries SYSTEM "cat/GhcndRecordsPartition2Queries.xml">
-<!ENTITY GhcndRecordsPartition4Queries SYSTEM "cat/GhcndRecordsPartition4Queries.xml">
-
-<!ENTITY GhcndCountPartition1Queries SYSTEM "cat/GhcndCountPartition1Queries.xml">
-<!ENTITY GhcndCountPartition2Queries SYSTEM "cat/GhcndCountPartition2Queries.xml">
-<!ENTITY GhcndCountPartition4Queries SYSTEM "cat/GhcndCountPartition4Queries.xml">
-
-]>
-<test-suite xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog"
-            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            CatalogDesignDate="2003-04-03"
-            version="1.0.3"
-            SourceOffsetPath="./"
-            ResultOffsetPath="ExpectedTestResults/"
-            XQueryQueryOffsetPath="Queries/XQuery/"
-            XQueryXQueryOffsetPath="Queries/XQueryX/"
-            XQueryFileExtension=".xq"
-            XQueryXFileExtension=".xqx"
-            xsi:schemaLocation="http://www.w3.org/2005/02/query-test-XQTSCatalog XQTSCatalog.xsd">
-   <test-suite-info>
-      <title>VXQuery Test Suite</title>
-      <description> 
-         Test Suite for VXQuery. 
-      </description>
-   </test-suite-info>
-   <citations>
-      <citation-spec name="XQuery">
-         <description last-mod="2007-01-23">XQuery 1.0: An XML Query Language</description>
-         <spec-URI>http://www.w3.org/TR/xquery/</spec-URI>
-      </citation-spec>
-      <citation-spec name="FuncOps">
-         <description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Functions and Operators</description>
-         <spec-URI>http://www.w3.org/TR/xpath-functions/</spec-URI>
-      </citation-spec>
-      <citation-spec name="DataModel">
-         <description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Data Model</description>
-         <spec-URI>http://www.w3.org/TR/xpath-datamodel/</spec-URI>
-      </citation-spec>
-      <citation-spec name="FormalSemantics">
-         <description last-mod="2007-01-23">XQuery 1.0 and XPath 2.0 Formal Semantics</description>
-         <spec-URI>http://www.w3.org/TR/xquery-semantics/</spec-URI>
-      </citation-spec>
-      <citation-spec name="SchemaPart2">
-         <description last-mod="2003-03-25">XML Schema Part 2: Datatypes</description>
-         <spec-URI>http://www.w3.org/TR/xmlschema-2/</spec-URI>
-      </citation-spec>
-      <citation-spec name="Schema-Errata">
-         <description last-mod="2003-03-25">XML Schema Errata</description>
-         <note>Current practice is to have one Errata document for all parts of Schema.</note>
-         <spec-URI>http://www.w3.org/2001/05/xmlschema-errata</spec-URI>
-      </citation-spec>
-      <citation-spec name="UseCases">
-         <description last-mod="2006-07-12">XML Query Use Cases</description>
-         <spec-URI>http://www.w3c.org/TR/xquery-use-cases/</spec-URI>
-      </citation-spec>
-      <citation-spec name="XQueryX">
-         <description last-mod="2007-01-23">XML Syntax for XQuery 1.0 (XQueryX)</description>
-         <spec-URI>http://www.w3.org/TR/xqueryx/</spec-URI>
-      </citation-spec>
-      <citation-spec name="Serialization">
-         <description last-mod="2007-01-23">XSLT 2.0 and XQuery 1.0 Serialization</description>
-         <spec-URI>http://www.w3.org/TR/xslt-xquery-serialization/</spec-URI>
-      </citation-spec>
-   </citations>
-   <comparisons>
-      <comparison name="XML">
-         <description last-mod="2003-03-25">The XML InfoSets should be canonicalized and compared.</description>
-      </comparison>
-      <comparison name="Fragment">
-         <description last-mod="2004-10-20">
-            A 'fragment' refers to an XML based instance which has multiple top-level elements and NO XML declaration.
-            The comparator for this should simply wrap the entire fragment in a container element and perform XML comparison.
-         </description>
-      </comparison>
-      <comparison name="Text">
-         <description last-mod="2003-03-25">
-            Each line of non-whitespace text should match. New-line sequences
-            may vary and should be neutralized. Due to issues with the XML serialization of certain characters (e.g. '&lt;'),
-            it is not possible to simply compare the actual and expected results. Rather (as is the case with the 'Fragment' comparator)
-            the test harness should convert the results into valid XML (by adding a container element) and perform comparison
-            on the XML canonicalized versions of the results.
-         </description>
-      </comparison>
-      <comparison name="Ignore">
-         <description last-mod="2003-03-25">
-            Only the presence/absence of this file is significant,
-            not its content.
-         </description>
-      </comparison>
-      <comparison name="Inspect">
-         <description last-mod="2003-03-25">
-            Automated comparison is not possible. the output should be
-            inspected by a human.
-         </description>
-      </comparison>
-   </comparisons>
-   <roles>
-      <role name="principal-data">
-         <description last-mod="2003-03-25">
-            This is the source that is handed in to the processor as the
-            initial input sequence, setting the "evaluation context" as described in XQuery chapter 2.
-         </description>
-      </role>
-      <role name="supplemental-data">
-         <description last-mod="2003-03-25">
-            These are sources that may be read by functions such as
-            fn:document() as the query is evaluated.
-         </description>
-      </role>
-      <role name="schema">
-         <description last-mod="2003-03-25">
-            These are schema definitions that may be referenced by sources
-            or in the query.
-         </description>
-      </role>
-      <role name="dtd">
-         <description last-mod="2003-03-25">
-            These are dtd definitions that may be referenced by sources
-            or in the query.
-         </description>
-      </role>
-      <role name="principal">
-         <description last-mod="2003-03-25">
-            This is an output (either text or XML) that will contain the
-            query results. If the processor invocation sequence accepts a filename for results, this name may be
-            passed, possibly prefixed by a partial directory path to allow storage of the results in a separate
-            directory tree.
-         </description>
-      </role>
-      <role name="console-log">
-         <description last-mod="2003-03-25">
-            This is an output (text file tagged .log) that will contain the
-            captured "console" output for a command-line invocation, or equivalent messages from a harness. The
-            main goal is to capture error messages that came from the processor.
-         </description>
-         <note>
-            A test lab may choose to capture console output for every test case, in which case the presence
-            of this element is a signal that the console log of this test contains messages that are significant to
-            the pass/fail determination.
-         </note>
-      </role>
-   </roles>
-   <scenarios>
-      <scenario name="standard">
-         <description last-mod="2005-06-10">
-            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-      </scenario>
-      <scenario name="parse-error">
-         <description last-mod="2005-06-10">
-            A query this is expected to raise a parsing/syntax error at query parse time. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-      </scenario>
-      <scenario name="runtime-error">
-         <description last-mod="2005-06-10">
-            A query this is expected to raise a runtime error at query parse time. Runtime errors in this case include those raised by static typing rules. Principal input should always be specified, even if the query doesn't have any PathExpr.
-         </description>
-      </scenario>
-      <scenario name="trivial">
-         <description last-mod="2006-03-29">
-            A query this is expected to produce valid results. Principal input should always be specified, even if the query doesn't have any PathExpr.
-            The initial query returns an &lt;xqx:xquery&gt; element (Trivial Embedding of XQuery).
-            This embedded query is then executed to produce the final result.
-         </description>
-      </scenario>
-   </scenarios>
-   <sources>
-      <source ID="XQTSCatalog" FileName="XQTSCatalog.xml" Creator="XQuery Test Task Force"
-              schema="XQTSCatalogxsd">
-         <description last-mod="2005-04-14">XQuery Test Suite Catalog</description>
-      </source>
-      <source ID="bib2" FileName="TestSources/bib2.xml" Creator="spec-authors">
-         <description last-mod="2003-03-25">Bibliography example with extra comments and PIs.</description>
-      </source>
-      <source ID="emptydoc" FileName="TestSources/emptydoc.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">Contains just a "doc" element, no comments/text/PIs.</description>
-      </source>
-      <source ID="fsx" FileName="TestSources/fsx.xml" Creator="Mike Rorke">
-         <description last-mod="2003-03-25">Data about a filesystem represented in XML.</description>
-      </source>
-      <source ID="fsx_NS" FileName="TestSources/fsx_NS.xml" Creator="Mike Rorke">
-         <description last-mod="2003-03-25">Data about a filesystem represented in XML with namespace-qualified names.</description>
-      </source>
-      <source ID="MixNS" FileName="TestSources/MixNS.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">Small tree with element names in mixed namespaces.</description>
-         <note>Use @index to identify elements precisely.</note>
-      </source>
-      <source ID="nw_Customers" FileName="TestSources/nw_Customers.xml" Creator="Kuen Siew">
-         <description last-mod="2003-03-25">Customer name/address file with some non-ASCII characters.</description>
-      </source>
-      <source ID="TopMany" FileName="TestSources/TopMany.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">Like TreeCompass, but with comments and PIs off the root. PI targets vary.</description>
-         <note>All text nodes must have non-whitespace characters.</note>
-      </source>
-      <source ID="Tree1Child" FileName="TestSources/Tree1Child.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">A "compass" tree that has just one child, of an abnormal name, off the center node.</description>
-         <note>One attribute each on west and center.</note>
-      </source>
-      <source ID="Tree1Text" FileName="TestSources/Tree1Text.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">A "compass" tree that has just a text node and no child element off the center node.</description>
-      </source>
-      <source ID="TreeCompass" FileName="TestSources/TreeCompass.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">A tree intended to allow many kinds of path expressions.</description>
-         <note>Need multiple attributes on center, west, and south, plus @mark scattered around.</note>
-         <note>Mix of text and element children in many places, but east should have only a text node.</note>
-         <note>All text nodes must have non-whitespace characters.</note>
-         <note>Top element is far-north.</note>
-      </source>
-      <source ID="TreeEmpty" FileName="TestSources/TreeEmpty.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">A "compass" tree that has just one "south" element at the top, bearing one "mark" attribute.</description>
-      </source>
-      <source ID="TreeRepeat" FileName="TestSources/TreeRepeat.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">A "compass" tree that has center elements off the real center node.</description>
-         <note>Use @mark to distinguish center elements.</note>
-         <note>"Real" center must have multiple element children, some with duplicate names (south-east).</note>
-         <note>Repeating attribute names used, including same name on elements of the same name.</note>
-         <note>Comments and text nodes are strewn about. All text nodes must have non-whitespace characters.</note>
-      </source>
-      <source ID="TreeStack" FileName="TestSources/TreeStack.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">A "compass" tree that has several "south" elements, some stacked within each other.</description>
-         <note>Use "mark" attributes at several levels and on all south elements.</note>
-      </source>
-      <source ID="TreeTrunc" FileName="TestSources/TreeTrunc.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">A "compass" tree that has no content at all in center or west, no attributes anywhere.</description>
-      </source>
-      <source ID="xq311A" FileName="TestSources/xq311A.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">Data that fits first example in XQuery 3.11.</description>
-      </source>
-      <source ID="xq311B" FileName="TestSources/xq311B.xml" Creator="David Marston">
-         <description last-mod="2003-03-25">Data that fits later examples in XQuery 3.11.</description>
-      </source>
-      <source ID="DupNode" FileName="TestSources/DupNode.xml" Creator="Andreas Behm">
-         <description last-mod="2005-04-26">Simple document with all node kinds</description>
-      </source>
-      <source ID="inscope" FileName="TestSources/inscope.xml" Creator="Andreas Behm">
-         <description last-mod="2005-08-26">Simple document with namespaces</description>
-      </source>
-      <source ID="nsmode" FileName="TestSources/nsmode.xml" Creator="Andreas Behm">
-         <description last-mod="2005-04-26">Source document for namespace copy modes</description>
-      </source>
-      <source ID="works" FileName="TestSources/works.xml" Creator="Carmelo Montanez">
-         <description last-mod="2005-03-04">Data for various NIST tests</description>
-      </source>
-      <source ID="examples" FileName="TestSources/examples.xml" Creator="Carmelo Montanez"
-              schema="examplesxsd">
-         <description last-mod="2006-05-19">Data for fn-data-1 test.</description>
-      </source>
-      <source ID="works-mod" FileName="TestSources/works-mod.xml" Creator="Carmelo Montanez">
-         <description last-mod="2005-03-04">Data for various NIST tests (abbreviated, unabbreviated syntax)</description>
-      </source>
-      <source ID="lang" FileName="TestSources/lang.xml" Creator="Carmelo Montanez">
-         <description last-mod="2005-10-19">Data for fn:lang tests.</description>
-      </source>
-      <source ID="staff" FileName="TestSources/staff.xml" Creator="Carmelo Montanez">
-         <description last-mod="2005-03-04">Data for various NIST tests</description>
-      </source>
-      <source ID="acme_corp" FileName="TestSources/acme_corp.xml"
-              Creator="Ravindranath Chennoju">
-         <description last-mod="2005-08-30">Source document for Function Declaration tests</description>
-      </source>
-      <source ID="bib" FileName="TestSources/bib.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-      </source>
-      <source ID="reviews" FileName="TestSources/reviews.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-      </source>
-      <source ID="books" FileName="TestSources/books.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-      </source>
-      <source ID="prices" FileName="TestSources/prices.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query XMP use cases</description>
-      </source>
-      <source ID="book" FileName="TestSources/book.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query TREE use cases</description>
-      </source>
-      <source ID="report1" FileName="TestSources/report1.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query SEQ use cases</description>
-      </source>
-      <source ID="items" FileName="TestSources/items.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-      </source>
-      <source ID="bids" FileName="TestSources/bids.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-      </source>
-      <source ID="users" FileName="TestSources/users.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query RDB use cases</description>
-      </source>
-      <source ID="string" FileName="TestSources/string.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
-      </source>
-      <source ID="company-data" FileName="TestSources/company-data.xml"
-              Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query STRING use cases</description>
-      </source>
-      <source ID="auction" FileName="TestSources/auction.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query NS use cases</description>
-      </source>
-      <source ID="partlist" FileName="TestSources/partlist.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query PARTS use cases</description>
-      </source>
-      <source ID="sgml" FileName="TestSources/sgml.xml" Creator="XML Query WG">
-         <description last-mod="2005-02-11">Data for the the XML Query SGML use cases</description>
-      </source>
-      <source ID="atomic" FileName="TestSources/atomic.xml" Creator="Carmelo Montanez"
-              schema="atomicxsd">
-         <description last-mod="2005-03-08">A Schema validated xml file, that contains values for data types. Can be used by any test.</description>
-      </source>
-      <source ID="id-idref-dtd" FileName="TestSources/iddtd.xml" Creator="Carmelo Montanez">
-         <description last-mod="2006-06-28">A DTD validated xml file, that contains data for the ID/IDREF function tests.</description>
-      </source>
-      <source ID="atomicns" FileName="TestSources/atomicns.xml" Creator="Carmelo Montanez">
-         <description last-mod="2006-03-15">A non schema validated xml file, that contains values for data types. Can be used by any test.</description>
-      </source>
-      <source ID="orderData" FileName="TestSources/orderData.xml" Creator="Carmelo Montanez"
-              schema="orderDataxsd">
-         <description last-mod="2005-06-01">A Schema validated xml file, that contains values for some of the order by tests generated by NIST.</description>
-      </source>
-      <source ID="id-idref" FileName="TestSources/id.xml" Creator="Carmelo Montanez"
-              schema="idxsd">
-         <description last-mod="2006-05-12">Data for id and idref related functions (schema-based).</description>
-      </source>
-      <source ID="id-idref2" FileName="TestSources/id2.xml" Creator="Michael Kay"
-              schema="idxsd">
-         <description last-mod="2009-03-06">More data for id and idref related functions (schema-based).</description>
-      </source>
-      <source ID="SpecialTypes" FileName="TestSources/SpecialTypes.xml" Creator="Mike Rorke"
-              schema="SpecialTypesXSD">
-         <description last-mod="2005-06-01">A Schema validated XML file containing certain special types e.g. interleave types, union types, anySimpleType</description>
-      </source>
-      <source ID="QNameSource" FileName="TestSources/QName-source.xml" Creator="Mike Rorke"
-              schema="QNameSourceXSD">
-         <description last-mod="2005-09-28">A schema validated XML file containing QName and QName derived types.</description>
-      </source>
-      <source ID="notation" FileName="TestSources/notation.xml" Creator="Andreas Behm"
-              schema="notationschema">
-         <description last-mod="2005-10-10">A Scehma validated xml file with NOTATION elements</description>
-      </source>
-      <source ID="textWithSpaces" FileName="TestSources/textWithSpaces.xml"
-              Creator="Joanne Tong">
-         <description last-mod="2005-09-29">Data for normalize-space functions</description>
-      </source>
-      <source ID="XMarkAuction" FileName="TestSources/XMarkAuction.xml"
-              Creator="Frans Englich">
-         <description last-mod="2007-03-09">Source file generated XML Benchmark Project's xmlgen utility. See http://www.xml-benchmark.org/.</description>
-      </source>
-      <source ID="CPPGlobals" FileName="TestSources/CPPGlobals.xml" Creator="Frans Englich">
-         <description last-mod="2007-06-27">The declarations of a C++ file described in XML.</description>
-      </source>
-      <source ID="MainWindow" FileName="TestSources/MainWindow.ui" Creator="Frans Englich">
-         <description last-mod="2007-07-09">A description of an graphical user interface.</description>
-      </source>
-      <source ID="ComplexWhitespace" FileName="TestSources/ComplexWhitespace.xml"
-              Creator="Frans Englich">
-         <description last-mod="2007-07-09">A file containing different forms of whitespace.</description>
-      </source>
-      <source ID="SpaceBracket" FileName="TestSources/SpaceBracket.xml"
-              Creator="Frans Englich">
-         <description last-mod="2007-12-20">A file containing ' ]' as a text node.</description>
-      </source>
-      <source ID="HighUnicode" FileName="TestSources/HighUnicode.xml" Creator="Frans Englich">
-         <description last-mod="2007-12-20">Corner case unicode codepoints.</description>
-      </source>
-      <source ID="HighUnicode2" FileName="TestSources/HighUnicode2.xml"
-              Creator="Frans Englich">
-         <description last-mod="2007-12-21">Corner case unicode codepoints, second case.</description>
-      </source>
-      <source ID="BCIsInvalid" FileName="TestSources/BCisInvalid.xml" Creator="Frans Englich">
-         <description last-mod="2007-12-21">An element name containing 0xBC.</description>
-      </source>
-      <source ID="InvalidUmlaut" FileName="TestSources/InvalidUmlaut.xml"
-              Creator="Frans Englich">
-         <description last-mod="2007-12-27">Contains the codepoint 188 in an NCName.</description>
-      </source>
-      <source ID="NamespaceSuppliedInternally"
-              FileName="TestSources/NamespaceSuppliedInternally.xml"
-              Creator="Frans Englich">
-         <description last-mod="2007-12-27">A namespace declared with a namespace declaration, as well as in the internal subset.</description>
-      </source>
-      <source ID="XMLIdDuplicated" FileName="TestSources/XMLIdDuplicated.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-01-15">An XML file which has two xml:id attributes with the same value.</description>
-      </source>
-      <source ID="InvalidXMLId" FileName="TestSources/InvalidXMLId.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-01-15">An XML file which has an invalid xml:id attribute.</description>
-      </source>
-      <source ID="UsingXMLId" FileName="TestSources/UsingXMLId.xml" Creator="Frans Englich">
-         <description last-mod="2008-01-15">An XML file which has xml:id attributes.</description>
-      </source>
-      <source ID="Books2" FileName="TestSources/Books2.xml" Creator="Frans Englich">
-         <description last-mod="2008-01-17">An XML which is in ISO-8859-1 encoding.</description>
-      </source>
-      <source ID="QObject" FileName="TestSources/QObject.xml" Creator="Frans Englich">
-         <description last-mod="2008-02-19"/>
-      </source>
-      <source ID="Char010D" FileName="TestSources/0x010D.xml" Creator="Frans Englich">
-         <description last-mod="2008-02-28"/>
-      </source>
-      <source ID="SmallTree" FileName="TestSources/SmallTree.xml" Creator="Frans Englich">
-         <description last-mod="2008-04-03"/>
-      </source>
-      <source ID="AttributesAndElements" FileName="TestSources/AttributesAndElements.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-04-03"/>
-      </source>
-      <source ID="functx_prices" FileName="TestSources/functx_prices.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-05-16"/>
-      </source>
-      <source ID="functx_order" FileName="TestSources/functx_order.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-05-16"/>
-      </source>
-      <source ID="functx_cats" FileName="TestSources/functx_cats.xml" Creator="Frans Englich">
-         <description last-mod="2008-05-16"/>
-      </source>
-      <source ID="functx_catalog" FileName="TestSources/functx_catalog.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-05-16"/>
-      </source>
-      <source ID="functx_book" FileName="TestSources/functx_book.xml" Creator="Frans Englich">
-         <description last-mod="2008-06-25"/>
-      </source>
-      <source ID="badxml" FileName="TestSources/badxml.xml" Creator="Frans Englich">
-         <description last-mod="2008-05-19"/>
-      </source>
-      <source ID="builtinEntities" FileName="TestSources/builtinEntities.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-05-26"/>
-      </source>
-      <source ID="XMLIdWhitespace" FileName="TestSources/XMLIdWhitespace.xml"
-              Creator="Frans Englich">
-         <description last-mod="2008-05-27"/>
-      </source>
-      <source ID="XMLIDMany" FileName="TestSources/XMLIDMany.xml" Creator="Frans Englich">
-         <description last-mod="2008-10-24"/>
-      </source>
-      <source ID="OneTopElement" FileName="TestSources/OneTopElement.xml" Creator="Nicolae Brinza">
-         <description last-mod="2009-04-01"/>
-      </source>
-      <source ID="namespace-sensitive" FileName="TestSources/namespace-sensitive.xml" schema="namespace-sensitive-schema" Creator="Oliver Hallam">
-        <description last-mod="2007-02-26">Document containing namespace-sensitive constructs.</description>
-      </source>
-      <source ID="dm-e005" FileName="TestSources/dm-e005.xml" schema="dm-e005-schema" Creator="Norm Walsh">
-        <description last-mod="2010-03-10">Document to test erratum DM.E05.</description>
-      </source>
-		  <source ID="extendedTypes" FileName="TestSources/extendedTypes.xml" schema="extendedTypes-schema" Creator="Oliver Hallam">
-			  <description last-mod="2010-03-17">Document containing elements with various restricted and extended types.</description>
-		  </source>
-		 	<source ID="mixed" FileName="TestSources/mixed.xml" schema="mixedcontent" Creator="Oliver Hallam">
-		 	 <description last-mod="2010-03-17">Document containing an element with mixed content but statically could have element only content.</description>
-	    </source>
-      <schema ID="XQTSCatalogxsd" uri="http://www.w3.org/2005/02/query-test-XQTSCatalog"
-              FileName="XQTSCatalog.xsd">
-         <description last-mod="2005-04-14">Schema for XQTSCatalog</description>
-      </schema>
-      <schema ID="atomicxsd" uri="http://www.w3.org/XQueryTest"
-              FileName="TestSources/atomic.xsd">
-         <description last-mod="2005-03-08">A Schema for atomic.xml</description>
-      </schema>
-      <schema ID="orderDataxsd" uri="http://www.w3.org/XQueryTestOrderBy"
-              FileName="TestSources/orderData.xsd">
-         <description last-mod="2005-06-01">A Schema for orderData.xml</description>
-      </schema>
-      <schema ID="SpecialTypesXSD" uri="http://www.example.com/typedecl"
-              FileName="TestSources/SpecialTypes.xsd">
-         <description last-mod="2005-06-01">A Schema containing certain special types e.g. interleave types, union types, anySimpleType</description>
-      </schema>
-      <schema ID="QNameSourceXSD" uri="http://www.example.com/QNameXSD"
-              FileName="TestSources/QName-schema.xsd">
-         <description last-mod="2005-09-28">A schema containing QName and QName derived types</description>
-      </schema>
-      <schema ID="notationschema" uri="http://www.example.com/notation"
-              FileName="TestSources/notationschema.xsd">
-         <description last-mod="2005-10-10">A Schema for NOTATION data</description>
-      </schema>
-      <schema ID="idxsd" uri="http://www.w3.org/XQueryTest/ididrefs"
-              FileName="TestSources/id.xsd">
-         <description last-mod="2009-03-06">A schema for the id/idref functions tests</description>
-      </schema>
-      <schema ID="simplexsd" uri="http://www.w3.org/XQueryTest/simple"
-              FileName="TestSources/simple.xsd">
-         <description last-mod="2005-12-07">A schema for simple context tests</description>
-      </schema>
-      <schema ID="examplesxsd" uri="http://www.w3.org/XQueryTest/someExamples"
-              FileName="TestSources/examples.xsd">
-         <description last-mod="2006-05-19">A schema for examples.xml.</description>
-      </schema>
-      <schema ID="userdefined" uri="http://www.w3.org/XQueryTest/userDefinedTypes"
-              FileName="TestSources/userdefined.xsd">
-         <description last-mod="2006-04-03">A schema user defined types and constructor tests</description>
-      </schema>
-      <schema ID="listunion" uri="http://www.w3.org/XQueryTest/ListUnionTypes"
-              FileName="TestSources/listunion.xsd">
-         <description last-mod="2006-06-07">A schema defining a list of unions.</description>
-      </schema>
-      <schema ID="examples2xsd" uri="http://www.w3.org/XQueryTest/someExamples2"
-              FileName="TestSources/examples2.xsd">
-         <description last-mod="2009-10-01">Test schema for Errata XQ.E6.</description>
-      </schema>
-      <schema ID="attribute" uri="http://www.w3.org/XQueryTest/sample"
-         FileName="TestSources/attribute.xsd">
-         <description last-mod="2009-04-01">Test schema that contains an attribute declaration.</description>
-      </schema>
-      <schema ID="mixedcontent" uri="http://www.w3.org/XQueryTest/mixedcontent"
-         FileName="TestSources/mixedcontent.xsd">
-         <description last-mod="2009-04-01">Test schema that contains two complex types, one of them with a mixed content.</description>
-      </schema>
-      <schema ID="simpleContent" uri="http://www.w3.org/query-test/complexSimple"
-              FileName="TestSources/simpleContent.xsd">
-         <description last-mod="2009-11-20">Schema for complex types with
-         simple content</description>
-      </schema>
-      <schema ID="namespace-sensitive-schema" uri="http://www.example.com/test/namespace-sensitive" FileName="TestSources/namespace-sensitive.xsd">
-         <description last-mod="2007-02-26">Schema illustrating various namespace-sensitive constructs.</description>
-      </schema>
-      <schema ID="dm-e005-schema" uri="http://www.example.com/ns/test" FileName="TestSources/dm-e005.xsd">
-         <description last-mod="2010-03-10">Schema to test erratum DM.E05.</description>
-      </schema>
-      <schema ID="xq-e18-schema" uri="http://www.example.com/ns/test/xq-e18" FileName="TestSources/xq-e18.xsd">
-         <description last-mod="2010-03-11">Schema to test erratum XQ.E18.</description>
-      </schema>
-			<schema ID="extendedTypes-schema" uri="http://www.example.com/XQueryTest/extendedTypes" FileName="TestSources/extendedTypes.xsd">
-				<description last-mod="2010-03-17">Schema containing extended and restricted types.</description>
-			</schema>
-			<schema ID="constraints" uri="http://www.w3.org/constraints" FileName="TestSources/constraints.xsd">
-				<description last-mod="2010-06-10">Schema with unique/id/idref constraints.</description>
-			</schema>
-      <collection ID="collection1" Creator="Andrew Eisenberg">
-         <description last-mod="2006-06-07">A simple collection of documents.</description>
-         <input-document>bib</input-document>
-         <input-document>reviews</input-document>
-      </collection>
-      <collection ID="collection2" Creator="Andrew Eisenberg">
-         <description last-mod="2006-06-07">A simple collection of documents.</description>
-         <input-document>bib</input-document>
-         <input-document>reviews</input-document>
-         <input-document>books</input-document>
-      </collection>
-      <module ID="module1-lib" FileName="TestSources/module1-lib" Creator="Carmelo Montanez">
-         <description last-mod="2006-07-13">Library module for "modules-18" query</description>
-      </module>
-      <module ID="module2-lib" FileName="TestSources/module2-lib" Creator="Carmelo Montanez">
-         <description last-mod="2006-07-13">Library module for "modules-18" query</description>
-      </module>
-      <module ID="empty-lib" FileName="TestSources/empty-lib" Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Library module for "modules-none" query</description>
-      </module>
-      <module ID="emptyns-lib" FileName="TestSources/emptyns-lib" Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Library module with empty namespace</description>
-      </module>
-      <module ID="test1-lib" FileName="TestSources/test1-lib" Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Simple library module</description>
-      </module>
-      <module ID="test2-lib" FileName="TestSources/test2-lib" Creator="Carmelo Montanez">
-         <description last-mod="2006-01-19">Library module with namespace URI set to empty string.</description>
-      </module>
-      <module ID="test1a-lib" FileName="TestSources/test1a-lib" Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Simple library module</description>
-      </module>
-      <module ID="test1collide1-lib" FileName="TestSources/test1collide1-lib"
-              Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Library module with colliding definitions</description>
-      </module>
-      <module ID="test1collide2-lib" FileName="TestSources/test1collide2-lib"
-              Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Library module with colliding definitions</description>
-      </module>
-      <module ID="test1c1-lib" FileName="TestSources/test1c1-lib" Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Library module with circular includes</description>
-      </module>
-      <module ID="test2c1-lib" FileName="TestSources/test2c1-lib" Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Library module with circular includes</description>
-      </module>
-      <module ID="context-lib" FileName="TestSources/context-lib" Creator="Mary Holstege">
-         <description last-mod="2005-12-05">Library module with interesting context</description>
-      </module>
-      <module ID="module-defs" FileName="TestSources/moduleDefs-lib"
-              Creator="Carmelo Montanez">
-         <description last-mod="2006-01-06">Library module with definitions for various NIST tests.</description>
-      </module>
-      <module ID="modulewrongprefix-lib" FileName="TestSources/moduleDefs-lib"
-              Creator="Carmelo Montanez">
-         <description last-mod="2006-03-21">Library module with invalid namespace prefix ("xml")</description>
-      </module>
-      <module ID="modulesdiffns" FileName="TestSources/modulesdiffns-lib"
-              Creator="Carmelo Montanez">
-         <description last-mod="2006-04-11">Library module with variable on different namespace than target.</description>
-      </module>
-      <module ID="errata6-module1" FileName="TestSources/errata6-module1" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-      </module>
-      <module ID="errata6-module2" FileName="TestSources/errata6-module2" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-      </module>
-      <module ID="errata6-module4" FileName="TestSources/errata6-module4" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-      </module>
-      <module ID="errata6-module5" FileName="TestSources/errata6-module5" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-      </module>
-      <module ID="errata6-module6" FileName="TestSources/errata6-module6" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-      </module>
-      <module ID="errata6-module7" FileName="TestSources/errata6-module7" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports a schema and uses types from it.</description>
-      </module>
-      <module ID="errata8-module1a" FileName="TestSources/errata8-module1a" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
-      </module>
-      <module ID="errata8-module1b" FileName="TestSources/errata8-module1b" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
-      </module>
-      <module ID="errata8-module2a" FileName="TestSources/errata8-module2a" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies.</description>
-      </module>
-      <module ID="errata8-module2b" FileName="TestSources/errata8-module2b" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies.</description>
-      </module>
-      <module ID="errata8-module3a" FileName="TestSources/errata8-module3a" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports another module and uses a variable from it, testing circular dependencies pass case.</description>
-      </module>
-      <module ID="errata8-module3b" FileName="TestSources/errata8-module3b" Creator="John Snelson">
-         <description last-mod="2009-10-01">Module that imports another module and uses a function from it, testing circular dependencies pass case.</description>
-      </module>
-      <module ID="module3-lib" FileName="TestSources/module3-lib" Creator="Nicolae Brinza">
-         <description last-mod="2009-04-01">Module with simple and schema-element() types, used for functions'parameters and return results.</description>
-      </module>
-      <module ID="module4-lib" FileName="TestSources/module4-lib" Creator="Nicolae Brinza">
-         <description last-mod="2009-04-01">Module with schema-attribute() types, used for functions' parameters and return results.</description>
-      </module>
-      <module ID="modules-recursive1" FileName="TestSources/modules-recursive1" Creator="Nicolae Brinza">
-         <description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
-      </module>
-      <module ID="modules-recursive2" FileName="TestSources/modules-recursive2" Creator="Nicolae Brinza">
-         <description last-mod="2009-04-01">Module with cyclic recursive imports.</description>
-      </module>
-      <module ID="module-pub-priv" FileName="TestSources/module-pub-priv" Creator="Michael Kay">
-         <description last-mod="2009-10-01">Module that contains both private and public function declarations (XQuery 1.1).</description>
-      </module>
-   </sources>
-   <implementation-defined-items>
-      <implementation-defined-item name="expressionUnicode" spec="XQuery">
-         <description last-mod="2005-04-04">The version of Unicode that is used to construct expressions.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="collations" spec="XQuery">
-         <description last-mod="2005-04-04">The statically-known collations.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="implicitTimezone" spec="XQuery">
-         <description last-mod="2005-04-04">The implicit timezone.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="warningsMethod" spec="XQuery">
-         <description last-mod="2005-04-04">The circumstances in which warnings are raised, and the ways in which warnings are handled.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="errorsMethod" spec="XQuery">
-         <description last-mod="2005-04-04">The method by which errors are reported to the external processing environment.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="XMLVersion" spec="XQuery">
-         <description last-mod="2005-10-10">Whether the implementation is based on the rules of [XML 1.0] and [XML Names] or the rules of [XML 1.1] and [XML Names 1.1]. One of these sets of rules must be applied consistently by all aspects of the implementation.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="overwrittenContextComponents" spec="XQuery">
-         <description last-mod="2005-04-04">Any components of the static context or dynamic context that are overwritten or augmented by the implementation.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="axes" spec="XQuery">
-         <description last-mod="2005-04-04">Which of the optional axes are supported by the implementation, if the Full-Axis Feature is not supported.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="defaultOrderEmpty" spec="XQuery">
-         <description last-mod="2005-04-04">The default handling of empty sequences returned by an ordering key (sortspec) in an order by clause (empty least or empty greatest).</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="pragmas" spec="XQuery">
-         <description last-mod="2005-04-04">The names and semantics of any extension expressions (pragmas) recognized by the implementation.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="optionDeclarations" spec="XQuery">
-         <description last-mod="2005-04-04">The names and semantics of any option declarations recognized by the implementation.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="externalFunctionProtocols" spec="XQuery">
-         <description last-mod="2005-04-04">Protocols (if any) by which parameters can be passed to an external function, and the result of the function can returned to the invoking query.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="moduleLocationHints" spec="XQuery">
-         <description last-mod="2005-11-01">The process by which the specific modules to be imported by a module import are identified, if the Module Feature is supported (includes processing of location hints, if any.)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="staticTypingExtensions" spec="XQuery">
-         <description last-mod="2005-04-04">Any static typing extensions supported by the implementation, if the Static Typing Feature is supported.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="serializationInvocation" spec="XQuery">
-         <description last-mod="2005-04-04">The means by which serialization is invoked, if the Serialization Feature is supported.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="serializationDefaults" spec="XQuery">
-         <description last-mod="2005-10-10">The default values for the byte-order-mark, encoding, media-type, normalization-form, omit-xml-declaration, standalone, and version parameters, if the Serialization Feature is supported.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="externalFunctionCall" spec="XQuery">
-         <description last-mod="2006-08-09">The result of an unsuccessful call to an external function (for example, if the function implementation cannot be found or does not return a value of the declared type).</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="limits" spec="XQuery">
-         <description last-mod="2005-11-01">Limits on ranges of values for various data types, as enumerated in 5.3 Data Model Conformance.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="traceDestination" spec="FuncOps">
-         <description last-mod="2005-10-10">The destination of the trace output is implementation-defined. See 4 The Trace Function.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="integerOperations" spec="FuncOps">
-         <description last-mod="2005-10-10">For xs:integer operations, implementations that support limited-precision integer operations must either raise an error [err:FOAR0002] or provide an implementation-defined mechanism that allows users to choose between raising an error and returning a result that is modulo the largest representable integer value. See 6.2 Operators on Numeric Values.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="decimalDigits" spec="FuncOps">
-         <description last-mod="2005-11-01">For xs:decimal values the number of digits of precision returned by the numeric operators is implementation-defined. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="roundOrTruncate" spec="FuncOps">
-         <description last-mod="2005-10-10">If the number of digits in the result exceeds the number of digits that the implementation supports, the result is truncated or rounded in an implementation-defined manner. See 6.2 Operators on Numeric Values. See also 17.1.3.3 Casting to xs:decimal and 17.1.3.4 Casting to xs:integer.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="Unicode" spec="FuncOps">
-         <description last-mod="2005-11-01">It is implementation-defined which version of Unicode is supported by the features defined in this specification, but it is recommended that the most recent version of Unicode be used. See 7.1 String Types.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="normalizationForms" spec="FuncOps">
-         <description last-mod="2005-10-10">For 7.4.6 fn:normalize-unicode, conforming implementations must support normalization form "NFC" and may support normalization forms "NFD", "NFKC", "NFKD", "FULLY-NORMALIZED". They may also support other normalization forms with implementation-defined semantics.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="collationUnits" spec="FuncOps">
-         <description last-mod="2005-10-10">The ability to decompose strings into collation units suitable for substring matching is an implementation-defined property of a collation. See 7.5 Functions Based on Substring Matching.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="secondsDigits" spec="FuncOps">
-         <description last-mod="2005-10-10">All minimally conforming processors must support year values with a minimum of 4 digits (i.e., YYYY) and a minimum fractional second precision of 1 millisecond or three digits (i.e., s.sss). However, conforming processors may set larger implementation-defined limits on the maximum number of digits they support in these two situations. See 10.1.1 Limits and Precision.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="stringToDecimal" spec="FuncOps">
-         <description last-mod="2006-08-09">The result of casting a string to xs:decimal, when the resulting value is not too large or too small but nevertheless has too many decimal digits to be accurately represented, is implementation-defined. See 17.1.1 Casting from xs:string and xs:untypedAtomic.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="docProcessing" spec="FuncOps">
-         <description last-mod="2005-10-10">Various aspects of the processing provided by 15.5.4 fn:doc are implementation-defined. Implementations may provide external configuration options that allow any aspect of the processing to be controlled by the user.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="weakenStable" spec="FuncOps">
-         <description last-mod="2006-08-09">The manner in which implementations provide options to weaken the stable characteristic of 15.5.6 fn:collection and 15.5.4 fn:doc are implementation-defined.</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="additionalTypes" spec="DataModel">
-         <description last-mod="2005-04-04">Support for additional user-defined or implementation-defined types is implementation-defined. (See 2.6.1 Representation of Types)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="undefinedProperties" spec="DataModel">
-         <description last-mod="2005-04-04">Some typed values in the data model are undefined. Attempting to access an undefined property is always an error. Behavior in these cases is implementation-defined and the host language is responsible for determining the result. (See 5 Accessors)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="sequenceNormalization" spec="Serialization">
-         <description last-mod="2005-04-04">For any implementation-defined output method, it is implementation-defined whether sequence normalization process takes place. (See 2 Sequence Normalization)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="outputMethods" spec="Serialization">
-         <description last-mod="2005-04-04">If the namespace URI is non-null for the method serialization parameter, then the parameter specifies an implementation-defined output method. (See 3 Serialization Parameters)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="normalizationFormBehavior" spec="Serialization">
-         <description last-mod="2005-04-04">If the value of the normalization-form form parameter is not NFC, NFD, NFKC, NFKD, fully-normalized, or none then the meaning of the value and it's effect is implementation-defined. (See 4 Phases of Serialization)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="additionalParams" spec="Serialization">
-         <description last-mod="2005-11-01">The effect of additional serialization parameters on the output of the serializer, where the name of such a parameter must be namespace-qualified, is implementation-defined or implementation-dependent. The extent of this effect on the output must not override the provisions of this specification. (See 3 Serialization Parameters)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="encodingPhase" spec="Serialization">
-         <description last-mod="2005-04-04">The effect of providing an option that allows the encoding phase to be skipped, so that the result of serialization is a stream of Unicode characters, is implementation-defined. The serializer is not required to support such an option. (See 4 Phases of Serialization)</description>
-      </implementation-defined-item>
-      <implementation-defined-item name="CDATASerialization" spec="Serialization">
-         <description last-mod="2005-04-04">An serializer may provide an implementation-defined mechanism to place CDATA sections in the result tree. (See 5.1.4 XML Output Method: the cdata-section-elements Parameter)</description>
-      </implementation-defined-item>
-   </implementation-defined-items>
-   <features>
-      <feature name="Minimal Conformance"/>
-      <feature name="Schema Import"/>
-      <feature name="Schema Validation"/>
-      <feature name="Static Typing"/>
-      <feature name="Static Typing Extensions"/>
-      <feature name="Full Axis"/>
-      <feature name="Module"/>
-      <feature name="Serialization"/>
-   </features>
-   <context-properties>
-      <context-property name="Statically known namespaces" context-type="static"/>
-      <context-property name="Default element/type namespace" context-type="static"/>
-      <context-property name="Default function namespace" context-type="static"/>
-      <context-property name="In-scope schema types" context-type="static"/>
-      <context-property name="In-scope element declarations" context-type="static"/>
-      <context-property name="In-scope attribute declarations" context-type="static"/>
-      <context-property name="In-scope variables" context-type="static"/>
-      <context-property name="Context item static type" context-type="static"/>
-      <context-property name="Function signatures" context-type="static"/>
-      <context-property name="Statically known collations" context-type="static"/>
-      <context-property name="Default collation" context-type="static"/>
-      <context-property name="Construction mode" context-type="static"/>
-      <context-property name="Ordering mode" context-type="static"/>
-      <context-property name="Default order for empty sequences" context-type="static"/>
-      <context-property name="Boundary-space policy" context-type="static"/>
-      <context-property name="Copy-namespaces mode" context-type="static"/>
-      <context-property name="Base URI" context-type="static"/>
-      <context-property name="Statically known documents" context-type="static"/>
-      <context-property name="Statically known collections" context-type="static"/>
-      <context-property name="Statically known default collection type" context-type="static"/>
-      <context-property name="Context item" context-type="dynamic"/>
-      <context-property name="Context position" context-type="dynamic"/>
-      <context-property name="Context size" context-type="dynamic"/>
-      <context-property name="Variable values" context-type="dynamic"/>
-      <context-property name="Function implementations" context-type="dynamic"/>
-      <context-property name="Current dateTime" context-type="dynamic"/>
-      <context-property name="Implicit timezone" context-type="dynamic"/>
-      <context-property name="Available documents" context-type="dynamic"/>
-      <context-property name="Available collections" context-type="dynamic"/>
-      <context-property name="Default collection" context-type="dynamic"/>
-   </context-properties>
-   <test-group name="AggregatePartitionQueries" featureOwner="Preston Carman">
-      <GroupInfo>
-         <title>Aggregate Partition Queries</title>
-         <description/>
-      </GroupInfo>
-      <test-group name="AggregateParallelExecutionTests" featureOwner="Preston Carman">
-         <GroupInfo>
-            <title>Aggregate Parallel Execution Tests</title>
-            <description/>
-         </GroupInfo>
-         &AggregatePartition1Queries;
-         &AggregatePartition2Queries;
-         &AggregatePartition4Queries;
-      </test-group>
-   </test-group>
-   <test-group name="GhcndPartitionQueries" featureOwner="Preston Carman">
-      <GroupInfo>
-         <title>GHCND Partition Queries</title>
-         <description/>
-      </GroupInfo>
-      <test-group name="ParallelExecutionTests" featureOwner="Preston Carman">
-         <GroupInfo>
-            <title>Parallel Execution Tests</title>
-            <description/>
-         </GroupInfo>
-         &GhcndPartition1Queries;
-         &GhcndPartition2Queries;
-         &GhcndPartition4Queries;
-      </test-group>
-   </test-group>
-   <test-group name="GhcndCountPartitionQueries" featureOwner="Preston Carman">
-      <GroupInfo>
-         <title>GHCND Count Partition Queries</title>
-         <description/>
-      </GroupInfo>
-      <test-group name="CountParallelExecutionTests" featureOwner="Preston Carman">
-         <GroupInfo>
-            <title>Parallel Execution Tests</title>
-            <description/>
-         </GroupInfo>
-         &GhcndCountPartition1Queries;
-         &GhcndCountPartition2Queries;
-         &GhcndCountPartition4Queries;
-      </test-group>
-   </test-group>
-   <test-group name="GhcndRecordsPartitionQueries" featureOwner="Preston Carman">
-      <GroupInfo>
-         <title>GHCND Records Partition Queries</title>
-         <description/>
-      </GroupInfo>
-      <test-group name="RecordsParallelExecutionTests" featureOwner="Preston Carman">
-         <GroupInfo>
-            <title>Records Parallel Execution Tests</title>
-            <description/>
-         </GroupInfo>
-         &GhcndRecordsPartition1Queries;
-         &GhcndRecordsPartition2Queries;
-         &GhcndRecordsPartition4Queries;
-      </test-group>
-   </test-group>
-</test-suite>


[7/9] Updated the testing resources.

Posted by pr...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/AggregatePartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/AggregatePartition4Queries.xml b/vxquery-xtest/src/tests/resources/cat/AggregatePartition4Queries.xml
new file mode 100644
index 0000000..d920d31
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/AggregatePartition4Queries.xml
@@ -0,0 +1,36 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="AggregatePartition4Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>Aggregate Partition 4</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="aggregate-partition-4-avg" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 4 partition.</description>
+      <query name="avg" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">avg.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-4-count" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 4 partition.</description>
+      <query name="count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-4-min" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 4 partition.</description>
+      <query name="min" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">min.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-4-max" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 4 partition.</description>
+      <query name="max" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">max.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="aggregate-partition-4-sum" FilePath="Aggregate/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 4 partition.</description>
+      <query name="sum" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">sum.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition1Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition1Queries.xml
new file mode 100644
index 0000000..515738e
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition1Queries.xml
@@ -0,0 +1,30 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndCountPartition1Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Count Partition 1</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q02" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
+      <query name="q02_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q03" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 1 partition.</description>
+      <query name="q03_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q05" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 1 partition.</description>
+      <query name="q05_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-1-q07" FilePath="GhcndCount/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 1 partition.</description>
+      <query name="q07_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07_count.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition2Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition2Queries.xml
new file mode 100644
index 0000000..8bb590b
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition2Queries.xml
@@ -0,0 +1,30 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndCountPartition2Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Count Partition 2</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q02" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 2 partitions.</description>
+      <query name="q02_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q03" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 2 partitions.</description>
+      <query name="q03_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q05" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 2 partitions.</description>
+      <query name="q05_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-2-q07" FilePath="GhcndCount/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 2 partitions.</description>
+      <query name="q07_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07_count.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition4Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition4Queries.xml
new file mode 100644
index 0000000..ff75d3a
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndCountPartition4Queries.xml
@@ -0,0 +1,30 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndCountPartition4Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Count Partition 4</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q02" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 4 partitions.</description>
+      <query name="q02_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q03" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 4 partitions.</description>
+      <query name="q03_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q05" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 4 partitions.</description>
+      <query name="q05_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05_count.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-count-partition-4-q07" FilePath="GhcndCount/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 4 partitions.</description>
+      <query name="q07_count" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07_count.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndPartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndPartition1Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndPartition1Queries.xml
new file mode 100644
index 0000000..1237971
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndPartition1Queries.xml
@@ -0,0 +1,54 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndPartition1Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Partition 1</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q00" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q00 from the weather benchmark with 1 partition.</description>
+      <query name="q00" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q00.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q01" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q01 from the weather benchmark with 1 partition.</description>
+      <query name="q01" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q01.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q02" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q02 from the weather benchmark with 1 partition.</description>
+      <query name="q02" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q03" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q03 from the weather benchmark with 1 partition.</description>
+      <query name="q03" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q04" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q04 from the weather benchmark with 1 partition.</description>
+      <query name="q04" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q04.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q05" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q05 from the weather benchmark with 1 partition.</description>
+      <query name="q05" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q06" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q06 from the weather benchmark with 1 partition.</description>
+      <query name="q06" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q06.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-1-q07" FilePath="Ghcnd/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q07 from the weather benchmark with 1 partition.</description>
+      <query name="q07" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndPartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndPartition2Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndPartition2Queries.xml
new file mode 100644
index 0000000..86b5cf0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndPartition2Queries.xml
@@ -0,0 +1,54 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndPartition1Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Partition 1</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q00" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q00 from the weather benchmark with 2 partitions.</description>
+      <query name="q00" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q00.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q01" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q01 from the weather benchmark with 2 partitions.</description>
+      <query name="q01" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q01.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q02" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q02 from the weather benchmark with 2 partitions.</description>
+      <query name="q02" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q03" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q03 from the weather benchmark with 2 partitions.</description>
+      <query name="q03" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q04" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q04 from the weather benchmark with 2 partitions.</description>
+      <query name="q04" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q04.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q05" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q05 from the weather benchmark with 2 partitions.</description>
+      <query name="q05" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q06" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q06 from the weather benchmark with 2 partitions.</description>
+      <query name="q06" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q06.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-2-q07" FilePath="Ghcnd/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q07 from the weather benchmark with 2 partitions.</description>
+      <query name="q07" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndPartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndPartition4Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndPartition4Queries.xml
new file mode 100644
index 0000000..232a7b0
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndPartition4Queries.xml
@@ -0,0 +1,54 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndPartition4Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Partition 4</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q00" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q00 from the weather benchmark with 4 partitions.</description>
+      <query name="q00" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q00.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q01" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q01 from the weather benchmark with 4 partitions.</description>
+      <query name="q01" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q01.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q02" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q02 from the weather benchmark with 4 partitions.</description>
+      <query name="q02" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q03" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q03 from the weather benchmark with 4 partitions.</description>
+      <query name="q03" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q04" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q04 from the weather benchmark with 4 partitions.</description>
+      <query name="q04" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q04.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q05" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q05 from the weather benchmark with 4 partitions.</description>
+      <query name="q05" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q06" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q06 from the weather benchmark with 4 partitions.</description>
+      <query name="q06" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q06.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-partition-4-q07" FilePath="Ghcnd/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Execution of q07 from the weather benchmark with 4 partitions.</description>
+      <query name="q07" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition1Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition1Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition1Queries.xml
new file mode 100644
index 0000000..0c22422
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition1Queries.xml
@@ -0,0 +1,30 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndRecordsPartition1Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Records Partition 1</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q02" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 1 partition.</description>
+      <query name="q02_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q03" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 1 partition.</description>
+      <query name="q03_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q05" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 1 partition.</description>
+      <query name="q05_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-1-q07" FilePath="GhcndRecords/Partition-1/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 1 partition.</description>
+      <query name="q07_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07_records.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition2Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition2Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition2Queries.xml
new file mode 100644
index 0000000..929ff28
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition2Queries.xml
@@ -0,0 +1,30 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndRecordsPartition2Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Records Partition 2</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q02" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 2 partitions.</description>
+      <query name="q02_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q03" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 2 partitions.</description>
+      <query name="q03_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q05" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 2 partitions.</description>
+      <query name="q05_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-2-q07" FilePath="GhcndRecords/Partition-2/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 2 partitions.</description>
+      <query name="q07_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07_records.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition4Queries.xml
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition4Queries.xml b/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition4Queries.xml
new file mode 100644
index 0000000..03eea78
--- /dev/null
+++ b/vxquery-xtest/src/tests/resources/cat/GhcndRecordsPartition4Queries.xml
@@ -0,0 +1,30 @@
+<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="GhcndRecordsPartition4Queries" featureOwner="VXQuery">
+   <GroupInfo>
+      <title>GHCND Records Partition 4</title>
+      <description/>
+   </GroupInfo>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q02" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q02 from the weather benchmark with 4 partitions.</description>
+      <query name="q02_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q02_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q03" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q03 from the weather benchmark with 4 partitions.</description>
+      <query name="q03_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q03_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q05" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q05 from the weather benchmark with 4 partitions.</description>
+      <query name="q05_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q05_records.txt</output-file>
+   </test-case>
+   <test-case is-XPath2="true" name="ghcnd-records-partition-4-q07" FilePath="GhcndRecords/Partition-4/" scenario="runtime-error" Creator="Preston Carman">
+      <description>Count records returned for q07 from the weather benchmark with 4 partitions.</description>
+      <query name="q07_records" date="2014-04-01"/>
+      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
+      <output-file role="principal" compare="Text">q07_records.txt</output-file>
+   </test-case>
+</test-group>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/avg.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/avg.txt
deleted file mode 100644
index 7ef6ffe..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/avg.txt
+++ /dev/null
@@ -1 +0,0 @@
-12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/count.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/count.txt
deleted file mode 100644
index d8263ee..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/count.txt
+++ /dev/null
@@ -1 +0,0 @@
-2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/max.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/max.txt
deleted file mode 100644
index dc7b54a..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/max.txt
+++ /dev/null
@@ -1 +0,0 @@
-33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/min.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/min.txt
deleted file mode 100644
index ea1acb6..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/min.txt
+++ /dev/null
@@ -1 +0,0 @@
-11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/sum.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/sum.txt
deleted file mode 100644
index 2b82dfe..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-1/sum.txt
+++ /dev/null
@@ -1 +0,0 @@
-60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/avg.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/avg.txt
deleted file mode 100644
index 7ef6ffe..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/avg.txt
+++ /dev/null
@@ -1 +0,0 @@
-12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/count.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/count.txt
deleted file mode 100644
index d8263ee..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/count.txt
+++ /dev/null
@@ -1 +0,0 @@
-2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/max.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/max.txt
deleted file mode 100644
index dc7b54a..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/max.txt
+++ /dev/null
@@ -1 +0,0 @@
-33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/min.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/min.txt
deleted file mode 100644
index ea1acb6..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/min.txt
+++ /dev/null
@@ -1 +0,0 @@
-11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/sum.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/sum.txt
deleted file mode 100644
index 2b82dfe..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-2/sum.txt
+++ /dev/null
@@ -1 +0,0 @@
-60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/avg.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/avg.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/avg.txt
deleted file mode 100644
index 7ef6ffe..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/avg.txt
+++ /dev/null
@@ -1 +0,0 @@
-12.5
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/count.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/count.txt
deleted file mode 100644
index d8263ee..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/count.txt
+++ /dev/null
@@ -1 +0,0 @@
-2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/max.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/max.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/max.txt
deleted file mode 100644
index dc7b54a..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/max.txt
+++ /dev/null
@@ -1 +0,0 @@
-33
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/min.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/min.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/min.txt
deleted file mode 100644
index ea1acb6..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/min.txt
+++ /dev/null
@@ -1 +0,0 @@
-11.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/sum.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/sum.txt b/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/sum.txt
deleted file mode 100644
index 2b82dfe..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Aggregate/Partition-4/sum.txt
+++ /dev/null
@@ -1 +0,0 @@
-60
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q00.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
deleted file mode 100644
index e6116d0..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q00.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q01.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
deleted file mode 100644
index ff4bc9b..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q01.txt
+++ /dev/null
@@ -1 +0,0 @@
-<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q02.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
deleted file mode 100644
index d8263ee..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q02.txt
+++ /dev/null
@@ -1 +0,0 @@
-2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q03.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
deleted file mode 100644
index f30101c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q03.txt
+++ /dev/null
@@ -1 +0,0 @@
-3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q04.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
deleted file mode 100644
index c5b9925..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q04.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q05.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
deleted file mode 100644
index 9f5aceb..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q05.txt
+++ /dev/null
@@ -1 +0,0 @@
-1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q06.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
deleted file mode 100644
index ca942fc..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q06.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<displayName>Station 2</displayName>
-<date>2002-02-02T00:00:00.000</date>
-<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q07.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
deleted file mode 100644
index bfda7af..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-1/q07.txt
+++ /dev/null
@@ -1 +0,0 @@
-1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q00.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
deleted file mode 100644
index e6116d0..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q00.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q01.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
deleted file mode 100644
index ff4bc9b..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q01.txt
+++ /dev/null
@@ -1 +0,0 @@
-<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q02.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
deleted file mode 100644
index d8263ee..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q02.txt
+++ /dev/null
@@ -1 +0,0 @@
-2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q03.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
deleted file mode 100644
index f30101c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q03.txt
+++ /dev/null
@@ -1 +0,0 @@
-3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q04.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
deleted file mode 100644
index c5b9925..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q04.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q05.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
deleted file mode 100644
index 9f5aceb..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q05.txt
+++ /dev/null
@@ -1 +0,0 @@
-1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q06.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
deleted file mode 100644
index ca942fc..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q06.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<displayName>Station 2</displayName>
-<date>2002-02-02T00:00:00.000</date>
-<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q07.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
deleted file mode 100644
index bfda7af..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-2/q07.txt
+++ /dev/null
@@ -1 +0,0 @@
-1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q00.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
deleted file mode 100644
index e6116d0..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q00.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-<data><date>2003-03-03T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:AS000000003</station><value>13.75</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2003-03-03T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:AS000000003</station><value>33</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q01.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
deleted file mode 100644
index ff4bc9b..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q01.txt
+++ /dev/null
@@ -1 +0,0 @@
-<data><date>2001-01-01T00:00:00.000</date><dataType>AWND</dataType><station>GHCND:US000000001</station><value>1000</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q02.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
deleted file mode 100644
index d8263ee..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q02.txt
+++ /dev/null
@@ -1 +0,0 @@
-2
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q03.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
deleted file mode 100644
index f30101c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q03.txt
+++ /dev/null
@@ -1 +0,0 @@
-3.3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q04.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
deleted file mode 100644
index c5b9925..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q04.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<data><date>2002-02-02T00:00:00.000</date><dataType>TMIN</dataType><station>GHCND:US000000002</station><value>12.5</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2002-02-02T00:00:00.000</date><dataType>TMAX</dataType><station>GHCND:US000000002</station><value>32</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
-<data><date>2002-02-02T00:00:00.000</date><dataType>PRCP</dataType><station>GHCND:US000000002</station><value>20</value><attributes><attribute></attribute><attribute></attribute><attribute>a</attribute><attribute></attribute></attributes></data>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q05.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
deleted file mode 100644
index 9f5aceb..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q05.txt
+++ /dev/null
@@ -1 +0,0 @@
-1.125
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q06.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
deleted file mode 100644
index ca942fc..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q06.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<displayName>Station 2</displayName>
-<date>2002-02-02T00:00:00.000</date>
-<value>32</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q07.txt b/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
deleted file mode 100644
index bfda7af..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/Ghcnd/Partition-4/q07.txt
+++ /dev/null
@@ -1 +0,0 @@
-1.95
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
deleted file mode 100644
index 56a6051..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q02_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
deleted file mode 100644
index e440e5c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q03_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
deleted file mode 100644
index 56a6051..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q05_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
deleted file mode 100644
index e440e5c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-1/q07_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
deleted file mode 100644
index 56a6051..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q02_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
deleted file mode 100644
index e440e5c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q03_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
deleted file mode 100644
index 56a6051..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q05_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
deleted file mode 100644
index e440e5c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-2/q07_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
deleted file mode 100644
index 56a6051..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q02_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
deleted file mode 100644
index e440e5c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q03_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
deleted file mode 100644
index 56a6051..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q05_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
deleted file mode 100644
index e440e5c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndCount/Partition-4/q07_count.txt
+++ /dev/null
@@ -1 +0,0 @@
-3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
deleted file mode 100644
index a533a86..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q02_records.txt
+++ /dev/null
@@ -1 +0,0 @@
-<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
deleted file mode 100644
index 8d77b4d..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q03_records.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<value>31</value>
-<value>32</value>
-<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
deleted file mode 100644
index 802ab3c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q05_records.txt
+++ /dev/null
@@ -1 +0,0 @@
-<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
deleted file mode 100644
index fdd1637..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-1/q07_records.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-19.75
-19.5
-19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
deleted file mode 100644
index a533a86..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q02_records.txt
+++ /dev/null
@@ -1 +0,0 @@
-<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
deleted file mode 100644
index 8d77b4d..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q03_records.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<value>31</value>
-<value>32</value>
-<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
deleted file mode 100644
index 802ab3c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q05_records.txt
+++ /dev/null
@@ -1 +0,0 @@
-<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
deleted file mode 100644
index fdd1637..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-2/q07_records.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-19.75
-19.5
-19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
deleted file mode 100644
index a533a86..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q02_records.txt
+++ /dev/null
@@ -1 +0,0 @@
-<value>20</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
deleted file mode 100644
index 8d77b4d..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q03_records.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-<value>31</value>
-<value>32</value>
-<value>33</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
deleted file mode 100644
index 802ab3c..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q05_records.txt
+++ /dev/null
@@ -1 +0,0 @@
-<value>11.25</value>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt b/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
deleted file mode 100644
index fdd1637..0000000
--- a/vxquery-xtest/tests/ExpectedTestResults/GhcndRecords/Partition-4/q07_records.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-19.75
-19.5
-19.25
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/avg.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/avg.xq
deleted file mode 100644
index 12cfc02..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/avg.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the average minimum temperature.                                            :)
-fn:avg(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMIN" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/count.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/count.xq
deleted file mode 100644
index 3a2609b..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/count.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the number of wind sensor readings.                                            :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "AWND" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/max.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/max.xq
deleted file mode 100644
index 161b409..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/max.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest max temperature.                                            :)
-fn:max(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/min.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/min.xq
deleted file mode 100644
index 0a135d1..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/min.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the lowest min temperature.                                            :)
-fn:min(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMIN" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/sum.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/sum.xq
deleted file mode 100644
index 91a2c4c..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-1/sum.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the total precipitation.                                            :)
-fn:sum(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "PRCP" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/avg.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/avg.xq
deleted file mode 100644
index 864fdb9..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/avg.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the average minimum temperature.                                            :)
-fn:avg(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMIN" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/count.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/count.xq
deleted file mode 100644
index 3ad16b6..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/count.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the number of wind sensor readings.                                            :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "AWND" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/max.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/max.xq
deleted file mode 100644
index 82b1061..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/max.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest max temperature.                                            :)
-fn:max(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/min.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/min.xq
deleted file mode 100644
index d990aff..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/min.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the lowest min temperature.                                            :)
-fn:min(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMIN" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/sum.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/sum.xq
deleted file mode 100644
index 8c9bea9..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-2/sum.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the total precipitation.                                            :)
-fn:sum(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "PRCP" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/avg.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/avg.xq
deleted file mode 100644
index d50166d..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/avg.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the average minimum temperature.                                            :)
-fn:avg(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMIN" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/count.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/count.xq
deleted file mode 100644
index cebf3e6..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/count.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the number of wind sensor readings.                                            :)
-fn:count(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "AWND" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/max.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/max.xq
deleted file mode 100644
index ba4f771..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/max.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest max temperature.                                            :)
-fn:max(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMAX" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/min.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/min.xq
deleted file mode 100644
index b37f462..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/min.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the lowest min temperature.                                            :)
-fn:min(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "TMIN" 
-    return $r/value
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/16f26a65/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/sum.xq b/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/sum.xq
deleted file mode 100644
index c41c7b6..0000000
--- a/vxquery-xtest/tests/Queries/XQuery/Aggregate/Partition-4/sum.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the total precipitation.                                            :)
-fn:sum(
-    let $collection := "/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_1/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_1/quarter_2/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_3/|/Users/prestoncarman/Documents/smartsvn/vxquery_git_master/vxquery-xtest/tests/TestSources/ghcnd/half_2/quarter_4/"
-    for $r in collection($collection)/dataCollection/data
-    where $r/dataType eq "PRCP" 
-    return $r/value
-)
\ No newline at end of file