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

RE: boundary whitespace question

From: Michael Rys <mrys@microsoft.com>
Date: Mon, 29 Sep 2003 13:59:28 -0700
Message-ID: <EB0A327048144442AFB15FCE18DC96C7D0AA66@RED-MSG-31.redmond.corp.microsoft.com>
To: "Howard Katz" <howardk@fatdog.com>, <www-ql@w3.org>

It would be (1) since the removal is governed at the syntactic and not
runtime level.

Best regards
Michael

> -----Original Message-----
> From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On Behalf
Of
> Howard Katz
> Sent: Monday, September 29, 2003 1:53 PM
> To: www-ql@w3.org
> Subject: boundary whitespace question
> 
> 
> 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:59:22 UTC

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