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

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

From: Derek Denny-Brown <ddb@criinc.com>
Date: Tue, 17 Dec 1996 09:26:08 -0800
Message-Id: <2.2.32.19961217172608.006b9930@MAILHOST.criinc.com>
To: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Cc: w3c-sgml-wg@w3.org
At 08:18 AM 12/17/96 -0500, Paul Prescod wrote:
>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.

Taking into account such rules as ignoring RE's immediately following start
tags or immediately preceeding end tags (some people seem to think this is
in the spec, I didn't look very hard, but didn't see it right off... but
something like that should be there), your summary is exactly what I mean.  

Whether a stylesheet is sensitive to extra whitespace/RE's is dependant on
the style sheet, but there are a number of HyTime location addressing
mechanisms which WILL break if pseudo-elements show up where they were not
there before (or disappear for that matter).  It has been mentions that some
TEI locators will also break.

I have no real problem with keeping the -xml-space attribute also.  I just
require that the parse tree for DTDless and DTDful parsing be the same,
which is what I believe David Durand meant when he said he required that the
"parse trees be the same."

-derek
(amused that somehow in the middle of a discussion on RE handling, hyper
linking  rears it ugly head, esp. given that hyper linking etc. is what we
are scheduled  to be discussing...)
 
"that which is not slightly distorted lacks sensible appeal: from which it
follows
 that irregularity - that is to say, the unexpected, surprise, and astonishment,
    are an essential part and characteristic of beauty" - Charles Baudelaire
Received on Tuesday, 17 December 1996 12:31:40 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:49 EDT