Re: accessing outer class variables

> 
> The problem with this workaround is that the variables that are passed to
> the constructor of the inner class are not properly typed.
> 
>      DOMBuilderFilter myfilter = new DOMBuilderFilterN1E(this, 1, 1, 2, 3 );
> 
> should be:
> 
>      DOMBuilderFilter myfilter = new DOMBuilderFilterN1E(this, (int)1,
> (short)1, (short)2, (short)3 );
> 

test-to-java.xsl has now been updated to cast numeric literals passed to 
inner class constructor short parameters.  Also, the inner class method 
and attribute production now recurses into the supertype if the 
definition is not found in the derived type which should enable 
DOMWriterFilter.acceptNode to be correctly produced.

Received on Wednesday, 29 January 2003 00:02:23 UTC