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

Allowing for naive/simple p:http-request

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 05 Jul 2007 17:06:38 +0100
To: public-xml-processing-model-wg@w3.org
Message-ID: <f5bfy426dip.fsf@hildegard.inf.ed.ac.uk>

Hash: SHA1

I expect that I will want to use p:http-request in a minimal way which
is not yet catered for:

  <p:input port="source">
    <c:http-request href="http://..."/>
  . . .

[In fact, I'd _really_ like an 'href' option on p:http-request, so I
 can just write:
 <p:http-request href="http://..."/>

Crucially, what I want _out_ of p:http-request is a sequence of actual
documents, or death, no c:http-response stuff that I don't understand
how to deal with.

So, I propose an option for p:http-request called 'detailed', default
'yes', so I can write the above as

  <p:http-request detailed="no" href="http://..."/>

Alternatively, we could change our minds from today's telcon and add
p:load to the list of things which do non-XML-media-type fixup. . .

If we _don't_ do that, then we should make clear the p:http-request
must handle file: URIs, which is not obviously the case.  What about

OK, I've talked myself around to the opposite position -- forget all
the above, we should add media-type-determined cleanup to p:load.

- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Thursday, 5 July 2007 16:06:50 UTC

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