Syntactic irregularity (choose vs. other components)

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 UTC