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

Re: more p:output thoughts

From: James Fuller <james.fuller.2007@gmail.com>
Date: Fri, 8 Jun 2007 17:23:46 +0200
Message-ID: <a0ad8ffe0706080823l44d43ee5l5f259574e38ff168@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-comments@w3.org

On 6/8/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / James Fuller <james.fuller.2007@gmail.com> was heard to say:
> | 5.5 p:output Element
> |
> | p:output can contain a p:document which in turn is defined as 'A
> | p:document reads an XML document from a URI.'....is this an oversight
> | of some sort? Is there any related error condition for this type of
> | scenario?
>
> The construction
>
>   <p:output port="foo">
>     <p:document href="someURI"/>
>   </p:output>
>
> causes the content of someURI to appear on the output port "foo". I
> expect it to be very, very uncommon. Used mostly, if ever, in p:catch
> steps to produce constant error output.

yes, but from a users point I would argue that expected behavior from
such a construction would be 'save the output to anyURI'....willing to
bet a pint that this will become a very common FAQ indeed.

> | 3.3 Associating Documents with Ports
> |
> | All the examples in this section are using p:input, might be useful to
> | add p:output where appropriate
>
> If I can think of a good example...

nor can I but it might be an opportunity to clarify behavior....I know
that specs are used by implementators...but being clear in the text
here will benefit users as well.

> | Clarification on URI bindings with p:output
> |
> | What happens when a p:output is defined with a http:// URL...I assume
>
> That doesn't occur.

yes, but may want to align p:journal with the following text from p:store

'The step attempts to store the XML document to the specified URI. If
that URI scheme is not supported or such storage is not allowed, the
step fails.'

cheers, Jim
Received on Friday, 8 June 2007 15:23:51 GMT

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