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

Empty Sequence Shortcut?

From: Alex Milowski <alex@milowski.com>
Date: Thu, 1 Aug 2013 13:29:41 -0700
Message-ID: <CABp3FN+LS=y=u719wpvE_CXc1NRfAA6u_PZyVKny7Zdwz_mhbA@mail.gmail.com>
To: XProc WG <public-xml-processing-model-wg@w3.org>
Is there any reason why we can't have:

<p:input port="parameters"/>

as a shorthand for:

<p:input port="parameters"><p:empty/></p:input>

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Thursday, 1 August 2013 20:30:08 UTC

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