All: Another idea is to make the patches in SQL::Translator::Parser::XML::SQLFairy directly, but maintain backward compatibility with XML::XPath and (optionally) emit a warning stating that XML::XPath support is now deprecated.
There is already a patch which can be adapted for this purpose, however the proposed patch replaces XML::XPath entirely, which I'm not sure is the best idea, given the user base we need to support. For the diff of the patch, see: http://rt.cpan.org/Public/Bug/Display.html?id=32130 So far I have made a module locally in SQL::Translator::Parser::XML::LibXML (copied from ::SQLFairy), but I'm not sure it's the most logical name for it, and it probably belongs in SQL::Translator::Parser::SQLFairy. Thanks in advance for any advice or criticism you can offer in this respect. Cheers, Jonathan On Sun, May 17, 2009 at 9:59 AM, Jonathan Yu <jonathan.i...@gmail.com> wrote: > Hi all: > > Debian's XML::XPath package is on the verge of deprecation or even > removal because it looks like it's not maintained very well > (http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/3438368). > Since SQL::Translator is the only package that depends on XML::XPath > (ie, it cannot use anything else), I have been asked to try to fix it > upstream (ie in sqlfairy) rather than via a bunch of patches in Debian > that can break the API. There are two other packages in Debian which > also use XML::XPath, but do so as an alternative in case XML::LibXML > is unavailable. This is what I intend for SQL::Translator. > > See the bug report filed against > SQL::Translator/libsql-translator-perl for details: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459583 > > If there is no objection, I will begin working on an alternative > module right away, and we can deprecate the original one depending on > XML::XPath at a later date. The module I will be using is the newer > and faster module I'm already familiar with, XML::LibXML. > > I'd like to see what everyone else thinks. > > Cheers, > > Jonathan > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -- sqlfairy-developers mailing list sqlfairy-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlfairy-developers