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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Ambiguous Content Models

[ Lists Home | Date Index | Thread Index ]


You have

(GenericElements?,Person?,Location?)*,Person,(GenericElements?,Person?,Location?)*


which is ambiguous as you can't tell, the first time you get a Person,
whether you are still in the first ()* clause or whether it is your
mandatory middle Person.

You can re-write it as

(GenericElements,Location)*,Person,(GenericElements,Person,Location)*

Which isn't ambiguous.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.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