<?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>6591</bug_id>
          
          <creation_ts>2009-02-17 10:08:25 +0000</creation_ts>
          <short_desc>[FO] id() &quot;Parsed as if IDREFS&quot;</short_desc>
          <delta_ts>2009-06-30 09:05:48 +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 1.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</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>23787</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-02-17 10:08:25 +0000</bug_when>
    <thetext>The description of the id() function, and of the new element-with-id() function, says that &quot;Each xs:string in $arg is parsed as if it were of type IDREFS&quot;. If this were taken literally, an error condition would result if the string did not contain at least one token, since xs:IDREFS has a minLength of 1. The subsequent text of the paragraph makes it clear this is not the intent, but the phrase is nevertheless misleading. 

Proposal: change the sentence from

&quot;Each xs:string in $arg is parsed as if it were of type IDREFS, that is, each xs:string in $arg is treated as a whitespace-separated sequence of tokens, each acting as an IDREF.&quot; 

to

&quot;Each xs:string in $arg is treated as a whitespace-separated sequence of tokens, each acting as an IDREF.&quot;

Furthermore, later in the paragraph there is some confusing typography, where &quot;IDREF&quot; in small caps is followed by a lower-case &quot;s&quot; in normal font; it takes a keen eye to spot that this is the plural of IDREF rather than the word &quot;IDREFS&quot;. I propose to change it to &quot;IDREF values&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25819</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-06-30 09:05:34 +0000</bug_when>
    <thetext>The proposal was accepted by the WG on 17 March 2009 and erratum E48 has been issued. The bug is therefore being marked as Fixed and Closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>