OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] modeling, validating and documenting an xml grammar

[ Lists Home | Date Index | Thread Index ]

Rich Salz <rsalz@datapower.com> writes:

> Nobody's refuted the calendar set of examples.

Just for sport,

<month name="Feb">
  <day num="1"/>
  <!--       -->
  <day num="31"/>

is valid per your proposed schema. So is

<month name="Jan">
  <day num="1"/>
  <!--       -->
  <day num="28"/>

How far did {28-31} get you? You still need as much logic in the
application to filter invalid instances as if you had {*}.



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS