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 Matt Sergeant other posts by this author
Dec 5 2001 2:22PM messages near this date
view in the new Beta List Site
How to use the dtd... | dgnorm (was: Re: ANN: XML::Xalan 0.32)
>  -----Original Message-----
>  From: Edwin Pratomo [mailto:edwin@[...].org]
>  
>  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. 

The stub-code is there in XML::SAX::PurePerl, I just never got around to
figuring out exactly what I was supposed to pass to the event. So patches
would be most welcome.

>  > 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. 

Interesting. dgnorm wasn't available when I wrote the tests originally - is
it freely available now? Also, would XML::Canonical make them representation
independant? Or does dgnorm do more than that? If so, and if dgnorm isn't
freely available, we should port dgnorm to Perl.

Matt.

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
Thread:
Matt Sergeant
Edwin Pratomo

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