<?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>20060</bug_id>
          
          <creation_ts>2012-11-23 13:24:45 +0000</creation_ts>
          <short_desc>[XT3TS] as-2904</short_desc>
          <delta_ts>2013-12-09 12:25:17 +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>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 3.1</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="Tim Mills">tim</reporter>
          <assigned_to name="Abel Braaksma">abel.online</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>78694</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-11-23 13:24:45 +0000</bug_when>
    <thetext>This test performs validation without importing any schemas.  I suspect that otherwise the in-scope schema definitions is implementation defined.

In our old test suite, we had a hack to import any schemas referenced in the catalog into the static context before compiling.  It would be nice not to have this hack in the new test suite.

Without the import, static type analysis can prove that the validation will fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78698</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-11-23 13:52:53 +0000</bug_when>
    <thetext>as-2906 has a similar problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79976</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-12-11 22:52:28 +0000</bug_when>
    <thetext>I think you probably have an argument here. The spec says:

The components in the schema constructed from the synthetic schema document (see 3.16 Importing Schema Components) will always be available for validating constructed nodes; if additional schema components are needed, they may be located in other ways, for example implicitly from knowledge of the namespace in which the elements and attributes appear, or using the xsi:schemaLocation attribute of elements within the tree being validated.

In other words, if we want to ensure interoperable behaviour, we need to have an xsl:import-schema declaration for the schema components needed for validation.

It seems to me rather restrictive for a product to allow validation only against a schema that is known statically, but it seems clear from the spec that a conformant product is allowed to impose this restriction.

So I have changed the tests accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97313</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2013-12-09 12:25:17 +0000</bug_when>
    <thetext>Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>