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>
Message-ID: <IKEOLCDFPBBPPAHGNKKOCEJLCLAA.howardk@fatdog.com>

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?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:16 UTC