Re: [basex-talk] restxq multipart/mixed application/octet-stream

2016-07-19 Thread Christian Grün
{ >>let $xml := $doc[1] >> let $bin := $doc[2] >> return {$bin} >> }; >> Response is: ? >> >> >> (NOTE: when I do not specify attribute boundary, then it will provoke java >> exception) >> >> >> -Original Messag

Re: [basex-talk] restxq multipart/mixed application/octet-stream

2015-10-19 Thread Christian Grün
Hi Jiri, > When i send multipart/mixed document with 2.part application/octet-stream > with value 0xFF0xFF This is because 0xFF0xFF is not a valid Unicode codepoint. What textual result would you expect? Best, Christian > > Into the following function, it writes into file character ?. > > I a

[basex-talk] restxq multipart/mixed application/octet-stream

2015-10-19 Thread Dolejsi Jiri
When i send multipart/mixed document with 2.part application/octet-stream with value 0xFF0xFF Into the following function, it writes into file character ?. I am using BaseX 8.3 declare %rest:path("test") %rest:PUT("{$doc}") function nib:insert-doc($doc as item()*) as empty-sequence() { let $