[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DTD and Illegal Construct
- From: Marcus Carr <mrc@allette.com.au>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Thu, 11 Jan 2001 10:30:45 +1100
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