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 10428 - alternate result needed for K2-ComputeConPI-3, K2-ComputeConPI-4 and K2-ComputeConPI-5
Summary: alternate result needed for K2-ComputeConPI-3, K2-ComputeConPI-4 and K2-Compu...
Status: CLOSED INVALID
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 13:30 UTC by Sorin Nasoi
Modified: 2010-12-15 16:46 UTC (History)
2 users (show)

See Also:


Attachments

Description Sorin Nasoi 2010-08-25 13:30:45 UTC
According to the steps in the spec:
http://www.w3.org/TR/2009/WD-xquery-11-20091215/#doc-xquery11-CompPIConstructor

"If the atomized value of the name expression is of type xs:string or xs:untypedAtomic, that value is cast to the type xs:NCName. If the value cannot be cast to xs:NCName, a dynamic error is raised [err:XQDY0041]."

So, for test K2-ComputeConPI-3
http://dev.w3.org/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQuery/Construct/ComputeCon/ComputeConPI/K2-ComputeConPI-3.xq
since the atomized value can not be casted to an xs:NCName, an alternate result should be added for err:XQDY0041.

The same is true for K2-ComputeConPI-4, K2-ComputeConPI-5.
Comment 1 Michael Kay 2010-08-25 13:53:47 UTC
But in all three cases the value CAN be cast to xs:NCName (that, I think, is the point of the test). Casting a string to xs:NCName removes leading and trailing whitespace. (F+O 17.1.1 para 1, "Whitespace normalization is applied as indicated by the whiteSpace facet for the datatype.").
Comment 2 Sorin Nasoi 2010-08-25 13:58:55 UTC
Yes, my fault: I missed that.

I have marked the bug as resolved/invalid: I think that is the correct status in this case.

Thanks for the help,
Sorin Nasoi
Comment 3 Michael Cooper 2010-12-15 14:37:12 UTC
Big triage sub-team thinks the ARIA mapping team should review and update this bug as the mappings are prepared, but no need for entire HTML A11Y TF to review. Assigning to Steve Faulkner to track.
Comment 4 Michael Cooper 2010-12-15 16:46:36 UTC
Apologies, this bug was accidentally updated in a bulk update to a number of other bugs, where there was a typo in the set of bugs to be updated. Ignore comment 3. Reassigning to original owner.