ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: ANN: XML::Xalan 0.32
by Edwin Pratomo other posts by this author
Dec 5 2001 1:39PM messages near this date
view in the new Beta List Site
XML::Parser External Entities | Re: How can I use xml file encode gb2312 with XML::Parser
Duncan Cameron wrote:
>  >
>  >Since version 0.30, it provides SAX2 handlers, so it can transform
>  >documents parsed by any Perl SAX2 conformant parser.
>  >Tested with XML::SAX::PurePerl and XML::LibXML::SAX::Parser.
>  
>  Works with XML::SAX::Expat too!

good news! 
I'm also interested to hear about any SAX parser/driver/generator that
supports LexicalHandler feature, so I can give the lexical handler a
test. 

>  
>  It seems to be astoundingly fast. I've run Matt's benchmark.pl
>  and Xalan is generally 2/3/4x the throughput of LibXSLT,
>  which is itself slightly faster than Sablotron. But on some
>  test cases Xalan is 15x the throughput. This is on a Win98
>  machine so the meaurements are not going to be necessarily
>  accurate or repeatable.

So the result is quite platform dependent. Thanks for running the
xsltmark on win98 and reporting back the result. 
Some time ago I did the benchmark on Linux, RH 6.1 (or 6.2, not sure),
using benchmark.pl which has been modified to use dgnorm, instead of
XML::XPath, since I'm not patient enough to wait for the result :-)
Somehow, the comparator speed seems to affect the benchmark result. 

My result was XML::LibXSLT (based on libxml2) is the speed king,
followed by XML::Xalan. I also ran Saxon, using the original xsltmark
driver of course, which is in Java. Saxon finished third. XML::Sablotron
fourth, and failed on several tests. 

>  
>  The only problem was having to download a 23Mb Apache Xalan
>  Win32 distribution.  Wouldl it be possible to bundle the

That's called bandwidth problem :-)

>  appropriate dll's (there seem to be 12 Xalan dlls and one
>  Xerces dll, in total about 3Mb) into the Perl package?

Perhaps I can do it for Xalan 1.3. Or maybe someone else can maintain
this win32 ppm package? 
All you need is MSVC++ + SP3 + dinkumware fixes, and.. bandwidth :-)

rgds,
Edwin.

-- 
CPAN home: http://search.cpan.org/search?author=edpratomo
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved