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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] Ambiguous Content Model

Michael asked:
    Can anyone tell me if there's an unambiguous (deterministic) content
    equivalent to the following:

         <!ELEMENT test (A | (A?, (B, C)+))>


The following seems to be deterministic and equivalent
to your content model:

   <!ELEMENT test ( (A, (B, C)*) | (B, C)+ )>

Hope this helps.


<sig name    = 'Bob Lyons'
     title   = 'B2B Integration Consultant'
     company = 'Unidex, Inc.'
     phone   = '+1-732-975-9877'
     email   = 'boblyons@unidex.com'
     url     = 'http://www.unidex.com/'
     product = 'XML Convert: transforms flat files to XML and vice versa' />