[Bug 4221] xml:space in K2-NameTest-12, 13

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


tim@cbcl.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #4 from tim@cbcl.co.uk  2007-01-22 09:04 -------
K2-NameTest-13 has a further problem.  The expression $var/@xml:* is typed as a
zero-or-more sequence, causing type checking of the "eq" operator to fail.

(:*******************************************************:)
(: Test: K2-NameTest-13                                  :)
(: Written by: Frans Englich                             :)
(: Date: 2007-01-20T18:56:56+01:00                       :)
(: Purpose: A nametest being "xml:*".                    :)
(:*******************************************************:)
declare variable $var := <elem xml:space="preserve"/>;
$var/@xml:* eq "preserve"

Received on Monday, 22 January 2007 09:04:40 UTC