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: DTD and Illegal Construct




Jim Shain wrote:

> Honestly, I'm not playing stump the experts, but what about the instance?
>
> ((A, B, D?) | (A?, B, C?, D?, E))
>
> In this instance 'C' can only be present if 'E' is present.

How about:

  ((A, B, ((C, D?, E) | (D,E?) | (E))) | (B, C?, D?, E))

You asked about a good reference for solving these - the best I've ever seen
is a chapter of OmniMark's SGML course written by Sam Wilmott. It may be
available as a white paper, but it's not for the faint of heart. Try
http://www.omnimark.com.


--
Regards,

Marcus Carr                      email:  mrc@allette.com.au
___________________________________________________________________
Allette Systems (Australia)      www:    http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
       - Einstein