xquerrail icon indicating copy to clipboard operation
xquerrail copied to clipboard

Upload binary file through framework

Open jeet1212 opened this issue 13 years ago • 0 comments

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

jeet1212 avatar May 30 '12 04:05 jeet1212