It looks like each Element returned by an extension element function is
stored in DTMDefaultManager as a separate DTM. Because DTMDefaultManager can
only store up to 512 DTMs, it breaks after 511 executions of the extension
element.

Maybe you should store all elements returned by extensions as nodes of a
single DTM instead of storing them as separate DTMs or not store them at
all?

Nick.

> -----Original Message-----
> From: Nicholas Sushkin
> Sent: Thursday, August 23, 2001 1:38 PM
> In 2-2-D9, I am having a problem with an extension element that returns
> org.w3c.dom.Element. After about 500 sucessful invocations of the
> extension function, xalan throws an exception executing my extension
> element. If the same extension function is changed to return void, the
> stylesheet completes fine.

Reply via email to