W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2001

XHTML MOD model module

From: James Clark <jjc@jclark.com>
Date: Sun, 14 Jan 2001 12:27:48 +0700
Message-ID: <3A6138D4.D2714465@jclark.com>
To: www-html-editor@w3.org
At the moment XHTML MOD requires users to construct a model module
specific to the combination of modules they are using.

XML (like SGML) has a feature that was designed just for this situation:
it says that it is NOT an error for a content model to mention an
undefined element (http://www.w3.org/TR/REC-xml#elemdecls); it only
becomes an error if such an element occurs in an instance.

Thus if you create a model module that works when you include all
modules, that same model module will also work just fine if you include
only a subset of the modules. (This won't of course handle the
distinction that transitional allows inline content in some places where
strict doesn't.)

I would suggest that such a model module be included with XHTML MOD.

Received on Sunday, 14 January 2001 00:29:48 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:42 UTC