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:19:53 -0500
Message-Id: <1.5.4.32.19961211231953.0096fbc0@csclub.uwaterloo.ca>
To: gtn@ebt.com (Gavin Nicol), lee@sq.com
Cc: w3c-sgml-wg@w3.org, tbray@textuality.com
At 05:23 PM 12/11/96 -0500, Gavin Nicol wrote:
>Very simple summary of my position:
>
>1) Pass back all whitespace.
>2) Have the application layers(s) decide what to remove, and what
>   not to remove. A validation layer could be 8879 conformant if so 
>   desired.

Is this not the same as the current specification?

"In editing XML documents, it is often convenient to use "white space"
(spaces, tabs, and blank lines, denoted by the nonterminal S in this
specification) to set apart the markup for greater readability. Such white
space is typically not intended for inclusion in the delivered version of
the document. On the other hand, "significant" white space that must be
retained in the delivered version is common; for example in poetry or source
code.

In element content, all white space (S) is ignored; validating XML
processors must not pass it to the application. Non-validating processors
which do not read the DTD must treat all elements as if they were declared
with mixed content; this will in some cases result in a different parse tree
from that produced by processors which do read the DTD."

 Paul Prescod
Received on Wednesday, 11 December 1996 18:17:38 EST

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