PR# 19418 Default value for capability

Problem Report Summary
Submitter: gobobe
Category: Documentation
Priority: Low
Date: 2017/12/06
Class: Documentation
Severity: Non-critical
Number: 19418
Release: 17.05
Confidential: No
Status: Closed
Responsible:
Environment: win
Synopsis: Default value for capability

Description
https://www.eiffel.com/developers/xml/configuration-1-16-0.xsd says:

~~~~~~~
<xs:attribute name="support" type="code_list" use="optional" default="standard">
    <xs:annotation><xs:documentation>
		An unordered capability, multiple values can be specified at the same time.
		If unspecified, any code kind is supported.
~~~~~~~

The annotation and the default attribute are contradictory.

As a side note, it is not clear to me what the separator is when we want to provide multiple values.
				
To Reproduce

										
Problem Report Interactions
From:alexk_es    Date:2018/02/12    Status: Closed    Download   
The web version is updated.

From:alexk_es    Date:2018/01/17    Status: Open    Download   
Thank you for your report. Indeed, the corresponding capabilities have been planned, but never implemented. The updated version of the schema is committed at rev#101242. The web version will be updated shortly.

From:gobobe    Date:2017/12/07    Status: Open    Download   
The same is true with the capability 'platform'. It is supposed to supersede the setting 'platform'. But I didn't find the capability 'platform' in any of the ECF files provided in the EiffelStudio distribution. They all use the setting 'platform'. And when I try to use the capability 'platform' in my ECF file I get this error:

-------------------------------------------------------------------------------
Error code: VD00

General configuration parsing error.
What to do: fix the configuration file.

Parse error (XML syntax)  in C:\DriveE\gobo\gobo.dev\library\tools\test\eiffel\ecf\eadq\test4\system.ecf (line 12, column 27): Invalid tag/tag position 'platform'
-------------------------------------------------------------------------------

So, if the capabilities 'code' and 'platform' are not supported and the old settings are to be used, I think that the file:

https://www.eiffel.com/developers/xml/configuration-1-16-0.xsd

should be fixed accordingly.

From:gobobe    Date:2017/12/07    Status: Open    Download   
I forgot to mention that this is for the capability 'code':

~~~~~~~~~~~~~~~~~~~~~
<xs:complexType name="capability">
   <xs:all>
         <xs:element name="catcall_detection" type="capability.catcall_detection" minOccurs="0"/>
         <xs:element name="code" type="capability.code" minOccurs="0"/>
~~~~~~~~~~~~~~~~~~~~~

Now I wonder whether the capability 'code' is really part of ECF 1.16.0 or not. When I include this:

~~~~~~~~~~~~~~~~~~~~~
<capability>
        <code support="dotnet"/>
</capability>
~~~~~~~~~~~~~~~~~~~~~

in my ECF file, I get this error:

~~~~~~~~~~~~~~~~~~~~~
Error code: VD00

General configuration parsing error.
What to do: fix the configuration file.

Parse error (XML syntax)  in C:\DriveE\gobo\gobo.dev\library\tools\test\eiffel\ecf\eadq\test4\system.ecf (line 12, column 26): Invalid tag/tag position 'code'
~~~~~~~~~~~~~~~~~~~~~

And there is no usage of <code> in any of the ECF files provided in the EiffelStudio distribution. What I could find is the followi
....
Output truncated, Click download to get the full message