10kb isn't large a stylesheet, nor is 1mb for an xml file really...

Both should work fine - as for a 10kb style and a 28kb xml file taking 4
minutes, thats just silly.

Your stylesheet must be really, really, badly constructed.  If you post
some of it (maybe to the xsl-list) someone will be able to help you
optimise it.

cheers
andrew



MZ wrote: 
I tried to use Saxon, but got the same results... it just hangs...  I
think this is caused by the fact that the xsl is complex and large
(10kb) AND the input XML is large. If I try with input xml of 28kb, I
get output after 4 minutes.  Around 15kb, I get output after waiting for
a minute for the processor to finish.  So, it's not a stylesheet bug,
it's just that Xalan is too slow.  I have to deal with xml file that are
more than 1MB, so xalan's performance is critical for me.  What can be
done about this problem?

-----Original Message-----
From: Joseph Kesselman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: FW: transformer hangs


XSLT is a programming language, and it's possible to have infinite loops
or similar problems in your stylesheet which are only provoked by
certain specific sets of input. So the suggestion to try another
processor for comparison is not a bad one; if the test fails in both
processors, it probably is a stylesheet bug rather than a processor bug.

If Saxon (or whichever) does run it cleanly you may have to send the
Xalan team a copy of your failing stylesheet and document, so we can
watch it fail "in the lab" and see what it's actually doing. Or fire up
a debugger and trace it through yourself; this is open-source code,
after all, which means everyone's encouraged to help us analyse and
improve it.

______________________________________
Joe Kesselman / IBM Research


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
 

Reply via email to