Subject: Re: DTD element ordering From: rieger@muc.de (Wolfgang Rieger) Date: Thu, 30 Mar 1995 16:44:10 GMT
How the Web Was Won
Subject: Re: DTD element ordering From: rieger@muc.de (Wolfgang Rieger) Date: Thu, 30 Mar 1995 16:44:10 GMT
Organization: MUC.DE e.v -- private Internet access
Lines: 39
Message-ID: <3lokog$r6a@marvin.muc.de>
References: <1995Mar28.225425.29439@rsg1.er.usgs.gov> <3leqc4INNpg1@oasys.dt.navy.mil>
NNTP-Posting-Host: sgmlio.muc.de
X-Newsreader: Forte Free Agent v0.38

gignac@oasys.dt.navy.mil (Donald Gignac) wrote:


>    How about the content model 

>(A & C) +(B) 

>where B is excluded from A and C if they have content models (as opposed 
>to declared content)?

That would not be the same (inclusions tend to be tricky). Consider
this:







Now, since SOME is a inclusion in FOO, the following instance fragment
will be valid:



Or, even simpler:

...

since you did not exclude B in the content of B. As I said, exceptions
tend to be tricky. And should be avoided, where not necessary.

Regards

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



From rballard@cnj.digex.net Fri Apr 11 18:25:00 1995
Status: RO
X-Status: 
Newsgroups: comp.text.sgml
Path: news3.digex.net!news2.digex.net!howland.reston.ans.net!news.sprintlink.net!redstone.interpath.net!sas!mozart.unx.sas.com!MVS.sas.com!SNOJOW