W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2003

RE: Additional boundary whitespace example

From: Michael Rys <mrys@microsoft.com>
Date: Mon, 29 Sep 2003 19:23:13 -0700
Message-ID: <EB0A327048144442AFB15FCE18DC96C7D0AA78@RED-MSG-31.redmond.corp.microsoft.com>
To: "Howard Katz" <howardk@fatdog.com>, <public-qt-comments@w3.org>

I assume you mean that it will be <a/>.

Best regards
Michael

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Howard Katz
> Sent: Monday, September 29, 2003 7:18 PM
> To: public-qt-comments@w3.org
> Subject: Additional boundary whitespace example
> 
> 
> I would suggest that an additional example be added to the discussion
of
> boundary whitespace (3.7.1.4 Whitespace in Element Content) in the
main
> XQuery 1.0 document. To wit, I'd recommend something like the
following:
> 
> Example:
> 
> <a>{()}    </a>
> 
> If xmlspace is not declared or is declared as xmlspace = strip, this
> example
> is equivalent to <a>   </a>. When considering enclosed expressions for
the
> purpose of evaluating boundary whitespace, it's the syntactic presence
or
> absence of an enclosed expression that's important. The fact that the
> enclosed expression in this case evaluates to an empty sequence at
runtime
> is irrelevant to the determination that boundary whitespace is
present.
> 
> Howard Katz
> 
Received on Monday, 29 September 2003 22:23:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:14 UTC