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

Re: V.next: Use case: XQuery inputs ...

From: Alex Milowski <alex@milowski.com>
Date: Wed, 1 Feb 2012 14:01:19 -0800
Message-ID: <CABp3FNJPCerwAcqtGTCx+F1SxiEwDeAt+H6W8AD29xXDcZ_mJQ@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
On Wed, Feb 1, 2012 at 1:14 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> Alex Milowski <alex@milowski.com> writes:
>> I just think I should be able to directly point to the XQuery as
>> non-XML resource.  The XQuery step (or the the MarkLogic query steps)
>> now must take the XQuery that the XProc implementation has just
>> wrapped and escaped and turn right around and unwrap it.
> Ah, that wasn't clear from your description. You want:
>  <p:xquery href="/path/to/my/.xqy"/>
> Is it then an error if a document appears on the query port?

Well, it wouldn't have to be an error.  If we had media types, we
could differentiate between application/xquery and application/xml.

--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

Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 1 February 2012 22:01:47 UTC

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