<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.jacorb.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://www.jacorb.org/bugzilla/"
          
          maintainer="jacorb@goots.org"
>

    <bug>
          <bug_id>479</bug_id>
          
          <creation_ts>2004-05-10 09:40:22 +0000</creation_ts>
          <short_desc>2.0+ idl compiler cannot compile the idl that has interface inheritance which has the refined attributes.</short_desc>
          <delta_ts>2004-10-04 10:36:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>JacORB</product>
          <component>IDL compiler</component>
          <version>2.2</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="david">wei.guoqiang</reporter>
          <assigned_to name="Simon McQueen">sm</assigned_to>
          <cc>gordon</cc>
    
    <cc>lxhjw2000</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1055</commentid>
    <comment_count>0</comment_count>
    <who name="david">wei.guoqiang</who>
    <bug_when>2004-05-10 09:40:22 +0000</bug_when>
    <thetext>2.0+ idl compiler cannot compile the idl that has interface inheritance which 
has the same attributes. For example, the following idl cannot be compiled 
correctly by 2.0+ idl compiler but can be compiled by 1.4 idl compiler.
module ex{
      interface Top
      {
        readonly attribute string CLASS;
      };

      interface ManagedElement:Top
      {
        readonly attribute string CLASS;
      };</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1056</commentid>
    <comment_count>1</comment_count>
    <who name="Simon McQueen">sm</who>
    <bug_when>2004-05-10 10:33:34 +0000</bug_when>
    <thetext>The CORBA spec (02-06-33) section 3.8.5, page 3.25 - Interface Inheritance says:

&quot;Operation and attribute names are used at run-time by both the stub and dynamic
interfaces. As a result, all operations attributes that might apply to a
particular object
must have unique names. This requirement prohibits redefining an operation or
attribute name in a derived interface, as well as inheriting two operations or
attributes
with the same name.&quot;

So your IDL is incorrect and JacORB is handling it as per the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1155</commentid>
    <comment_count>2</comment_count>
    <who name="Simon McQueen">sm</who>
    <bug_when>2004-10-04 10:36:29 +0000</bug_when>
    <thetext>*** Bug 517 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>