[omniORB] cannot marshal a null fixed
   
    Duncan Grisby
     
    duncan@grisby.org
       
    Mon Mar 10 12:07:42 2003
    
    
  
On Friday 7 March, "Renzo Tomaselli" wrote:
>     back on fixed values again. I noticed that when we have:
> 
> CORBA::Fixed f = "0";
> 
> it succeeds yielding a <0,0> fixed, but then any attempt to feed this fixed
> into an Any fails at corbaFixed.cc, line #1153, asserting that pd_digits
> should not be null.
It is not legal to have a fixed typecode with zero digits. It's wrong
that you should be able to create one. I've checked in a fix that
throws BAD_PARAM if you try to create a fixed typecode with digits of
zero.
Cheers,
Duncan.
-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --