<?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>2776</bug_id>
          
          <creation_ts>2006-01-27 19:07:30 +0000</creation_ts>
          <short_desc>Allow weight to be any numeric value</short_desc>
          <delta_ts>2006-05-01 18:28:29 +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>Full Text 1.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mary Holstege">holstege</reporter>
          <assigned_to name="Sihem Amer-Yahia">sihem</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>8008</commentid>
    <comment_count>0</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2006-01-27 19:07:30 +0000</bug_when>
    <thetext>There is no reason why weight should have to be specified with a
numeric literal, much less a decimal one.  

Proposal: 
Change the FTSelection production to:

FTSelection ::= FTOr (FTMatchOption | FTProximity)* (&quot;weight&quot; ExprSingle)?

with the constraint that the ExprSingle must resolve to a numeric value.

It also looks like a section on weights is missing from 3.1 (2.2.1 
promises such a section, but it doesn&apos;t materialize); either put this 
constraint there, or put it in 2.2.1 and remove the vacuous forward reference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9415</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2006-04-24 15:47:22 +0000</bug_when>
    <thetext>The dangling forward reference still exists in the latest draft
and the requirement that weights be literals also still exists in
the latest draft.  If the WG decided to keep weights as literals
we would appreciate a rationale (and the bug should be more properly
marked as WONTFIX), but in any case the editorial part of this 
comment needs to be addressed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>