PR# 13902 ECF: same cluster tag at different nested levels

Problem Report Summary
Submitter: ericbe
Category: Other
Priority: Medium
Date: 2008/01/21
Class: Bug
Severity: Serious
Number: 13902
Release: 6.2.7.1786
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648)
Synopsis: ECF: same cluster tag at different nested levels

Description
When I try to compile my application with this ECF file:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<?xml version="1.0" encoding="ISO-8859-1"?>
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-3-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-3-0 http://www.eiffel.com/developers/xml/configuration-1-3-0.xsd" name="app">
  <target name="app">
    <root class="APP" feature="make"/>
    <library name="base" location="${ISE_EIFFEL}/library/base/base.ecf" readonly="true"/>
    <cluster name="foo" location="foo_path">
      <cluster name="bar" location="$|bar"/>
    </cluster>
    <cluster name="bar" location="bar_path"/>
  </target>
</system>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I get this error:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Parse error in app.ecf (line 9, column 42): Invalid cluster tag there is
already a group with the name bar.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

First, there is a comma or a period missing in the error message between
tag and there.

What I don't understand is why this is an error in ECF. The two clusters
with name "bar" are not at the same level, so there should not be any
ambiguity. We can reference the top level cluster using the name "bar"
and the nested cluster using the name "foo/bar" (other something like 
that).
To Reproduce

										
Problem Report Interactions