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

Re: Ordering of steps in a subpipeline

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 22 Jan 2009 16:29:36 +0000
To: Toman_Vojtech@emc.com
Cc: <public-xml-processing-model-comments@w3.org>
Message-ID: <f5bsknbgv7z.fsf@hildegard.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think your second example is still broken, because it contains a
loop.

Here's your example:

<p:group>
  <p:output port="result">
    <p:inline><doc/><p:inline>
  </p:output>
  <p:identity name="identity1">
    <p:input port="source">
      <p:pipe step="identity2" port="result"/>
    </p:input>
  </p:input>
  <p:identity name="identity2"/>
</p:group>


Here's an equivalent pipeline, with the default binding filled in to
"identity2":

<p:group>
  <p:output port="result">
    <p:inline><doc/><p:inline>
  </p:output>
  <p:identity name="identity1">
    <p:input port="source">
      <p:pipe step="identity2" port="result"/>
    </p:input>
  </p:input>
  <p:identity name="identity2">
    <p:input port="source">
      <p:pipe step="identity1" port="result"/>
    </p:input>
  </p:identity>
</p:group>

So id1<->id2 are a loop, which is an error.

But you surrounding comments suggest you thought the problem lay
elsewhere, in the area of the _output_ of the group, so perhaps I
misunderstand. . .

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, 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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFJeJ7wkjnJixAXWBoRAsnwAJ4xmWkair7CqdXuR8smdLXkb3jqPwCdGhK8
cp985HNgNdM77xNornx+xUo=
=jAKo
-----END PGP SIGNATURE-----
Received on Thursday, 22 January 2009 16:30:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 January 2009 16:30:17 GMT