RE: [xml-dev] Can XML Schemas do this?

From
Joshua Allen <>
To
Paul Prescod <>, Eric van der Vlist <>
Date
2003-01-21T19:25:21Z
ID
<>
Thread
RE: [xml-dev] Can XML Schemas do this?
> > <extract title="Be liberal on the relative order between children
> > elements"/>
> 
> I disagree.

> "bother" the user with the responsibility of choosing an order. From
the
> user's point of view, the order matters unless they are told
otherwise.

That's an interesting point.  I think the "user perspective" argument
becomes more difficult to back up when you have element content that
involves lots of optional children -- in those cases the user often
wants to be able to insert whichever elements matter without necessarily
worrying which order they come in.  Imagine for example if command-line
apps were written to expect a certain order to command-line arguments.
It would certainly save people from having to write getopts.c, but would
actually be an *impediment* to usability and user expectations.

There are some scenarios where order naturally matters, and others where
the user *assumes* it will matter, but I think there are plenty of other
cases where users would be unpleasantly surprised by finding that order
matters.