[Mulgara-svn] r336 - branches/java-1.6/jxdata/iTQL/data_types/dateTime
pag at mulgara.org
pag at mulgara.org
Sun Aug 5 01:59:27 UTC 2007
Author: pag
Date: 2007-08-04 20:59:27 -0500 (Sat, 04 Aug 2007)
New Revision: 336
Modified:
branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult17.txt
branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult18.txt
branches/java-1.6/jxdata/iTQL/data_types/dateTime/test.jxu
Log:
ordered output of queries so results will always be consistent
Modified: branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult17.txt
===================================================================
--- branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult17.txt 2007-08-05 01:58:49 UTC (rev 335)
+++ branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult17.txt 2007-08-05 01:59:27 UTC (rev 336)
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<answer xmlns="http://mulgara.org/tql#"><query><variables><dateTime/></variables><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.01</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.005</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.05</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00</dateTime></solution></query></answer>
+<answer xmlns="http://mulgara.org/tql#"><query><variables><dateTime/></variables><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.005</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.01</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.05</dateTime></solution></query></answer>
Modified: branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult18.txt
===================================================================
--- branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult18.txt 2007-08-05 01:58:49 UTC (rev 335)
+++ branches/java-1.6/jxdata/iTQL/data_types/dateTime/queryResult18.txt 2007-08-05 01:59:27 UTC (rev 336)
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<answer xmlns="http://mulgara.org/tql#"><query><variables><dateTime/></variables><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.01</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.005</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00</dateTime></solution></query></answer>
+<answer xmlns="http://mulgara.org/tql#"><query><variables><dateTime/></variables><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.005</dateTime></solution><solution><dateTime datatype="http://www.w3.org/2001/XMLSchema#dateTime">2005-01-01T12:17:00.01</dateTime></solution></query></answer>
Modified: branches/java-1.6/jxdata/iTQL/data_types/dateTime/test.jxu
===================================================================
--- branches/java-1.6/jxdata/iTQL/data_types/dateTime/test.jxu 2007-08-05 01:58:49 UTC (rev 335)
+++ branches/java-1.6/jxdata/iTQL/data_types/dateTime/test.jxu 2007-08-05 01:59:27 UTC (rev 336)
@@ -342,7 +342,8 @@
where $s <urn:test:foo> $dateTime
and $dateTime <http://mulgara.org/mulgara#after>
'2005-01-01T12:16:59'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
- <@server@#xsdmodel> ;
+ <@server@#xsdmodel>
+ order by $dateTime ;
"/>
<eval stepClass="org.mulgara.store.jxunit.QueryJX" />
@@ -358,7 +359,8 @@
where $s <urn:test:foo> $dateTime
and $dateTime <http://mulgara.org/mulgara#before>
'2005-01-01T12:17:00.04'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
- <@server@#xsdmodel> ;
+ <@server@#xsdmodel>
+ order by $dateTime ;
"/>
<eval stepClass="org.mulgara.store.jxunit.QueryJX" />
@@ -374,7 +376,8 @@
where $s <urn:test:foo> $dateTime
and $dateTime <http://mulgara.org/mulgara#after>
'2005-01-01T12:17:59.99'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
- <@server@#xsdmodel> ;
+ <@server@#xsdmodel>
+ order by $dateTime ;
"/>
<eval stepClass="org.mulgara.store.jxunit.QueryJX" />
@@ -393,7 +396,8 @@
<@server@#xsdmodel>
and $dateTime <http://mulgara.org/mulgara#before>
'2005-01-01T12:17:00.010'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
- <@server@#xsdmodel> ;
+ <@server@#xsdmodel>
+ order by $dateTime ;
"/>
<eval stepClass="org.mulgara.store.jxunit.QueryJX" />
@@ -412,7 +416,8 @@
<@server@#xsdmodel>
and $dateTime <http://mulgara.org/mulgara#before>
'2005-01-01T12:17:00.06'^^<http://www.w3.org/2001/XMLSchema#dateTime> in
- <@server@#xsdmodel> ;
+ <@server@#xsdmodel>
+ order by $dateTime ;
"/>
<eval stepClass="org.mulgara.store.jxunit.QueryJX" />
@@ -420,4 +425,4 @@
<save name="queryResult" file="badQuery21Result.xml"/>
<fail>Output failed. Check badQuery21Result.xml for output.</fail>
</ifEqual>
-</jxu>
\ No newline at end of file
+</jxu>
More information about the Mulgara-svn
mailing list