W3C home > Mailing lists > Public > www-ql@w3.org > July to September 2003

boundary whitespace question

From: Howard Katz <howardk@fatdog.com>
Date: Mon, 29 Sep 2003 13:52:46 -0700
To: <www-ql@w3.org>

In the absence of an xmlspace preserve declaration, what's the result in
XQuery of boundary whitespace removal on the following constructed element:

<a>{()}    </a>

Is it (1) or is it (2)?

(1) <a></a>

(2) <a>    </a>

In other words, is boundary whitespace removal governed by the presence of
an enclosed expression, or by the presence of an enclosed expression that
evaluates to a non-empty result?

Received on Monday, 29 September 2003 16:52:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC