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

Syntactic irregularity (choose vs. other components)

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Thu, 12 Oct 2006 09:49:10 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87y7rltzjd.fsf@nwalsh.com>
Consider

  <p:pipeline>
    <p:declare-input step=... source=...>

  <p:step>
    <p:input step=... source=...>

  <p:for-each>
    <p:declare-input step=... source=...>

  <p:viewport>
    <p:declare-input step=... source=...>

  <p:group>
    <p:declare-input step=... source=...>

and

  <p:choose step=... source=...>
    <p:when step=... source=...>

Earlier I tried to suggest that "here documents" were an unnecessary
convenience (which would have made it easy to move the step/source on
for-each and viewport onto the component element). There was loud
objection to that idea.

Nevertheless, the irregularity of choose/when with respect to the other
components continues to bother me. Am I the only one?

Is it reasonable to consider harmonizing in the other direction:

  <p:choose>
    <p:input step=... source=...>

    <p:when>
      <p:input step=... source=...>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Thursday, 12 October 2006 13:49:21 GMT

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