|
From: <pm_...@us...> - 2011-06-07 08:33:32
|
Revision: 4389
http://mxquery.svn.sourceforge.net/mxquery/?rev=4389&view=rev
Author: pm_fischer
Date: 2011-06-07 08:33:26 +0000 (Tue, 07 Jun 2011)
Log Message:
-----------
properly initialize iterators to access "body" content
Modified Paths:
--------------
trunk/MXQuery/xqib_src/ch/ethz/mxquery/extensionsModules/expathhttp/HttpIO.java
Modified: trunk/MXQuery/xqib_src/ch/ethz/mxquery/extensionsModules/expathhttp/HttpIO.java
===================================================================
--- trunk/MXQuery/xqib_src/ch/ethz/mxquery/extensionsModules/expathhttp/HttpIO.java 2011-06-03 15:23:34 UTC (rev 4388)
+++ trunk/MXQuery/xqib_src/ch/ethz/mxquery/extensionsModules/expathhttp/HttpIO.java 2011-06-07 08:33:26 UTC (rev 4389)
@@ -888,7 +888,8 @@
ChildIterator bodyContentIt = new ChildIterator(childContext,
new TypeInfo(Type.NODE, Type.OCCURRENCE_IND_ZERO_OR_MORE), loc);
bodyContentIt.setSubIters(bodyIt);
-
+ bodyContentIt.staticInit();
+
String contentType = (String) hm.get("media-type");
if (!hm.containsKey("src")) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|