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

Re: SPACE...

From: Paul Grosso <paul@arbortext.com>
Date: Fri, 8 Nov 96 09:31:41 CST
Message-Id: <9611081531.AA10137@atiaus.arbortext.com>
To: w3c-sgml-wg@w3.org
> From: Michael Sperberg-McQueen <U35395@UICVM.UIC.EDU>

> I had been thinking that all such separators except NBSP should also
> be subject to XML's white-space normalization rules (reduction of any
> span of white-space characters to a single SPACE -- i.e. U+0020 --
> unless white-space preservation is turned on)

> We were not planning to level NBSP, since one common use
> for it is to try to prevent such white-space normalization in
> specific cases

My quick re-reading of the WD doesn't answer the following for me:

Is white space normalization done "before" or "after" entity
expansion.  In other words, if a text entity starts, ends, or consists
of white space characters, does white space normalization occur (1) for
consecutive whitespace within the entity replacement text and/or (2)
for the concatenation of the whitespace preceding the entity ref and
the whitespace at the beginning of the replacement text?  Likewise, if
a character reference is to a whitespace character (other than NBSP or
any other for which ws normalization is defined not to occur anyway),
does ws normalization occur wrt all the replacement texts?
Received on Friday, 8 November 1996 11:39:20 EST

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