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

Re: RS/RE, again (sorry)

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Wed, 11 Dec 1996 18:27:52 -0500
Message-Id: <1.5.4.32.19961211232752.0097271c@csclub.uwaterloo.ca>
To: w3c-sgml-wg@w3.org
At 05:59 PM 12/11/96 -0500, Eve L. Maler wrote:
Where is
>the right place to make the distinction, if there's no DTD?  Is is the
>stylesheet?  If so, are there any technical barriers to doing this?

The implication is that you need a different stylesheet (one that ignores
whitespace in "element content") if your document is parsed by a
non-validating parser (or "just a parser", in Gavin's terminology) vs. a
validating parser (or a parser whose output is made 8879 conformant by a
post process, in Gavin's terminology). This is, as far as I know, the
current situation in XML. I presume we are only discussing the issue because
that solution was considered inelegant.

I'm presuming that mixed content is no longer a problem. If input newlines
are not going to behave like "RE" in mixed content, then those attribute
hacks are basically useless. Just pass all of the mixed content whitespace
through, all of the time.

 Paul Prescod
Received on Wednesday, 11 December 1996 18:24:58 EST

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