<?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>29354</bug_id>
          
          <creation_ts>2016-01-01 13:45:32 +0000</creation_ts>
          <short_desc>Unreserved characters in regular expression matching tests</short_desc>
          <delta_ts>2016-01-05 17:40:24 +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>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Benito van der Zander">benito</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>mike</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>124502</commentid>
    <comment_count>0</comment_count>
    <who name="Benito van der Zander">benito</who>
    <bug_when>2016-01-01 13:45:32 +0000</bug_when>
    <thetext>The regular expression syntax test cases in matches.re.xml test if \p{block} matches every character in that unicode code block, even characters that are non-assigned,  e.g. &amp;#1328; for Armenian or &amp;#1983; for Thaana.  
It does not make much sense to test for characters that do not actually exist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124504</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-01-01 22:47:46 +0000</bug_when>
    <thetext>The fact that a test &quot;does not make much sense&quot; seems irrelevant to me. The question is, what does the spec say that an implementation should do with a given query? 

As far as I can see, the codepoints 1328 and 1983 are legal codepoints in XML, and they are defined in the Unicode database (specifically, the blocks.txt file) to be within the range of a particular block, and should therefore match \p{IsBlock} for that block.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124523</commentid>
    <comment_count>2</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2016-01-05 17:40:24 +0000</bug_when>
    <thetext>The WG decision that the test is valid:

The key rationale is to decouple our spec from Unicode:  using an unassigned character may be (perhaps is) a violation of the agreement between data source and data sink, if they have agreed to use a particular version of Unicode.
But it is not (and should not be) a violation of our specs.
Unicode may assign the character next month or next year, and it should be possible to use the character then, in a conforming implementation.
That means it must be possible *now* to use it in a conforming implementation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>