<?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>23118</bug_id>
          
          <creation_ts>2013-08-31 16:56:30 +0000</creation_ts>
          <short_desc>&apos;V&apos; in fn:id</short_desc>
          <delta_ts>2013-09-01 09:09:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 3.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Graham">tgraham</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <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>92783</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Graham">tgraham</who>
    <bug_when>2013-08-31 16:56:30 +0000</bug_when>
    <thetext>See http://www.w3.org/TR/xpath-functions-30/#func-id

The &apos;V&apos; in &quot;the typed value of the element node is equal to V&quot; is in the text font, whereas the &apos;V&apos; in &quot;whose typed value is equal to V&quot; is in a monospace font.

It&apos;s the same in F+O 1.0.

FWIW, where &apos;V&apos; comes from is not explained, so it&apos;s necessary to just assume it&apos;s one of the &apos;candidate IDREF values&apos; (or candidate ID values for fn:idref).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92787</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-08-31 19:54:16 +0000</bug_when>
    <thetext>I&apos;ve fixed the incorrect font.

The intent here is that E and V are free variables in a definition: it&apos;s defining a function 

function has-id-value(E, V) {
  is-id(E) and data(E) eq V
}

Perhaps it would be clearer to the typical reader if it were done in pseudo-code rather than legalese English.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92792</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Graham">tgraham</who>
    <bug_when>2013-09-01 09:09:15 +0000</bug_when>
    <thetext>I think this is all that would be necessary:

   E has an ID value equal to one of the candidate IDREF values, V, where:</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>