I have a feeling that the implementation of collection() in Saxon
could be improved for documents with a DTD. I don't think their
loading can be turned off?
If a directory contains just a handful of XHTML documents loading DTDs
over the net, even the most simple use of collection() like for
generating a list of filenames in a directory can take minutes. When I
delete the DTD declarations as a test, the function is generating the
same list in a few seconds.
Cheers,
Jesper Tverskov
http://www.xmlplease.com/xslt
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--