Hi, Scott,

I am really interested in the implementation of DTM, can you please tell
me where I can find more documents about this? The one on Apache's
website is pretty plain. Or some messages on this list, at least, which
class I can start?

Many thanks.

Li

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 12:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Xalan 2.2.0D6 has great performance gain!



> Is this
> because of the usage of DTM?

In some ways it is unfortunate that there are several changes from 2.1.0
to
2.2.0D6, so it's a little hard to tell exactly where the exact
improvement
is.  There is some element indexing in the DTM that might account for
this.
Also, the iterators were rewritten to be far simpler and less buggy
(though
less incremental) for what I call criss-cross patterns like
"//foo/bar"
(i.e. patterns that don't return document order naturally).  Possibly a
combination of the these.

> Is this because some default behavior of Xalan is changed? I saw
> some post about the namespace stuff. Any insight would be appreciated.

Is it possible for you to write a reproduceable test case?  This may or
may
not be a bug, and we need to get to the bottom of it as soon as
possible.

-scott




 

                    "Li Liang"

                    <lliang@first        To:
<[EMAIL PROTECTED]>                                        
                    rain.com>            cc:     (bcc: Scott
Boag/CAM/Lotus)                                       
                                         Subject:     Xalan 2.2.0D6 has
great performance gain!                    
                    07/06/2001

                    10:26 AM

                    Please

                    respond to

                    xalan-dev

 

 






Hi,

I've tried the 2.2D6 with my xml/xsl pair, here's the result:

2.1        22 Seconds
2.2        4 Seconds

The xml is 13k, xsl has some "//foo/bar". This is HUGE gain. Is this
because of the usage of DTM? If it is, I really like to know some
benchmark numbers about it, and where can I find more details about this
implementation?


Just one thing strange, I have a custom XSLTAdaptor, which will traverse
a DOM tree and fire SAX events to Xalan, it worked perfectly with 2.0,
2.1, but 2.2 output nothing except the declaration "<? xml version=1.0
?>". Is this because some default behavior of Xalan is changed? I saw
some post about the namespace stuff. Any insight would be appreciated.

Keep the good work!

Li




Reply via email to