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

Re: standard components edits

From: Alessandro Vernet <avernet@orbeon.com>
Date: Fri, 13 Apr 2007 11:57:35 -0700
Message-ID: <4828ceec0704131157x771292cfx8908fa69c921b46d@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 4/13/07, Innovimax SARL <innovimax@gmail.com> wrote:
> a default type of XML and it has to be connected to a XML type (you
> have nothing to precise in this case)

I am strongly in favor of the status quo: "Pipelines take zero or more
XML documents as their input and produce zero or more XML documents as
their output." (from Section 1).

Text data can be easily embedded in XML. How this is done can be
defined by each component, or a "common practice" can be defined by
XProc and then reused by components. Going with the latter option, a
text document could look like:

<document xsi:type="xs:string" content-type="text/plain">
This is line one of the input document! This is line two of the input
document! This is line three of the input document!
</document>

And a binary document could look like:

<document xsi:type="xs:base64Binary" content-type="image/jpeg">
/9j/4AAQSkZJRgABAQEBygHKAAD/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGBw4KCggLEA4R
KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//2Q==
</document>

Alex
-- 
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/
Received on Friday, 13 April 2007 18:57:42 GMT

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