Subject: Re: DTD element ordering From: jta_swets@hgl.signaal.nl (Swets J.T.A.) Date: Thu, 30 Mar 1995 12:09:53 +0200
How the Web Was Won
Subject: Re: DTD element ordering From: jta_swets@hgl.signaal.nl (Swets J.T.A.) Date: Thu, 30 Mar 1995 12:09:53 +0200
Message-ID: <1995Mar30.102818.25091@hgl.signaal.nl>
Sender: usenet@hgl.signaal.nl (USENET News System)
Nntp-Posting-Host: suns16c165
Organization: Hollandse Signaal apparaten BV
X-Newsreader: TIN [version 1.2 PL2]
References: <1995Mar28.225425.29439@rsg1.er.usgs.gov>
Lines: 27

Peter N. Schweitzer (peter@geochange.er.usgs.gov) wrote:
: I have a DTD with an element like this:

: 

: This means that NAME must contain A and C, and may contain any number
: of B's.  Further, it means that the elements A, B, and C can occur
: in any order (because I used '&' rather than ',' to separate them).
: However, I observe (using sgmls 1.1.91) that if B is repeated, all
: occurrences of B must be together.....

Have you tried the following?
Any number of B's is allowed, and exactly one A and one C is needed,
the order of A, B's and C is random, I think this can solve the problem.