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

Re: Standard Component Descriptions

From: Alex Milowski <alex@milowski.org>
Date: Wed, 22 Nov 2006 08:15:37 -0800
Message-ID: <456477A9.7090703@milowski.org>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

Alessandro Vernet wrote:

>> >> 2.1. [p:]xquery
>> Some queries can be represented by single XML elements.  But to do
>> this for every XQuery, we'll need an input wrapper element that the
>> component understands.  That could also be a place to put
>> query controls.
> What would you think of using the "Trivial Embedding of XQuery" of XQueryX?
> http://www.w3.org/TR/xqueryx/#TrivialEmbedding

That would require escaping literal elements in the query.  I don't
see that as a good thing.

Personally, I don't understand why we can't have a standard
representation that wraps a query with XML but allows:

    * the "normal" query syntax (i.e. no expansion into
    * literal elements just as literal elements!

It would be nice to have XQuery solve this for us.

I suppose we should have an XQuery component that understands XQueryX.
Then the trivial embedding would be perfectly legal.

You'd probably want to use an XML pipeline with an escape step
to manage the query input because replacing all the '<' and '&' will
be problematic.  :)

--Alex Milowski
Received on Wednesday, 22 November 2006 16:22:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:41 UTC