[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non-deterministic content model
- From: Patrick Ohl <Patrick.Ohl@o-h-l.de>
- To: Purvesh Sharma <email@example.com>,"firstname.lastname@example.org" <email@example.com>
- Date: Wed, 13 Jun 2001 10:47:02 +0200
your content model is deterministic. The best way to visualize it is by
drawing a state diagram (see attachement). There is always only one way
Note that there is a fancy way to note your content model in SGML, that
reappears in XML Schema definitions as the 'all' tag. In SGML it is:
<!ELEMENT a ( x & y )? >
> Purvesh Sharma wrote:
> Hi all,
> Can anybody tell me whether the following content model is
> deterministic or non-deterministic? and why?
> <!ELEMENT a ((x, y) | (y, x))?>
> Waiting to hear from you people...