chhe has asked for the wisdom of the Perl Monks concerning the following question:

I'm not quite sure if this the place to ask, anyway ... I'm running on darwin 1.3 (Mac OS X) and using perl 5.6.0. I have a problem with the XML::DOM module: all tests fail. I have expat 1.95.1 and the perl module XML::Parser installed. Both work fine. Anybody knows of the XML::DOM Problem on darwin 1.3? Or can someebody confirm that XML::DOM works on darwin 1.3?

Replies are listed 'Best First'.
Re: XML::DOM on Darwin
by mirod (Canon) on May 17, 2001 at 18:21 UTC

    The ritual question with XML::DOM is... which version are you running? The latest one (in libxml-enno 1.05), works with XML::Parser 2.30 (is this the one you have?) and with the shared version of expat that you can download from sourceforge (http://sourceforge.net/projects/expat/), which is the one you have.

    If you have downloaded the "stand-alone" version of XML::DOM, that can still be found on CPAN (1.25) then you can get it to work with XML::Parser 2.27 and under (which includes expat, and then if you are using apache it's another can of worms...).

    So the problem might be that you are using the stand-alone version of the module.

    That said the CPAN Testers results for libxml-enno are not really encouraging!

      Thanx, yes, i am using the standalone version. I'll go and grab the libxml-enno module.