Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 20641
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: bobtfish [...] bobtfish.net
tomas.doran [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: LibXML load_ext_dtd function does not work as expected..
Date: Mon, 24 Jul 2006 12:01:11 +0000
To: bug-XML-LibXML [...] rt.cpan.org
From: "Tomas Doran" <tomas.doran [...] hotmail.com>
Hiya Using the latest stable version of XML::LibXML the load_ext_dtd and validation methods don't seem to do what I expect them to.. These subs aren't well documented, so I may be calling them in the wrong way, however LibXML doesn't seem to want to parse any XML file with a <!DOCTYPE in it.. I have attached a failing test which demonstrates the problem. Also the error reported by XML::LibXML isn't ery helpful (Operation in progress). Look forward to you telling me that I'm doing the wrong thing and there isn't a bug at all ;-) Cheers Tomas Show quoted text
_________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters

Message body is not shown because sender requested not to inline it.

I can't reproduce the problem with XML-LibXML neither 1.58_1 nor 1.59 from the CVS, built against libxml2-2.6.23 or 2.6.26. Your test produces: 1..2 ok 1 - use XML::LibXML; ok 2 - Can correctly parse XML document which I assume is ok. Please check that your libxml2 is up to date.
I've updated to that latest libxml2 that I can from binary packages (2.6.22). This is on MacOS (PPC) and I'm now using the '10.4' fink binary repository.. I still get the same problem. I made sure to re-install XML::LibXML to ensure it was up to date, and all the tests included in the package pass, even though my test still fails... I will try to update to that latest libxml2 from source, and let you know how I get on, but I think that you should possibly include my test script in your release, as it definatly still fails for me and your entire test suite works ;)
On st 26.čec.2006 02:52:54, BOBTFISH wrote: Show quoted text
> I've updated to that latest libxml2 that I can from binary packages > (2.6.22).
Can't reproduce with 2.6.22 neither. Show quoted text
> This is on MacOS (PPC) and I'm now using the '10.4' fink binary
repository.. Show quoted text
> > I still get the same problem. > > I made sure to re-install XML::LibXML to ensure it was up to date,
and Show quoted text
> all the tests included in the package pass, even though my test
still Show quoted text
> fails... >
I can't debug problems in binary builds of XML-LibXML and libxml2. It would be interesting if you could reproduce the problem with a current libxml2 from xmlsoft.org and a CVS version of XML-LibXML, which you can fetch by cvs -d:pserver:anonymous@cvs.axkit.org:/home/cvs -z3 co XML-LibXML otherwise there is not much I can do about it. Show quoted text
>I think that you should possibly include my test > script in your release, as it definatly still fails for me and your > entire test suite works ;)
Did that (as last two tests in t/07dtd.t). -- Petr
Cool stuff.. Will retry building from source when I have some time in the next couple of weeks and let you know how I get on. :) I've started, but haven't got far enough to give you any useful conclusions yet...
The test case attached to the initial ticket is part of the regression tests and they pass, so I'm closing this. -- Petr