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

Re: standard components edits

From: Innovimax SARL <innovimax@gmail.com>
Date: Fri, 13 Apr 2007 21:51:22 +0200
Message-ID: <546c6c1c0704131251h46565141v1812c12fefcf8ad8@mail.gmail.com>
To: "Alessandro Vernet" <avernet@orbeon.com>
Cc: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>


On 4/13/07, Alessandro Vernet <avernet@orbeon.com> wrote:
> 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">
> KKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//2Q==
> </document>

Ok I see two edge cases :
1) we have to use XML Schema datatypes in XProc
2) how do you inform the component that your input is an
*embedded-in-xml* one ? so how ,in case there could be embedded-in-xml
and natural-xml, do you make the difference (XQuery vs XQueryX,
RDF/XML vs Turtle, Relax NG Compact vs Relax NG, JSON vs XML, DTD vs
XML Schema, ...) ?

I think we are turning around flow typing

So if you want you add another type to the list

And as I asked before, how do you tackle with XSLT output="text" or
output="html" ??

> Alex
> --
> Orbeon Forms - Web 2.0 Forms for the Enterprise
> http://www.orbeon.com/

Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Friday, 13 April 2007 19:51:28 GMT

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