|
From: <et...@us...> - 2011-05-09 22:45:27
|
Revision: 4330
http://mxquery.svn.sourceforge.net/mxquery/?rev=4330&view=rev
Author: etterth
Date: 2011-05-09 22:45:21 +0000 (Mon, 09 May 2011)
Log Message:
-----------
- Fixed IE9 XML bug (the IE8 functions were taken )
- Fixed asynchronous WeatherREST samples
Modified Paths:
--------------
trunk/MXQuery/xqib_samples/WeatherRESTasync.html
trunk/MXQuery/xqib_samples/WeatherRESTasyncSlow.html
trunk/MXQuery/xqib_samples/WeatherRESTasyncSlowCached.html
trunk/MXQuery/xqib_samples/WeatherRESTread.html
trunk/MXQuery/xqib_samples/timer.html
trunk/MXQuery/xqib_src/ch/ethz/mxquery.gwt.xml
Modified: trunk/MXQuery/xqib_samples/WeatherRESTasync.html
===================================================================
--- trunk/MXQuery/xqib_samples/WeatherRESTasync.html 2011-05-09 21:46:10 UTC (rev 4329)
+++ trunk/MXQuery/xqib_samples/WeatherRESTasync.html 2011-05-09 22:45:21 UTC (rev 4330)
@@ -44,8 +44,8 @@
};
declare updating function local:getWeather($loc, $evtObj) {
- http-client:async-request(xs:QName('local:weatherResult'),
- <http-client:request href="forecast2.xml" method="get"/>
+ http-client:async-request(<http-client:request href="forecast2.xml" method="get"/>,
+ xs:QName('local:weatherResult')
)
};
Modified: trunk/MXQuery/xqib_samples/WeatherRESTasyncSlow.html
===================================================================
--- trunk/MXQuery/xqib_samples/WeatherRESTasyncSlow.html 2011-05-09 21:46:10 UTC (rev 4329)
+++ trunk/MXQuery/xqib_samples/WeatherRESTasyncSlow.html 2011-05-09 22:45:21 UTC (rev 4330)
@@ -45,7 +45,7 @@
declare updating function local:getWeather($loc, $evtObj) {
(
- http-client:async-request(xs:QName('local:weatherResult'), <http-client:request href="http://n.ethz.ch/~etterth/slowserver.php?file=forecast2.xml" method="get"/>),
+ http-client:async-request( <http-client:request href="http://n.ethz.ch/~etterth/slowserver.php?file=forecast2.xml" method="get"/>, xs:QName('local:weatherResult')),
insert node
<div>Loading:
<img src="img/Loading_2_transparent.gif" />
Modified: trunk/MXQuery/xqib_samples/WeatherRESTasyncSlowCached.html
===================================================================
--- trunk/MXQuery/xqib_samples/WeatherRESTasyncSlowCached.html 2011-05-09 21:46:10 UTC (rev 4329)
+++ trunk/MXQuery/xqib_samples/WeatherRESTasyncSlowCached.html 2011-05-09 22:45:21 UTC (rev 4330)
@@ -45,7 +45,7 @@
declare updating function local:getWeather($loc, $evtObj) {
(
- http-client:async-read(xs:QName('local:weatherResult'), "http://n.ethz.ch/~etterth/slowserver.php?file=forecast2.xml"),
+ http-client:async-read("http://n.ethz.ch/~etterth/slowserver.php?file=forecast2.xml",xs:QName('local:weatherResult')),
insert node
<div>Loading:
<img src="img/Loading_2_transparent.gif" />
Modified: trunk/MXQuery/xqib_samples/WeatherRESTread.html
===================================================================
--- trunk/MXQuery/xqib_samples/WeatherRESTread.html 2011-05-09 21:46:10 UTC (rev 4329)
+++ trunk/MXQuery/xqib_samples/WeatherRESTread.html 2011-05-09 22:45:21 UTC (rev 4330)
@@ -44,8 +44,8 @@
};
declare updating function local:getWeather($loc, $evtObj) {
- http-client:async-read(xs:QName('local:weatherResult'),
- "forecast2.xml"
+ http-client:async-read("forecast2.xml",
+xs:QName('local:weatherResult')
)
};
Modified: trunk/MXQuery/xqib_samples/timer.html
===================================================================
--- trunk/MXQuery/xqib_samples/timer.html 2011-05-09 21:46:10 UTC (rev 4329)
+++ trunk/MXQuery/xqib_samples/timer.html 2011-05-09 22:45:21 UTC (rev 4330)
@@ -7,8 +7,8 @@
<script type="text/javascript" src="mxqueryjs/mxqueryjs.nocache.js"></script>
<script type="application/xquery">
declare updating function local:listener() {
+ b:timer(1000, xs:QName('local:listener')),
insert node <div>{fn:current-time()}</div> as last into b:dom()//body
-, b:timer(1000, xs:QName('local:listener'))
};
b:timer(1000, xs:QName('local:listener'))
Modified: trunk/MXQuery/xqib_src/ch/ethz/mxquery.gwt.xml
===================================================================
--- trunk/MXQuery/xqib_src/ch/ethz/mxquery.gwt.xml 2011-05-09 21:46:10 UTC (rev 4329)
+++ trunk/MXQuery/xqib_src/ch/ethz/mxquery.gwt.xml 2011-05-09 22:45:21 UTC (rev 4330)
@@ -51,11 +51,11 @@
<when-property-is name="user.agent" value="opera" />
</replace-with>
- <replace-with class="ch.ethz.mxquery.util.browser.dom.DOMImplIE8">
+ <!-- <replace-with class="ch.ethz.mxquery.util.browser.dom.DOMImplIE8">
<when-type-is class="ch.ethz.mxquery.util.browser.dom.DOMImpl" />
<when-property-is name="user.agent" value="ie8" />
- </replace-with>
+ </replace-with> -->
<replace-with class="ch.ethz.mxquery.util.browser.dom.DOMImplIE">
<when-type-is class="ch.ethz.mxquery.util.browser.dom.DOMImpl" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|