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

Does a primary output have to be connected in all branches?

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Thu, 25 Oct 2007 15:33:30 +0100 (BST)
To: public-xml-processing-model-wg@w3.org
Cc: public-xml-processing-model-comments@w3.org
Message-Id: <20071025143330.9FC3C2767D9@macpro.inf.ed.ac.uk>

A primary output port must be connected (2.2), but is it an error if
it is connected only in one branch of a choose, so that it might not
get read?

I would say no, since the purpose of the rule is to detect mistakes,
and it's quite reasonable for something to be only used in some
branches.

-- Richard
Received on Thursday, 25 October 2007 14:33:44 GMT

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