Skip Menu |

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

Report information
The Basics
Id: 40390
Status: open
Priority: 0/
Queue: Test-XML-Valid

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: "Operation in progress" error in test
When you watch http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=Test-XML-Valid;maxver= you see a few random FAILs. I sent in one of them yesterday: http://www.nntp.perl.org/group/perl.cpan.testers/2008/10/msg2488803.html There you see these "Operation in progress" errors. Coincidentally Slaven Rezic wrote an RT ticket about the same problem yesterday: https://rt.cpan.org/Ticket/Display.html?id=40377 Let me know if you need further information about this. Actually, I have released a distro that contains a catalog of the used DTDs, so if you want to see it in action, see CPAN::Testers::ParseReport 0.0.14 Hope this helps,
RT-Send-CC: slaven [...] rezic.de
On Sun Oct 26 07:45:01 2008, ANDK wrote: Show quoted text
> When you watch > http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=Test-XML- > Valid;maxver= > you see a few random FAILs. I sent in one of them yesterday: > > http://www.nntp.perl.org/group/perl.cpan.testers/2008/10/msg2488803.html > > There you see these "Operation in progress" errors. > > Coincidentally Slaven Rezic wrote an RT ticket about the same problem > yesterday: > > https://rt.cpan.org/Ticket/Display.html?id=40377 > > Let me know if you need further information about this. Actually, I > have > released a distro that contains a catalog of the used DTDs, so if you > want to see it in action, see CPAN::Testers::ParseReport 0.0.14 > > Hope this helps,
Mark, you asked me for advice how to use locally installed DTDs. Here's a rough recipe: - Put the DTDs in a directory - Create a mapping file in this directory named "catalog". The contents look like this <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <public publicId="-//W3C//DTD XHTML 1.1//EN" uri="xhtml11.dtd" /> ... </catalog> where publicId is the DOCTYPE identifier and uri is the local DTD. Note that sometimes DTDs may reference other DTDs; all these have to be fetched and stored in this directory. - Use this catalog in the XML::LibXML object: $p = XML::LibXML->new(); $p->load_catalog("/path/to/catalog"); Note that this is only for XML::LibXML. I don't know if other XML libraries have support for catalogs. Getting the list of all included DTDs may be a problem. I usually use "strace" to trace all external accesses; once there's no more HTTP calls visible in the strace log I am finished. Regards, Slaven
Subject: Re: [rt.cpan.org #40390] "Operation in progress" error in test
Date: Wed, 8 Jul 2009 09:06:45 -0400
To: bug-Test-XML-Valid [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Thanks Slaven. That looks really useful. Mark