Re: standard components edits

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 UTC