xquerrail
xquerrail copied to clipboard
Upload binary file through framework
While uploading a binary file. it is giving error in request.xqy.
(:Load All Request Fields:) for $j in xdmp:get-request-field($i) let $filename-key := fn:concat($PARAM-FILENAME-PREFIX,$i) let $x := if(fn:matches($j,"^({|[)*(}|])$","mix")) then .....
in fn:matches() it is giving error as $j should be string not binary.
Thanks & Regards, Indy