RE: boundary whitespace question

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