From: Panayotis K. <pan...@pa...> - 2010-12-19 15:13:25
|
On Dec 19, 2010, at 3:06 PM, Panayotis Katsaloulis wrote: > I think I found another problem with arrays. > > When using > XMLVMArray createSingleDimensionWithType:size:andData ... I think I found a solution: this method is only called from <xsl:template match="dex:filled-new-array|dex:filled-new-array-range"> which always passes data as XMLVMElem[] I believe there should be a special selector just for this case, something like XMLVMArray createSingleDimensionWithType:size:andXMLVMElem which will hint the runtime that this is not raw data of the given type, but of XMLVMElem. So it will ignore the size of the given type and use size of XMLVMElem instead. |