>> The query imports base64, but it's not used explicitly anywhere.
Sorry, my fault. I forgot to remove the unused module.
>> How does the query "know" to output in base64?
I do not really understand. The results of file:read-binary and
http-client:send-request($request) are base64 items. Therefore, the query
outputs base64, no?
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
resulting base64 in http-client is wrong
Status in Zorba - The XQuery Processor:
I am having a query (see attachment) which imports the same image with
the file and the http-client module. Unfortunately, the resulting
base64 values are different. The file module works properly. The
imported base64 string is correct. But the one coming from the http-
client module is broken.
Before running the query, you need to download the image file into the
directory where the query is located. e.g. wget
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp