This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4221 - xml:space in K2-NameTest-12, 13
Summary: xml:space in K2-NameTest-12, 13
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-15 14:41 UTC by Tim Mills
Modified: 2007-01-23 17:31 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-01-15 14:41:08 UTC
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"
Comment 1 Tim Mills 2007-01-17 09:19:48 UTC
Similar problems in K2-DirectConElemWhitespace-7 and 8.
Comment 2 Frans Englich 2007-01-21 12:45:53 UTC
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.
Comment 3 Tim Mills 2007-01-22 09:00:41 UTC
K2-NameTest-12 is now fixed.
K2-DirectConElemWhitespace-7 and K2-DirectConElemWhitespace-8 are also fixed.
Comment 4 Tim Mills 2007-01-22 09:04:35 UTC
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"
Comment 5 Frans Englich 2007-01-23 16:18:49 UTC
A new attempt has been committed to CVS(see comment #2).
Comment 6 Tim Mills 2007-01-23 17:31:59 UTC
K2-NameTest-13 is now fixed.  Thanks.