Skip Menu |

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

Report information
The Basics
Id: 121375
Status: open
Priority: 0/
Queue: XML-XBEL

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

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



Subject: http://pyxml.sourceforge.net/topics/dtds/xbel-1.0.dtd does not work anymore
My smoker systems started to report failures when running the test suite: ... http error : Unknown IO error # Looks like your test exited with 2 just after 2. t/75-parse.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 10/12 subtests http error : Unknown IO error # Looks like your test exited with 2 just after 2. t/80-delete.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 9/11 subtests http error : Unknown IO error # Looks like your test exited with 2 just after 2. t/85-find-by.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 7/9 subtests http error : Unknown IO error # Looks like your test exited with 2 just after 4. t/90-sax.t ............. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/6 subtests ... Looking with strace into one of the failing tests: ... 27801 18:48:55.688058 recvfrom(4, "HTTP/1.1 301 Moved Permanently\r\nServer: nginx\r\nDate: Tue, 25 Apr 2017 18:48:55 GMT\r\nContent-Type: text/html; charset=iso-8859-1\r\nContent-Length: 261\r\nConnection: close\r\nLocation: https://pyxml.sourceforge.io/topics/dtds /xbel-1.0.dtd\r\nCache-Control: max-age=172800\r\nExpires: Thu, 27 Apr 2017 18:48:55 GMT\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>301 Moved Permanently</title>\n</head><body>\n<h1>Moved Permanently</h1>\n<p>The document has m oved <a href=\"https://pyxml.sourceforge.io"..., 4096, 0, NULL, NULL) = 568 <0.000015> ... 27801 18:48:55.688345 stat("http://pyxml.sourceforge.net/topics/dtds/xbel-1.0.dtd", 0x7ffeba234670) = -1 ENOENT (No such file or directory) <0.000015> ... → and a look at http://pyxml.sourceforge.net/topics/dtds/xbel-1.0.dtd shows that this page does not work anymore; currently I get a generated error page.
It should work if the DTD URI in the t/test.xbel file is changed to "http://xbel.sourceforge.net/language/versions/1.0/xbel-1.0.dtd". See attached patch that does just that. On Tue Apr 25 14:51:30 2017, SREZIC wrote: Show quoted text
> My smoker systems started to report failures when running the test > suite: > > ... > http error : Unknown IO error > # Looks like your test exited with 2 just after 2. > t/75-parse.t ........... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 10/12 subtests > http error : Unknown IO error > # Looks like your test exited with 2 just after 2. > t/80-delete.t .......... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 9/11 subtests > http error : Unknown IO error > # Looks like your test exited with 2 just after 2. > t/85-find-by.t ......... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 7/9 subtests > http error : Unknown IO error > # Looks like your test exited with 2 just after 4. > t/90-sax.t ............. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/6 subtests > ... > > Looking with strace into one of the failing tests: > > ... > 27801 18:48:55.688058 recvfrom(4, "HTTP/1.1 301 Moved > Permanently\r\nServer: nginx\r\nDate: Tue, 25 Apr 2017 18:48:55 > GMT\r\nContent-Type: text/html; charset=iso-8859-1\r\nContent-Length: > 261\r\nConnection: close\r\nLocation: > https://pyxml.sourceforge.io/topics/dtds > /xbel-1.0.dtd\r\nCache-Control: max-age=172800\r\nExpires: Thu, 27 Apr > 2017 18:48:55 GMT\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML > 2.0//EN\">\n<html><head>\n<title>301 Moved > Permanently</title>\n</head><body>\n<h1>Moved Permanently</h1>\n<p>The > document has m > oved <a href=\"https://pyxml.sourceforge.io"..., 4096, 0, NULL, NULL) > = 568 <0.000015> > ... > 27801 18:48:55.688345 > stat("http://pyxml.sourceforge.net/topics/dtds/xbel-1.0.dtd", > 0x7ffeba234670) = -1 ENOENT (No such file or directory) <0.000015> > ... > > → and a look at http://pyxml.sourceforge.net/topics/dtds/xbel-1.0.dtd > shows that this page does not work anymore; currently I get a > generated error page.
Subject: test.xbel.patch
--- t/test.xbel.orig 2017-09-03 19:00:59.542812267 -0400 +++ t/test.xbel 2017-09-03 18:59:40.192067868 -0400 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE xbel PUBLIC "+//IDN python.org//DTD XML Bookmark Exchange Language 1.0//EN//XML" "http://pyxml.sourceforge.net/topics/dtds/xbel-1.0.dtd"> +<!DOCTYPE xbel PUBLIC "+//IDN python.org//DTD XML Bookmark Exchange Language 1.0//EN//XML" "http://xbel.sourceforge.net/language/versions/1.0/xbel-1.0.dtd"> <xbel> <title>Bookmarks</title> <info>