<?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>2732</bug_id>
          
          <creation_ts>2006-01-20 16:22:23 +0000</creation_ts>
          <short_desc>Non-capturing subexpressions</short_desc>
          <delta_ts>2007-02-25 23:27:53 +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>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Ashok Malhotra">ashok.malhotra</reporter>
          <assigned_to name="Ashok Malhotra">ashok.malhotra</assigned_to>
          <cc>bjoern</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>7889</commentid>
    <comment_count>0</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2006-01-20 16:22:24 +0000</bug_when>
    <thetext>Opened: 2006-01-15 19:30

http://www.w3.org/TR/2005/CR-xpath-functions-20051103/ extends the semantics
of the regular expressions defined in XML Schema 1.0 to allow for capture
buffers; I would like to re-use regular expressions as de- fined in the
candidate recommendation in a DTLL-like format, but an imporant requirement is
automatic assignment of names for the captured substrings based on the index
number of the parenthesized sub-expression as defined in the technical report.

This is not feasible however with the current syntax as it does not allow
non-capturing sub-expressions, so I would have to further extend the format
which makes sharing of regular expressions and regex engines difficult. In fact,
in order to re-use regular expressions as found on many web sites and programs,
and as produced by many tools, one would first have to re-write them to fit into
this model.

I thus think the regular expression syntax should further be extended to allow
for non-capturing sub-expressions using a syntax like (?:...) as is available in
most other regular expression formats.

regards,
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh.
Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8096</commentid>
    <comment_count>1</comment_count>
    <who name="Liam R E Quin">liam</who>
    <bug_when>2006-02-01 21:05:24 +0000</bug_when>
    <thetext>Thank you for your comment.  The joint XSL and Query Working Groups agreed that
yes, this could be useful, and it will be considered for a later version.

We are not easily able to add new features at this stage.

Liam (pp. XQuery + XSL Working Groups)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8549</commentid>
    <comment_count>2</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2006-03-04 23:29:00 +0000</bug_when>
    <thetext>Is comment #1 supposed to formally address this issue? I never heard of this 
response and found it only by accident. Is there publicly archived evidence 
that the Working Groups actually sent the response to me? In that case I would 
appreciate a pointer so I can figure out what&apos;s wrong with my mail setup.

The response is not acceptable to me, I did not ask whether the Working Group 
could easily make this change, but that it makes this change. As I pointed out, 
my implementation experience is that the current design is not suitable for a 
number of important use cases, and it is not clear to me that it would be 
reasonable to assume that making this change would invalidate an individuals 
review or implementation experience. Therefore, the Working Group would need to 
come up with a more technically sound response for me to withdraw the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8552</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-03-05 00:28:39 +0000</bug_when>
    <thetext>We normally work on the basis that if we add a comment to a bugzilla entry,
Bugzilla automatically notifies the originator that the comment has been added.

I think Liam might have been assuming you were more familiar with W3C processes
than appears to be the case. During Candidate Recommendation phase, requests for
new features and facilities stand almost no chance of acceptance in that round
of the spec, unless you can demonstrate convincing evidence that the language is
unusable or unimplementable without the change being made. Although your request
is a perfectly reasonable suggestion for useful added functionality, it clearly
doesn&apos;t fall into that category.

Michael Kay
(personal response)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8616</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2006-03-07 17:28:20 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Is comment #1 supposed to formally address this issue? I never heard of this 
&gt; response and found it only by accident. Is there publicly archived evidence 
&gt; that the Working Groups actually sent the response to me? In that case I would 
&gt; appreciate a pointer so I can figure out what&apos;s wrong with my mail setup.

Apologies. This bugzilla entry was made on your behalf, but Ashok missed adding you to the cc list. I have done so, so you should be apprised of any further discussion of this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8620</commentid>
    <comment_count>5</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2006-03-08 13:55:24 +0000</bug_when>
    <thetext>The joint WGs discussed your request on the March 7 telcon.
It was pointed out that you had not made this request on earlier
versions of the documents.  Also, it requests new functionality that
is not germane to the languages we are standardizing.

If you wish, we can consider the requested functionality for the
next version of these languages.

Please let us know if this is satisfactory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14111</commentid>
    <comment_count>6</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2007-02-25 23:27:53 +0000</bug_when>
    <thetext>Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>