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 19:31:27 +0200
Message-ID: <546c6c1c0704131031m6c4e6133gca9f6fbb82ac70b6@mail.gmail.com>
To: "Alex Milowski" <alex@milowski.org>
Cc: public-xml-processing-model-wg@w3.org

So that's it !
We finally arrive at the point, I was fearing at the beginning

<polemic mode="high">

And what if we use simple typing of what is flowing trough the steps

A simple typing " la XSLT" would suffice for 99% of the case

a default type of XML and it has to be connected to a XML type (you
have nothing to precise in this case)

for special edge case a "text" type for
RNC/XQuery/JSON/CSS/DSSSL/Balise/XDuce/CDuce/XStream/N3

RNC for a Relax NG component
XQuery for an XQuery component
JSON for an JSONHTTPRequest component
CSS for a Prince component (compose XML with CSS)
DSSSL for a DSSSL component
etc.

and also for output of XSLT if the output="text" or output="html"

</polemic>

Mohamed

On 4/13/07, Alex Milowski <alex@milowski.org> wrote:
>
>
> On 4/13/07, Innovimax SARL <innovimax@gmail.com> wrote:
> >
> > > I propose that we add an optional "p:load-relax-ng" step that takes no
> > > inputs, a required "uri" option, and outputs a RELAX NG grammar. It
> > > should be spec'd to say that it can load either the compact syntax or
> > > the full syntax.
> > >
> > > Otherwise, I think we wind up needing co-constraints on the
> > > validate-relax-ng step that I'd as soon avoid.
> >
> > Ok but if we want to stay consistent we should have the same for XQuery
> ...
>
>
> I don't think we can do the exactly same for XQuery.  There isn't a standard
> transliteration of
> a XQuery into XML.
>
> We could read in the non-XML syntax XQuery and wrap it with the 'query'
> wrapper
> but I'm not certain we want to do that.
>
> Personally, I'd prefer that we not do either.  You can't read other non-XML
> sources unless
> you have a special component.  Now we're added one for Relax, next XQuery,
> and then ... ?
>
>
> --
>
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
>
> Bertrand Russell in a footnote of Principles of Mathematics


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Friday, 13 April 2007 17:31:31 GMT

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