W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2007

[Bug 4160] Static typing of fn-normalize-space0args-1

From: <bugzilla@wiggum.w3.org>
Date: Thu, 15 Mar 2007 14:52:39 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HRrJn-0004IF-Fb@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4160





------- Comment #2 from tim@cbcl.co.uk  2007-03-15 14:52 -------
a[normalize-space() = 'Hello, How are you?'])

has type string*

$input-context//doc/normalize-space( string* ) fails to typecheck.

The test should be:

$input-context//doc/normalize-space(zero-or-one(a[normalize-space() = 'Hello,
How are you?']))

to avoid static typing errors.
Received on Thursday, 15 March 2007 14:52:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:19 GMT