For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2007 > XML::Rules tests [was: Re: XML::LibXML navigation]









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XML::Rules tests [was: Re: XML::LibXML navigation]
Igor Sutton

2007-01-22, 6:58 pm

Hi Jenda,

I read your message and gave XML::Rules a try, but the tests aren't ok
on Linux. You can change the last line of t/boilerplate.t from

module_boilerplate_ok(File::Spec->catfile('\lib\XML\Rules.pm');

to

module_boilerplate_ok(File::Spec->catfile(qw(lib XML Rules.pm)));

Keep up the good work :)

--
Igor Sutton Lopes <igor.sutton@gmail.com>
Jenda Krynicky

2007-01-22, 6:58 pm

From: "Igor Sutton" <igor.sutton@gmail.com>
> Hi Jenda,
>
> I read your message and gave XML::Rules a try, but the tests aren't ok
> on Linux. You can change the last line of t/boilerplate.t from
>
> module_boilerplate_ok(File::Spec->catfile('\lib\XML\Rules.pm');
>
> to
>
> module_boilerplate_ok(File::Spec->catfile(qw(lib XML Rules.pm)));
>
> Keep up the good work :)


Thanks! I knew there are some problems with the tests, but I did not
expect problems in the Module::Build generated code. I'll release the
update today! Hopefully there are no more problems.

Jenda
===== Jenda@Krynicky.cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery

Beginner

2007-01-22, 6:58 pm

On 22 Jan 2007 at 16:42, Igor Sutton wrote:

> Hi Jenda,
>
> I read your message and gave XML::Rules a try, but the tests aren't ok
> on Linux. You can change the last line of t/boilerplate.t from
>
> module_boilerplate_ok(File::Spec->catfile('\lib\XML\Rules.pm');
>
> to
>
> module_boilerplate_ok(File::Spec->catfile(qw(lib XML Rules.pm)));
>
> Keep up the good work :)
>
> --
> Igor Sutton Lopes <igor.sutton@gmail.com>



Yes I think Jenda has been away from his machine for a bit, welcome
back Jenda.

XML::LibXML2 doesn't install unless you have a very specific version
of the LIBXML2 libraries installed on your host:

....snip
[2,4,29,0], # broken
[2,4,30,0], # broken
[2,5,0,0], # unsupported
[2,5,1,0], # all pre 2.5.4 version have broken
[2,5,5,0], # tests pass, but known as broken
[2,5,11,0], # will partially work
[2,6,0,0], # unsupported
[2,6,4,0], # schema error
[2,6,5,0], # broken xincludes
[2,6,15,0],
# [2,6,16,1], # first version to pass all tests
[2,6,19,1], # up to 2.6.19 all ok
[2,6,20,0], # broken schemas
[2,6,24,1], # all tests pass
[2,6,25,0], # broken XPath
[2,6,27,1], # tested, works ok
);

There are other modules, can't say I have tried XML::Rules but, for
me, the speed and flexibility of XML::LibXML2 makes it an excellent
module.

I have to admit that I haven't quite grasped XML::LibXML yet but I am
having fun trying...

Dp.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com