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: a or b or both - mystery..



> But getting the following error " Content Model is non - deterministic
> for Line Item" when I try to validate this dtd.

Content models must be deterministic in the sense that when the parser
encounters an element there must be only one branch of the content model
that it matches.

So instead of

 a|b|(a,b)

Use

 (a,b?)|b

or if you want to allow b,a too

 (a,b?)|(b,a?)

-- Richard