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

Re: Primary output port in p:viewport

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 23 Jul 2009 11:08:06 +0100
To: <Toman_Vojtech@emc.com>
Cc: <public-xml-processing-model-comments@w3.org>
Message-ID: <f5b1vo7pv95.fsf@hildegard.inf.ed.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[anon] writes:

> But now I wonder... Section 2.3 says:
>
> "If a step has a single output port and that port is explicitly marked
> "primary='false'", or if a step has more than one output port and none
> is explicitly marked as the primary, then the primary output port of
> that step is undefined."
>
> So is it right that the following:
>
> <p:declare-step>
>   <p:input port="one"/>
>   <p:input port="two" primary="true"/>
> </p:declare-step>
>
> results in both "one" and "two" being non-primary?

Presuming you meant those to be output ports, so we have

 <p:declare-step>
   <p:output port="one"/>
   <p:output port="two" primary="true"/>
 </p:declare-step>

 "... a step has more than one output port and _none is explicitly marked_
  as the primary," [emphasis added]

I don't see how the above words apply to this case --  *two* _is_
explicitly marked as primary.  Or am I missing something?

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)

iD8DBQFKaDaJkjnJixAXWBoRAlsaAJ0V3KjEXT/UOHMGpvyPX2fcd+2bAwCfbjOf
uQZ+YCUe6YMN01hNnJ2cwNM=
=4BSL
-----END PGP SIGNATURE-----
Received on Thursday, 23 July 2009 10:08:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 23 July 2009 10:08:49 GMT