Hi,
The following query:
import module namespace http = "http://expath.org/ns/http-client";
http:send-request( <http:request href="http://google.com/" method="get"/>)
returns the following error:
Error: [XQST0059] Unknown module for namespace "http://expath.org/ns/http-client".
The following one though is successful (even though it is not correct according to the HTTP Client spec) (note the element namespace and the function namespace are different):
import module namespace http = "http://expath.org/ns/http"; declare namespace h = "http://expath.org/ns/http-client";
http:send-request( <h:request href="http://google.com/" method="get"/>)
Regards,
The following query:
import module namespace http = "http://expath.org/ns/http-client";
http:send-request( <http:request href="http://google.com/" method="get"/>)
returns the following error:
Error: [XQST0059] Unknown module for namespace "http://expath.org/ns/http-client".
Thanks, this is now fixed..
http://files.basex.org/releases/latest/
We had used an obsolete namespace ("http://expath.org/ns/http-client"). More feedback is welcome ;) Christian
Christian Grün wrote
Hi,
Thanks, this is now fixed.. http://files.basex.org/releases/latest/
Great! I've tested it and it works fine.
We had used an obsolete namespace ("http://expath.org/ns/http-client").
Just to make it clear: this one is not obsolete, this is the right one, as you fixed it in the preview build above :-)
More feedback is welcome ;)
Good to know :-D Regards,
basex-talk@mailman.uni-konstanz.de