> Is this the
> correct
> behavior ??
Sounds right to me.
> There does not seem to be a corresponding method on the DTM interface
> to release any resources.
Hmm... I'm not adverse to adding a method for this.
-scott
John Gentilin
<johnglinux@eyecatch To: Xalan Mailing List
<[EMAIL PROTECTED]>
ing.com> cc: (bcc: Scott Boag/CAM/Lotus)
Sent by: Subject: DTM Document Management
[EMAIL PROTECTED]
tching.com
07/31/2001 06:12 PM
Please respond to
xalan-dev
In my extension function, I create a DTM Document and register it with
the manager. After creating and registering the document but prior to
returning it to the Transformer, if an error occurs I create a new DTM
Document and register it with the Manager. This new document describes
the error that occurred, See SQL Extension HowTo (coming soon).
My question is;
Prior to creating the error document, I tell the manager to release the
original document with a flag of true for hard release. Is this the
correct
behavior ?? I am assuming that since I never gave the document back to
the Transformer, it does not know to release it.
There does not seem to be a corresponding method on the DTM interface
to release any resources. This would primarily impact extensions
functions
that may have socket or database connections open but may also have
impact
on a xxx->DTM wrapper function.
JohnG
- DTM Document Management John Gentilin
- Scott_Boag
