<?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>29826</bug_id>
          
          <creation_ts>2016-09-19 13:44:15 +0000</creation_ts>
          <short_desc>[xslt30ts] mode-1702a</short_desc>
          <delta_ts>2016-11-03 15:58:56 +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 Test Suite</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Abel Braaksma">abel.online</assigned_to>
          <cc>abel.braaksma</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>127407</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-09-19 13:44:15 +0000</bug_when>
    <thetext>This test expects error XTDE0045. I don&apos;t think it should expect an error.

The error condition reads: If the invocation of the stylesheet specifies an initial mode that does not match the expanded QName in the name attribute of any non-private mode in the top-level package, then a dynamic error occurs if either (a) the effective value of declared-modes on the top-level package is yes, or (b) the initial mode is not the unnamed mode and does not match the expanded QName in the mode attribute of any template rule defined in the stylesheet.

In test mode-1702a, condition (a) is false because declared-modes=&quot;no&quot;, and condition (b) is false because the initial mode is the unnamed mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128037</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-11-03 15:58:56 +0000</bug_when>
    <thetext>I have changed the test to use an implicit named mode.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>