[Home] [By Thread] [By Date] [Recent Entries]

  • From: rbourret@d... (Ron Bourret)
  • To: xml-dev@i...
  • Date: Fri, 26 Jun 1998 09:59:05 +0200

Arjun Ray wrote:
> Unfortunately, this content model is the ambiguous one!
> 
> ===
> [test]$ cat ambig
> <!doctype ambig [
> <!element   ambig
>             - -
>             (p | s | (p, s))
>             >
> <!element   (p,s)
>             - -
>             (#PCDATA)
>             >
> ]>
> [test]$ nsgmls -s ambig
> nsgmls:ambig:5:28:E: content model is ambiguous: when no tokens have been
> matched, both the 1st and 2nd occurrences of "P" are possible
> nsgmls:ambig:12:1:E: no document element
> [test]$

Touché!  I'd always wondered if Appendix E had any relevance to the real world.

-- Ron

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member