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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Notations

[ Lists Home | Date Index | Thread Index ]
  • From: rbourret@dvs1.informatik.tu-darmstadt.de (Ron Bourret)
  • To: xml-dev@ic.ac.uk
  • 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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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