This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
XQDY0092 is permissable when xml:space attributes have a value other than preserve or default. (:*******************************************************:) (: Test: K2-NameTest-12 :) (: Written by: Frans Englich :) (: Date: 2007-01-12T16:19:58+01:00 :) (: Purpose: A nametest being "xml:space". :) (:*******************************************************:) declare variable $var := <elem xml:space="content"/>; $var/@xml:space eq "content"
Similar problems in K2-DirectConElemWhitespace-7 and 8.
A fix has been attempted in CVS, and XQTS_current.zip has been updated to contain the new change. If it can be verified that the change is correct, it would be appreciated. If this resolution is satisfiable, feel free to change status to closed. Otherwise, reopen this report. If no opinion on the resolution is expressed within two weeks, I will change status to closed. This change to this report was part of a batch-change of several reports.
K2-NameTest-12 is now fixed. K2-DirectConElemWhitespace-7 and K2-DirectConElemWhitespace-8 are also fixed.
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"
A new attempt has been committed to CVS(see comment #2).
K2-NameTest-13 is now fixed. Thanks.