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

[3/3] git commit: add license headers

add license headers


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

Branch: refs/heads/westmann/licenses
Commit: afca3afe74a738a64b0d5d58108cf4e390e90624
Parents: 43e6daa
Author: Till Westmann <we...@gmail.com>
Authored: Tue Apr 8 16:31:09 2014 -0700
Committer: Till Westmann <we...@gmail.com>
Committed: Tue Apr 8 16:31:09 2014 -0700

----------------------------------------------------------------------
 .../resources/noaa-ghcn-daily/queries/q00.xq     | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/queries/q01.xq     | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/queries/q02.xq     | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/queries/q03.xq     | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/queries/q04.xq     | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q04_sensor.xq        | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q04_station.xq       | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/queries/q05.xq     | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q05_sensor.xq        | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q05_station.xq       | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/queries/q06.xq     | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q06_sensor.xq        | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q06_station.xq       | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/queries/q07.xq     | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q07_tmax.xq          | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/q07_tmin.xq          | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/sensor_count.xq      | 17 +++++++++++++++++
 .../noaa-ghcn-daily/queries/station_count.xq     | 17 +++++++++++++++++
 .../resources/noaa-ghcn-daily/scripts/README.md  | 17 +++++++++++++++++
 .../src/main/resources/util/README.md            | 17 +++++++++++++++++
 .../src/main/resources/util/vxquery_functions.xq | 17 +++++++++++++++++
 .../src/main/resources/util/vxquery_operators.xq | 17 +++++++++++++++++
 .../src/main/resources/scripts/README.md         | 17 +++++++++++++++++
 .../src/main/resources/scripts/startcc.sh        | 17 +++++++++++++++++
 .../src/main/resources/scripts/startnc.sh        | 17 +++++++++++++++++
 .../src/main/resources/scripts/stopcc.sh         | 17 +++++++++++++++++
 .../src/main/resources/scripts/stopnc.sh         | 17 +++++++++++++++++
 vxquery-xtest/results/README.md                  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-1/avg.xq  | 17 +++++++++++++++++
 .../XQuery/Aggregate/Partition-1/count.xq        | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-1/max.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-1/min.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-1/sum.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-2/avg.xq  | 17 +++++++++++++++++
 .../XQuery/Aggregate/Partition-2/count.xq        | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-2/max.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-2/min.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-2/sum.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-4/avg.xq  | 17 +++++++++++++++++
 .../XQuery/Aggregate/Partition-4/count.xq        | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-4/max.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-4/min.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Aggregate/Partition-4/sum.xq  | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q00.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q01.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q02.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q03.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q04.xq      | 17 +++++++++++++++++
 .../XQuery/Ghcnd/Partition-1/q04_sensors.xq      | 17 +++++++++++++++++
 .../XQuery/Ghcnd/Partition-1/q04_stations.xq     | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q05.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q06.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-1/q07.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q00.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q01.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q02.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q03.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q04.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q05.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q06.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-2/q07.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q00.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q01.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q02.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q03.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q04.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q05.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q06.xq      | 17 +++++++++++++++++
 .../Queries/XQuery/Ghcnd/Partition-4/q07.xq      | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-1/q02_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-1/q03_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-1/q05_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-1/q07_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-2/q02_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-2/q03_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-2/q05_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-2/q07_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-4/q02_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-4/q03_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-4/q05_count.xq   | 17 +++++++++++++++++
 .../XQuery/GhcndCount/Partition-4/q07_count.xq   | 17 +++++++++++++++++
 .../GhcndRecords/Partition-1/q02_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-1/q03_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-1/q05_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-1/q07_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-2/q02_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-2/q03_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-2/q05_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-2/q07_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-4/q02_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-4/q03_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-4/q05_records.xq      | 17 +++++++++++++++++
 .../GhcndRecords/Partition-4/q07_records.xq      | 17 +++++++++++++++++
 .../quarter_1/sensors/US000000001_200101_0.xml   | 19 ++++++++++++++++++-
 .../half_1/quarter_1/stations/US000000001.xml    | 19 ++++++++++++++++++-
 .../quarter_2/sensors/US000000002_200202_0.xml   | 19 ++++++++++++++++++-
 .../half_1/quarter_2/stations/US000000004.xml    | 19 ++++++++++++++++++-
 .../quarter_3/sensors/AS000000003_200303_0.xml   | 19 ++++++++++++++++++-
 .../half_2/quarter_3/stations/US000000002.xml    | 19 ++++++++++++++++++-
 .../quarter_4/sensors/US000000004_200404_0.xml   | 19 ++++++++++++++++++-
 .../half_2/quarter_4/stations/AS000000003.xml    | 19 ++++++++++++++++++-
 .../src/test/resources/VXQueryCatalog.xml        | 17 +++++++++++++++++
 .../resources/cat/AggregatePartition1Queries.xml | 17 +++++++++++++++++
 .../resources/cat/AggregatePartition2Queries.xml | 17 +++++++++++++++++
 .../resources/cat/AggregatePartition4Queries.xml | 17 +++++++++++++++++
 .../cat/GhcndCountPartition1Queries.xml          | 17 +++++++++++++++++
 .../cat/GhcndCountPartition2Queries.xml          | 17 +++++++++++++++++
 .../cat/GhcndCountPartition4Queries.xml          | 17 +++++++++++++++++
 .../resources/cat/GhcndPartition1Queries.xml     | 17 +++++++++++++++++
 .../resources/cat/GhcndPartition2Queries.xml     | 17 +++++++++++++++++
 .../resources/cat/GhcndPartition4Queries.xml     | 17 +++++++++++++++++
 .../cat/GhcndRecordsPartition1Queries.xml        | 17 +++++++++++++++++
 .../cat/GhcndRecordsPartition2Queries.xml        | 17 +++++++++++++++++
 .../cat/GhcndRecordsPartition4Queries.xml        | 17 +++++++++++++++++
 114 files changed, 1946 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q00.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q00.xq
index 527fa00..743f95a 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q00.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q00.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Filter Query :)
 (: See historical data for Riverside, CA (ASN00008113) station by selecting   :)
 (: the weather readings for December 25 over the last 10 years.               :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q01.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q01.xq
index 93bfbbb..0827c45 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q01.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q01.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: 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     :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q02.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q02.xq
index 88d25f3..cbe72da 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q02.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q02.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
 (: station (USW00024233) for 1999.                                            :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q03.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q03.xq
index 0b50c36..c58b0a3 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q03.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q03.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the highest recorded temperature (TMAX) in Celsius.                   :)
 fn:max(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04.xq
index 19d5093..5b7246d 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find all the weather readings for Washington state for a specific day    :)
 (: 1976/7/4.                                                                  :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_sensor.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_sensor.xq
index 7a94332..6c7810a 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_sensor.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_sensor.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Count all the weather sensor readings on 1976-07-04.                       :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_station.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_station.xq
index 100d2b3..18e627a 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_station.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_station.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Count all the weather stations for Washington state.                       :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05.xq
index 44db96d..c95f3f5 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Aggregate Query :)
 (: Find the lowest recorded temperature (TMIN) in the United States for     :)
 (: 2001.                                                                      :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_sensor.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_sensor.xq
index 5f96d1b..8548742 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_sensor.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_sensor.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Aggregate Query :)
 (: Count all sensor readings for TMIN in 2001.                                :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_station.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_station.xq
index ee26d88..6f3a6b8 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_station.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_station.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Aggregate Query :)
 (: Count all stations in the United States.                                 :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06.xq
index 573a3a3..5c8ed54 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find the highest recorded temperature (TMAX) for each station for each     :)
 (: day over the year 2000.                                                    :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_sensor.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_sensor.xq
index e8eb64a..1938151 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_sensor.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_sensor.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Count max temperature (TMAX) readings for 2000-01-01.                          :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_station.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_station.xq
index 6212016..3c1dc98 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_station.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_station.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Count all the stations.                                         :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07.xq
index d8eb815..5b1f2ac 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Self Join Query :)
 (: Self join with all stations finding the difference in min and max       :)
 (: temperature and get the average.                                        :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax.xq
index 43694ea..a48cad5 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find the all the records for TMAX.                                         :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin.xq
index 51db7c3..4a72d0f 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find the all the records for TMIN.                                         :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/sensor_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/sensor_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/sensor_count.xq
index b671d31..6fa981b 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/sensor_count.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/sensor_count.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Count all the weather sensor readings available.                           :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/station_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/station_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/station_count.xq
index 4f8a666..1958ec6 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/station_count.xq
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/station_count.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Count all the weather stations available.                                  :)
 count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/README.md
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/README.md b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/README.md
index 585f54f..58bea51 100644
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/README.md
+++ b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/README.md
@@ -1,3 +1,20 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
 Weather Data Conversion To XML
 =====================
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/util/README.md
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/util/README.md b/vxquery-benchmark/src/main/resources/util/README.md
index d7f47d0..8e2a204 100644
--- a/vxquery-benchmark/src/main/resources/util/README.md
+++ b/vxquery-benchmark/src/main/resources/util/README.md
@@ -1,3 +1,20 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
 Utilities for Benchmark Operations
 =====================
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/util/vxquery_functions.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/util/vxquery_functions.xq b/vxquery-benchmark/src/main/resources/util/vxquery_functions.xq
index 4f3a2d5..d0621eb 100644
--- a/vxquery-benchmark/src/main/resources/util/vxquery_functions.xq
+++ b/vxquery-benchmark/src/main/resources/util/vxquery_functions.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Function List :)
 (: VXQuery function list in csv with arguments and return types :)
 let $list := "../../../../../vxquery-core/src/main/java/org/apache/vxquery/functions/builtin-functions.xml"

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-benchmark/src/main/resources/util/vxquery_operators.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/util/vxquery_operators.xq b/vxquery-benchmark/src/main/resources/util/vxquery_operators.xq
index e7f7dd0..f485807 100644
--- a/vxquery-benchmark/src/main/resources/util/vxquery_operators.xq
+++ b/vxquery-benchmark/src/main/resources/util/vxquery_operators.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Function List :)
 (: VXQuery function list in csv with arguments and return types :)
 let $list := "../../../../../vxquery-core/src/main/java/org/apache/vxquery/functions/builtin-operators.xml"

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-server/src/main/resources/scripts/README.md
----------------------------------------------------------------------
diff --git a/vxquery-server/src/main/resources/scripts/README.md b/vxquery-server/src/main/resources/scripts/README.md
index 921e6ee..88eb2a9 100644
--- a/vxquery-server/src/main/resources/scripts/README.md
+++ b/vxquery-server/src/main/resources/scripts/README.md
@@ -1,3 +1,20 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
 Utilities for Cluster Operations
 =====================
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-server/src/main/resources/scripts/startcc.sh
----------------------------------------------------------------------
diff --git a/vxquery-server/src/main/resources/scripts/startcc.sh b/vxquery-server/src/main/resources/scripts/startcc.sh
old mode 100644
new mode 100755
index 56a9e12..68cfe35
--- a/vxquery-server/src/main/resources/scripts/startcc.sh
+++ b/vxquery-server/src/main/resources/scripts/startcc.sh
@@ -1,4 +1,21 @@
 #!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 hostname
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-server/src/main/resources/scripts/startnc.sh
----------------------------------------------------------------------
diff --git a/vxquery-server/src/main/resources/scripts/startnc.sh b/vxquery-server/src/main/resources/scripts/startnc.sh
old mode 100644
new mode 100755
index 8a1e5d4..c450188
--- a/vxquery-server/src/main/resources/scripts/startnc.sh
+++ b/vxquery-server/src/main/resources/scripts/startnc.sh
@@ -1,4 +1,21 @@
 #!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 hostname
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-server/src/main/resources/scripts/stopcc.sh
----------------------------------------------------------------------
diff --git a/vxquery-server/src/main/resources/scripts/stopcc.sh b/vxquery-server/src/main/resources/scripts/stopcc.sh
old mode 100644
new mode 100755
index 7759540..31e0ac9
--- a/vxquery-server/src/main/resources/scripts/stopcc.sh
+++ b/vxquery-server/src/main/resources/scripts/stopcc.sh
@@ -1,4 +1,21 @@
 #!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 hostname
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-server/src/main/resources/scripts/stopnc.sh
----------------------------------------------------------------------
diff --git a/vxquery-server/src/main/resources/scripts/stopnc.sh b/vxquery-server/src/main/resources/scripts/stopnc.sh
old mode 100644
new mode 100755
index 13b93a7..56ffc66
--- a/vxquery-server/src/main/resources/scripts/stopnc.sh
+++ b/vxquery-server/src/main/resources/scripts/stopnc.sh
@@ -1,4 +1,21 @@
 #!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
 
 hostname
 

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/results/README.md
----------------------------------------------------------------------
diff --git a/vxquery-xtest/results/README.md b/vxquery-xtest/results/README.md
index c620dc1..59e3a0a 100644
--- a/vxquery-xtest/results/README.md
+++ b/vxquery-xtest/results/README.md
@@ -1,3 +1,20 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
 = XQTS Text Results =
 
 The xqts.txt file holds the results from running the XQTS tests. The results

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
index c781bf1..1d1847c 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/avg.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the average minimum temperature.                                            :)
 fn:avg(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/count.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
index 673ce08..fbc1b2f 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/count.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the number of wind sensor readings.                                            :)
 fn:count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/max.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
index 37c44ad..8de59b4 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/max.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the highest max temperature.                                            :)
 fn:max(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/min.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
index a0ae3ff..a841d49 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/min.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the lowest min temperature.                                            :)
 fn:min(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
index 8837123..e769d0a 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-1/sum.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the total precipitation.                                            :)
 fn:sum(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
index 09fe30c..e78b5dc 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/avg.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the average minimum temperature.                                            :)
 fn:avg(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/count.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
index f1095fd..207c34e 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/count.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the number of wind sensor readings.                                            :)
 fn:count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/max.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
index 3f283cb..f0a695c 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/max.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the highest max temperature.                                            :)
 fn:max(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/min.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
index a702462..32acd1b 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/min.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the lowest min temperature.                                            :)
 fn:min(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
index ce0c562..9e05658 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-2/sum.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the total precipitation.                                            :)
 fn:sum(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
index 44a6112..c42f21c 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/avg.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the average minimum temperature.                                            :)
 fn:avg(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/count.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
index ab92c73..46709d0 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/count.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the number of wind sensor readings.                                            :)
 fn:count(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/max.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
index 1dd6f64..49a685c 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/max.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the highest max temperature.                                            :)
 fn:max(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/min.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
index 1d90584..02f6cba 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/min.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the lowest min temperature.                                            :)
 fn:min(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
index 77efe89..c1ee9ce 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Aggregate/Partition-4/sum.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the total precipitation.                                            :)
 fn:sum(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
index 80204c1..2094562 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q00.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Filter Query :)
 (: See historical data for Riverside, CA (AS000000003) station by selecting   :)
 (: the weather readings for December 25 over the last 10 years.               :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
index 95ec33f..0fed630 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q01.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: 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     :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
index c9afa04..c26d1b7 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q02.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the annual precipitation (PRCP) for a Seattle using the airport       :)
 (: station (US000000002) for 2002.                                            :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
index 96aea81..6b72fa4 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q03.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Aggregate Query :)
 (: Find the highest recorded temperature (TMAX) in Celsius.                   :)
 fn:max(

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
index 46e665f..8f5bbb8 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find all the weather readings for Washington state for a specific day    :)
 (: 2002-2-2.                                                                  :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
index 9f7b896..7805fa0 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_sensors.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find all the weather readings for Washington state for a specific day    :)
 (: 2002-2-2.                                                                  :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
index b8ae9e3..f7cd7ed 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q04_stations.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find all the weather readings for Washington state for a specific day    :)
 (: 2002-2-2.                                                                  :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq
index efaa1aa..7c0487f 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q05.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Aggregate Query :)
 (: Find the lowest recorded temperature (TMIN) in the United States for     :)
 (: 2001.                                                                      :)

http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/afca3afe/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq
index 930f78a..158c21b 100644
--- a/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq
+++ b/vxquery-xtest/src/test/resources/Queries/XQuery/Ghcnd/Partition-1/q06.xq
@@ -1,3 +1,20 @@
+(: Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License. :)
+
 (: XQuery Join Query :)
 (: Find the highest recorded temperature (TMAX) for each station for each     :)
 (: day over the year 2002.                                                    :)