W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: New work-queue item: Conditional inclusion

From: Joe English <jenglish@crl.com>
Date: Tue, 10 Jun 1997 12:39:03 -0700
Message-Id: <199706101939.AA23630@mail.crl.com>
To: w3c-sgml-wg@w3.org

Earlier I wrote:

> [concerning conditional marked sections]
> [...] if there are N possible conditions, it's
> necessary to validate source documents 2**N times, once for
> each possible combination of INCLUDE/IGNORE.  This becomes
> impractical at about N=3.

Arjun Ray pointed out that well-formedness _can_ in fact
be checked with a single pass in the presence of conditional
marked sections.  If element boundaries cannot cross
marked section boundaries, then changing an INCLUDE MS
to an IGNORE MS cannot make a WF document non-WF.

A further simple restriction on the content and context of
conditional MSs can also make one-pass validation tractable.

--Joe English

Received on Tuesday, 10 June 1997 15:50:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:27 UTC