|
darobin writes "XML::SAX::Expat was just released to CPAN. Part of the ongoing PerlSAX2 effort, it provides a SAX2 interface over Expat and can thus replace XML::Parser and XML::Parser::PerlSAX.
The advantages of SAX over, say, a raw parser interface such as that of XML::Parser is that you get standard events no matter which parser you use, even if that parser isn't parsing XML. The advantages of SAX2 over SAX1 are a cleaner interface and namespace support.
Of course, don't rush to replace your production code with this just now, as some minor parts are still missing, and as it hasn't yet been sufficiently tested. But you can start thinking about much cleaner code that, for instance, won't need all those hacks that were previously required to get namespace support. So please test it, and enjoy !"
This comes on the heels of Matt Sergeant's XML::SAX announcement the other day.
|