Subject: Re: DTD element ordering From: rieger@muc.de (Wolfgang Rieger) Date: 28 Mar 1995 17:14:21 -0800
How the Web Was Won
Subject: Re: DTD element ordering From: rieger@muc.de (Wolfgang Rieger) Date: 28 Mar 1995 17:14:21 -0800
Organization: MUC.DE e.v -- private Internet access
Lines: 36
Message-ID: <3lbi6q$ndc@marvin.muc.de>
References: <1995Mar28.225425.29439@rsg1.er.usgs.gov>
NNTP-Posting-Host: sgmlio.muc.de
X-Newsreader: Forte Free Agent v0.38

peter@geochange.er.usgs.gov (Peter N. Schweitzer) 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, i.e. I get errors from

>
>a
>b
>c
>b again
>

>Is there any way to fix my element declaration so that the elements
>of type B can occur in any order just like the elements A and C?
>--
Try:



Regards

Wolfgang


Wolfgang Rieger                       Email: rieger@colin.muc.de
c/o Buero fuer Software-Entwicklung   WWW  : http://www.muc.de/~rieger/
Frankfurter Ring 193a                 Tel. : +49 89 323 19 93	
80807 Munich, Germany                 Fax  : +49 89 323 19 93



From rballard@cnj.digex.net Sun Mar 30 12:09:53 1995
Status: RO
X-Status: 
Path: news3.digex.net!news2.digex.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!swrinde!emory!news-feed-1.peachnet.edu!usenet.eel.ufl.edu!news.mathworks.com!zib-berlin.de!unlisys!berlin!szillat