W3C home > Mailing lists > Public > www-dom-ts@w3.org > January 2003

Re: accessing outer class variables

From: Curt Arnold <carnold@houston.rr.com>
Date: Tue, 28 Jan 2003 23:02:14 -0600
Message-ID: <3E376056.4020302@houston.rr.com>
To: jeroen@x-hive.com, www-dom-ts@w3.org

> 
> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:06 UTC