Re: Mixed Content Models

James Clark (jjc@jclark.com)
Tue, 22 Sep 1998 10:29:14 +0700


Jerome McDonough wrote:

> <!ELEMENT qstn (#PCDATA | (preQTxt?, qstnLit?, postQTxt?, forward?,
> backward?, ivuInstr*))*
>
> Is this a legitimate content model under XML section 3.2.2?
> Msxml doesn't have a problem with it, and nsgmls using the -wxml flag
> also happily parses the DTD.

It's not legal and the current version of nsgmls gives a warning with
-wxml.

James