W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > November 2008

Re: Storing binary data

From: Rui Lopes <rlopes@di.fc.ul.pt>
Date: Thu, 06 Nov 2008 11:02:58 -0500
Message-ID: <49131532.1090700@di.fc.ul.pt>
To: public-xml-processing-model-comments@w3.org
Dear Vojtech,

You can POST with p:http-request and, with binary data encoded in 
base64, you can effectively store binary data to a URI. See the spec's 
" Request Entity body conversion" Section (part of p:http-request).


Toman_Vojtech@emc.com wrote:
> Hi all,
> I was wondering whether we are not missing functionality for storing
> binary data. Something like a counterpart of p:data or p:http-request.
> For p:load, there is p:store, but suppose I fetch binary data using
> p:http-request and I want to store it to a URI - I can't. The only thing
> I can do at the moment is to let the pipeline return the (wrapped)
> base64 encoded data and store it outside of XProc.
> I know that XProc really is not aimed for handling binary data, but
> since we already have steps such as p:xsl-formatter that store binary
> content, and p:data/p:http-request for loading binary data into XProc,
> perhaps a binary equivalent of p:store (which would take a c:data
> wrapped content and store it as binary data) could be useful. But maybe
> not for V1.
> Regards,
> Vojtech

Received on Thursday, 6 November 2008 16:04:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:41:08 UTC