<?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>450</bug_id>
          
          <creation_ts>2004-01-28 15:28:56 +0000</creation_ts>
          <short_desc>i2jpackage option causes reject of valid module definition</short_desc>
          <delta_ts>2015-11-03 09:40:30 +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.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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="Steffen Ries">steffen.ries</reporter>
          <assigned_to name="Gerald Brose">gerald.brose</assigned_to>
          <cc>jacorb</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>963</commentid>
    <comment_count>0</comment_count>
    <who name="Steffen Ries">steffen.ries</who>
    <bug_when>2004-01-28 15:28:56 +0000</bug_when>
    <thetext>NameTable.checkScopingRules() checks scoping rules in translated package names
instead of the original package names. This leads to a bogus reject of valid IDL
code, when the option &quot;-i2jpackage&quot; is used.

Example:
$ cat foo.idl
module foo {
	interface bar {
	};
};

$ idl -i2jpackage foo:foo.foo foo.idl
[jacorb.idl] ERROR : foo.idl, line:1(11): Module name foo.foo already defined
	module foo
[jacorb.idl] ERROR : /tmp/foo.idl, line: 5(1): 1 error(s).
	
[jacorb.idl] ERROR : /tmp/foo.idl, line: 5(1): Parse error : Lexer errors


The same problem exists in 1.4.0, 1.4.1 and 2.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3363</commentid>
    <comment_count>1</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2015-11-03 09:40:30 +0000</bug_when>
    <thetext>Fixed by a99073fcf32e4eef6db27a50050f7bef85451031</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>