W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > February 2007

Re: Data Encoding Vocabulary

From: Alessandro Vernet <avernet@orbeon.com>
Date: Wed, 31 Jan 2007 17:29:40 -0800
Message-ID: <4828ceec0701311729o3b4b08d8w8510d0f1009a90ef@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 1/31/07, Alex Milowski <alex@milowski.org> wrote:
> <c:data type="mime-type">data...</c:data>

We have something similar in XPL, but use 2 attributes: one for the
content type and one for the encoding. So you could have:

<document xsi:type="xs:string" content-type="text/plain">...

But you could imagine a components that take this text and charset,
serializes the text according to the charset and returns a:

<document xsi:type="xs:base64Binary" content-type="text/plain">...

Reference:
http://www.orbeon.com/ops/doc/reference-formats

Like Norm said, this could be left for a next version.

Alex
-- 
Orbeon Forms - Web Forms for the Enterprise, Done the Right Way
http://www.orbeon.com/
Received on Thursday, 1 February 2007 01:29:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT