<?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>4685</bug_id>
          
          <creation_ts>2007-06-21 17:31:49 +0000</creation_ts>
          <short_desc>Prefix should be allowed in front of deref() in identity constraint xpaths</short_desc>
          <delta_ts>2007-07-25 07:24:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SML</product>
          <component>Core</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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>normal</bug_severity>
          <target_milestone>FPWD</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="Kumar Pandit">kumarp</assigned_to>
          
          
          <qa_contact name="SML Working Group discussion list">public-sml</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15507</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-06-21 17:31:49 +0000</bug_when>
    <thetext>The current BNF that describes the XPath subset used for SML identity constraints allows the deref() function. But it doesn&apos;t allow the form prefix:deref(). (The prefix is needed, given that deref() belongs to the SML functions namespace.)

Suggest to replace occurrences of

&apos;deref(&apos;

with

(NCName &apos;:&apos;)? &apos;deref(&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15739</commentid>
    <comment_count>1</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2007-07-05 18:45:49 +0000</bug_when>
    <thetext>Decision is to fix in FPWD and Michael will open another issue to discuss whether to remove this BNF in favor of referencing the XPath spec and using prose.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15912</commentid>
    <comment_count>2</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2007-07-25 07:24:19 +0000</bug_when>
    <thetext>changed the BNF to:

Selector ::= Path ( &apos;|&apos; Path)*
Path ::= (&apos;.//&apos;)? Step ( &apos;/&apos; Step)* | DerefExpr
DerefExpr ::= (NCName &apos;:&apos;)? &apos;deref(&apos; Step (/Step)* &apos;)&apos;  (&apos;/&apos;Step)* |
              (NCName &apos;:&apos;)? &apos;deref(&apos; DerefExpr &apos;)&apos; (/Step)*
Step::= &apos;.&apos; | NameTest
NameTest ::= QName |&apos;*&apos; | NCName &apos;:&apos; &apos;*&apos;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>