<?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>24618</bug_id>
          
          <creation_ts>2014-02-11 09:17:17 +0000</creation_ts>
          <short_desc>xsl:analyze-string and fn:analyze-string</short_desc>
          <delta_ts>2014-02-16 08:37:45 +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>XSLT 3.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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="Innovimax">innovimax+w3c</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>cmsmcq</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>100254</commentid>
    <comment_count>0</comment_count>
    <who name="Innovimax">innovimax+w3c</who>
    <bug_when>2014-02-11 09:17:17 +0000</bug_when>
    <thetext>It would be good to add a relation between

XSLT 3.0 xsl:analyze-string and F&amp;O fn:analyze-string

[1] http://www.w3.org/TR/xslt-30/#analyze-string
[2] www.w3.org/TR/xpath-functions-30/#func-analyze-string</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100255</commentid>
    <comment_count>1</comment_count>
    <who name="Innovimax">innovimax+w3c</who>
    <bug_when>2014-02-11 09:21:26 +0000</bug_when>
    <thetext>here is the email from the archive https://lists.w3.org/Archives/Member/w3c-xsl-wg/2014Jan/0011.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100509</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-13 11:58:46 +0000</bug_when>
    <thetext>We discussed this issue in Prague.  By &quot;adding a relation&quot; between the two, the bug report means demonstrating their equivalence by showing that the one can be implemented in terms of the other.  Some expressed the view that either could be implemented in terms of the other (at least in the sense that a stylesheet using either could be rewritten to a stylesheet using the other).

Some WG members felt that the only really important relation here was that they are two approaches to providing similar functionality; for that, a hyperlink and some prose should suffice.  This has the advantage that it&apos;s unlikely to elicit bug reports about corner cases.  

Note also that xsl:analyze-string supports zero-width matches, while fn:analyze-string() doesn&apos;t.  FG has sent mail to the discussion list with an example which can be done in fn:analyze-string() but not (or not conveniently) in xsl:analyze-string:  fn:analyze-string returns information about position of captured substrings, which would be impossible in the general case to recreate with xsl:analyze-string.

MoZ suggested that capturing such lack of equivalence would also be interesting for the note.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100701</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-16 08:37:45 +0000</bug_when>
    <thetext>I have rephrased the introductory material at the start of section 17 to describe the relationship of xsl:analye-string and fn:analyze-string in more detail, replacing the existing note.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>