Re: [xsl] How to make this script faster

Subject: Re: [xsl] How to make this script faster
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 16 Nov 2007 18:14:30 -0500
At 05:23 PM 11/16/2007, Abel wrote:
Finally got it downloaded - the server was being very slow.

It's taking a long time because it's fetching the DTD from a remote HTTP
site. Nothing to do with the XSLT code at all

Shouldn't that only happen when you use saxon -v option? Or, put differently, is it possible to tell the processor to skip foreign resources? I usually get a firewall warning so I never run into the problem that Mathieu had, but if you don't know where to look (the 38% processor occupancy mentioned by Matthieu could've been a hint though), it can be pretty frustrating before you find the culprit.

Edging further off topic -- there was a time when it was supposed that including standalone="yes" in your XML declaration would be a way to avoid this sort of thing.


I'm also curious as to Abel's question and specifically whether standalone="yes" might be any help (given that generally DTDs may need to be parsed for reasons other than validation).

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread