← Prev in month ← Prev in thread

<optional> vs. <zeroOrOne>

From
Michael Fitzgerald <>
Date
2001-06-22T00:49:31+00:00
ID
Thread
<optional> vs. <zeroOrOne>
I regret that I did not sort this out in my head during today's TC, but when
I compare the sets:

<optional>
<zeroOrMore>
<oneOrMore>

and

<zeroOrOne>
<zeroOrMore>
<oneOrMore>

I like the consistency of the second set more. To me, such consistency adds
to the simplicity, ease-of-use, and intuitiveness of RELAX NG. For example,
I think there would be less doubt in a new user's mind over the meaning of
<zeroOrOne> compared to <optional>.

If no one agrees with me, I can still live with <optional>.

Mike
====
Wy'east Communications     http://www.wyeast.net     mailto:
← Prev in month ← Prev in thread