<?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>21314</bug_id>
          
          <creation_ts>2013-03-17 13:07:22 +0000</creation_ts>
          <short_desc>update dependencies type=&quot;feature&quot;</short_desc>
          <delta_ts>2013-05-01 12:10:26 +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>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="Sorin Nasoi">spungi</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>84526</commentid>
    <comment_count>0</comment_count>
      <attachid>1341</attachid>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2013-03-17 13:07:22 +0000</bug_when>
    <thetext>Created attachment 1341
Report generated using the tools/dependencies.xq

The attached report was generated using the tools/dependencies.xq query provided in FOTS as of March 17th.

At this moment there are a few questions I would have wrt. dependencies with type=&quot;feature&quot;:

1) shouldn&apos;t there be a 1 to 1 relation between the official optional features as defined in the spec
http://www.w3.org/TR/xquery-30/#id-conform-optional-features)
and the features defined in FOTS?

1.1) If not, IMHO the ones that are not defined in the spec should have some information added in the catalog-schema.xsd such that it&apos;s clear for everyone what they stand for.

For example what does the &apos;collection-stability&apos; stands for?
How about &apos;xpath-1.0-compatibility&apos; or &apos;directory-as-collection-uri&apos; or &apos;schema-location-hint&apos;?

2) From what I understand, the &apos;schemaValidation&apos; and &apos;schemaImport&apos; were merged into &apos;schemaAware&apos; right?
If so the test cases need to be updated also.
Also &apos;moduleImport&apos; should be updated to &apos;module&apos; for consistency to the spec.

3) Should the spec add an optional feature for &apos;namespace-axis&apos; ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84714</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-03-20 10:15:13 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; 1) shouldn&apos;t there be a 1 to 1 relation between the official optional
&gt; features as defined in the spec
&gt; http://www.w3.org/TR/xquery-30/#id-conform-optional-features)
&gt; and the features defined in FOTS?

The intent was that the values under dependency type=&apos;feature&apos; should contain the group of optional-features from the relevant section in the spec and a derived group of features which are defined throughout the spec as optional for implementations. For example in the spec (see: http://www.w3.org/TR/xquery-30/#id-basics) it states  that the namespace-axis is optional for implementations.

 
&gt; 1.1) If not, IMHO the ones that are not defined in the spec should have some
&gt; information added in the catalog-schema.xsd such that it&apos;s clear for
&gt; everyone what they stand for.

The features gathered from the query dependencies.xq do all appear somewhere in the spec. Nevertheless, as you have stated we need to document them somewhere.

I hope to do this. Any suggestions?
 
We can provide some documentation in catalog-schema.xsd relating to the references of the features in the spec, but this is only possible as comment documentation. Anything more we would need to be using schema 1.1, which is not good, we would be destabilize people&apos;s test drivers.

We could also do this all in query to map the features to references in the spec.



&gt; 
&gt; 2) From what I understand, the &apos;schemaValidation&apos; and &apos;schemaImport&apos; were
&gt; merged into &apos;schemaAware&apos; right?
&gt; If so the test cases need to be updated also.
&gt; Also &apos;moduleImport&apos; should be updated to &apos;module&apos; for consistency to the
&gt; spec.

Maybe you are right. But I am not sure. Maybe someone can comment on this.

 
&gt; 3) Should the spec add an optional feature for &apos;namespace-axis&apos; ?

No. I think I have have addressed this under point 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87097</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-01 12:10:26 +0000</bug_when>
    <thetext>I have improved the documentation on dependencies in the catalog available at

http://dev.w3.org/2011/QT3-test-suite/guide/running.html

I think that&apos;s the best I can do at the moment and propose to close this as resolved; please re-open if there is still a problem.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1341</attachid>
            <date>2013-03-17 13:07:22 +0000</date>
            <delta_ts>2013-03-17 13:07:22 +0000</delta_ts>
            <desc>Report generated using the tools/dependencies.xq</desc>
            <filename>report_dependencies_FOTS.xml</filename>
            <type>text/xml</type>
            <size>3139</size>
            <attacher name="Sorin Nasoi">spungi</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlcG9ydD4KICA8ZGVwZW5k
ZW5jeSB0eXBlPSJzcGVjIj4KICAgIDx2YWx1ZSBudW1iZXItb2YtdGVzdHM9IjM0MyI+WFAzMCsg
WFExMCs8L3ZhbHVlPgogICAgPHZhbHVlIG51bWJlci1vZi10ZXN0cz0iMzQ1NCI+WFAzMCsgWFEz
MCs8L3ZhbHVlPgogICAgPHZhbHVlIG51bWJlci1vZi10ZXN0cz0iMTE4NSI+WFEzMCs8L3ZhbHVl
PgogICAgPHZhbHVlIG51bWJlci1vZi10ZXN0cz0iNjg0MCI+WFExMCs8L3ZhbHVlPgogICAgPHZh
bHVlIG51bWJlci1vZi10ZXN0cz0iNyI+WFExMCsgWFAzMCs8L3ZhbHVlPgogICAgPHZhbHVlIG51
bWJlci1vZi10ZXN0cz0iMTEiPlhQMjAgWFExMDwvdm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