[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: deterministic content model?
- From: Murali Mani <mani@CS.UCLA.EDU>
- To: Gary Stephenson <garys@ihug.com.au>
- Date: Mon, 25 Jun 2001 00:21:18 -0700 (PDT)
If you wanted a non-deterministic content model -- I think the chess game
example discussed in this list before is one which cannot be made
deterministic --
<!ELEMENT chessgame ((whitemove, blackmove)*, whitemove?)>
in other words, the content model -- (a, b*), a? -- is non-deterministic.
regards - murali.
On Mon, 25 Jun 2001, Gary Stephenson wrote:
> What about this one? ( from test ibm45v01.xml )
>
> <!ELEMENT unique. (b|(b,unique))>
>
> Is this non-deterministic? Does it matter whether the element is actually
> instantiated within the document (which in this particular case it is not.)
>
> many tias,
>
> gary
>
>
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@lists.xml.org
>