<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10428</bug_id>
          
          <creation_ts>2010-08-25 13:30:45 +0000</creation_ts>
          <short_desc>alternate result needed for K2-ComputeConPI-3, K2-ComputeConPI-4 and K2-ComputeConPI-5</short_desc>
          <delta_ts>2010-12-15 16:46:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>1.0.2</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sorin Nasoi">spungi</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          <cc>cooper</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37836</commentid>
    <comment_count>0</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2010-08-25 13:30:45 +0000</bug_when>
    <thetext>According to the steps in the spec:
http://www.w3.org/TR/2009/WD-xquery-11-20091215/#doc-xquery11-CompPIConstructor

&quot;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].&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37837</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-08-25 13:53:47 +0000</bug_when>
    <thetext>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, &quot;Whitespace normalization is applied as indicated by the whiteSpace facet for the datatype.&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37838</commentid>
    <comment_count>2</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2010-08-25 13:58:55 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43382</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-12-15 14:37:12 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43401</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-12-15 16:46:36 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>