Mixed Content Models

Tim Bray tbray at textuality.com
Wed Sep 23 07:53:27 BST 1998

At 11:47 AM 9/21/98 -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.  IBM's xml4j, however, complains:
>"Codebook.dtd: 1256, 33: This content model is not matched with the
>mixed model '(#PCDATA|FOO|BAR|. . .|BAZ)*': '(#PCDATA|(preQTxt?, qstnLit?,

This is *totally* illegal per the spec.  Is that the msxml with IE4 
or IE5?  If 4, no biggie, they were up-front about being behind.  If 
IE5, I'm flabbergasted and MS needs to hear about it now.

As for nsgmls, James has been very up-front about its lack of 
completeness as an XML processor.  xml4j is right; I expect you'd
also get complaints from XP and Lark. -Tim

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list