W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > December 1996

Re: Mixed vs. element content (Was Re: RS/RE, again (sorry))

From: Joe English <jenglish@crl.com>
Date: Tue, 17 Dec 1996 10:31:02 -0800
Message-Id: <199612171832.AA19083@crl.crl.com>
To: w3c-sgml-wg@w3.org

Paul Prescod wrote:
> Is this a valid summary of your proposal:
> The spec should require the application to read the DTD for proper
> whitespace handling of element content. Many applications do not care about
> proper whitespace handling and can thus skip the DTD.


Peter Flynn <pflynn@curia.ucc.ie> wrote:
> Surely it should be the other way round: many applications do not
> care about the DTD and can thus skip proper whitespace handling.

I don't follow this line of reasoning...

Applications only care about the DTD if they need information
in it that is not available from the instance alone.  Under my [*]
proposal, the distinction between element content and mixed content
would be one such piece of information.  This is, after all,
how it works in the base language SGML.

[*] I believe that Derek Denny-Brown is proposing the same thing.

Note that in XML there already is information in the DTD
that is not available from the instance (the replacement text
of non-predefined entities -- which DSSSL and HyTime engines
will need, so we're not asking them to do a whole lot more work),
and I'm willing to bet that before we've finished with hyperlinking [**]
there will be even more information in this category (e.g.,
#FIXED attributes and/or architectural declarations).

[**] Speaking of hyperlinking, does anyone have any ideas how
this should be specified?  We probably ought to start thinking
about this...

--Joe English

Received on Tuesday, 17 December 1996 13:43:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:05 UTC