Notations
Ron Bourret
rbourret at dvs1.informatik.tu-darmstadt.de
Fri Jun 26 09:59:33 BST 1998
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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list