Re: [xml-dev] modeling, validating and documenting an xml grammar
Rich Salz <> writes:
> Nobody's refuted the calendar set of examples.
Just for sport,
<month name="Feb">
<day num="1"/>
<!-- -->
<day num="31"/>
</month>
is valid per your proposed schema. So is
<month name="Jan">
<day num="1"/>
<!-- -->
<day num="28"/>
</month>
How far did {28-31} get you? You still need as much logic in the
application to filter invalid instances as if you had {*}.
Ari.