Oops -- forgot to reply to all. Why doesn't this list default to replying to the list, rather than the poster?

Matt Magoffin wrote:
Matt Magoffin wrote:
What might create such a structure... a document without a root
element
but referred to by 100,000 elements of <token>xyz</token>?
Broken extension function?
I do use two extension functions that return a String instance each, and
another that returns an int. I don't use any extension functions that
return nodes. Would calling such functions end up creating <token>
elements in a DTM instance somewhere?
Do you use any EXSLT string extension functions?  They create result tree
fragments with token element nodes:

http://exslt.org/str/functions/tokenize/index.html

Agh! Indeed there are some uses of that in some stylesheets, I missed it
in my previous searches. So... if that extension function is creating
these huge DTM documents, do you know if they ever get released? Or will
they hang around as long as I I hang on to a Templates object?
I'm not familiar enough with Xalan-J's implementation to help you out.
Perhaps someone on the Xalan-J team can chime in.

Dave

Reply via email to