Am Samstag, 2. Januar 2016 um 22:21:21, schrieb Kornel Benko <kor...@lyx.org> > Am Samstag, 2. Januar 2016 um 11:31:02, schrieb Kornel Benko <kor...@lyx.org> > > Am Samstag, 2. Januar 2016 um 04:07:57, schrieb Scott Kostyshak > > <skost...@lyx.org> > > > On Sat, Jan 02, 2016 at 08:08:12AM +0000, Jean-Pierre Chrétien wrote: > > > > Le 02/01/2016 01:31, Scott Kostyshak a écrit : > > > > >On Fri, Jan 01, 2016 at 07:07:16PM +0000, Jean-Pierre Chrétien wrote: > > > > > > > > >>Then, it seems that the last reference ([9] to the checklist.html > > > > >>file on > > > > >>the NIST web site) is dead. It reads now : > > > > >> > > > > >>http://physics.nist.gov/Pubs/SP811/sec11.html > > > > > > > > > >Just checked and works well for me. Does it work now for you? > > > > > > > > No, > > > > > > > > http://physics.nist.gov/Document/checklist.pdf > > > > > > > > gives an "Error 404" page. Maybe you have it in your cache ? > > > > > > I see what you mean now. I confirm that the link is broken. We have > > > tests to catch broken links, and we correctly detect this link to test, > > > but for some reason it passes the test. > > > > > > Thanks for reporting this. It would be nice to find the correct link and > > > change the docs before release. > > > > > > Kornel, do you have an idea for why this test passes? What do you think > > > about checking for the string "404" in the title of the html page? > > > > Until now we did not interpret the data. > > This is, what we get (first lines): > > <html> > > <head> > > <title>Error 404</title> > > <script language="JavaScript" id="_fed_an_js_tag" > > src="/js/federated > > analytics.all.min.js?agency=NIST&subagency=pml&pua=UA-37115410-46&yt=true"></script> > > </head> > > > > So yes, we can interpret the string. > > > > commit 4b49a59 > > > > > Scott > > It turned out, that there are more broken url's. > We have to check for the string '404 Not Found' in title block. > Also there may be more title blocks involved.
Now we have even more broken URLs. I changed the check for valid url from low-level Net::HTTP to more sophisticated LWP::UserAgent. *Rechecked* all found broken urls with firefox. Some of them required login and registration, they share now own non-tested group, collected in file 'knownToRegisterURLS'. The problematic cases are where the page provided by the html server is some default 'Not Found' page. 22 wrong urls. Kornel
Error url: "ftp://ftp.edpsciences.org/pub/aa/readme.html" lib/doc/Additional.lyx:u7702 lib/doc/de/Additional.lyx:u8441 lib/doc/es/Additional.lyx:u8104 lib/doc/fr/Additional.lyx:u8666 lib/doc/ja/Additional.lyx:u8353 Error url: "http://filip.ouvaton.org/xypic/xymatrix/index.html" lib/examples/ja/xypic.lyx:u3419 Error url: "http://jasa.peerx-press.org/html/jasa/Using_LaTeX" lib/templates/JASA.lyx:u87 Error url: "http://mirror.ctan.org/macros/latex/contrib/seminar/doc/sem-user.pdf" lib/examples/seminar.lyx:h191,h633,h723 Error url: "http://mirrors.ctan.org/macros/generic/diagrams/xypic/xy/doc/xyguide.pdf" lib/examples/fr/xypic.lyx:u3685 lib/examples/xypic.lyx:u3708 Error url: "http://mirrors.ctan.org/macros/generic/diagrams/xypic/xy/doc/xyrefer.pdf" lib/examples/fr/xypic.lyx:u3731 lib/examples/xypic.lyx:u3751 Error url: "http://physics.nist.gov/Document/checklist.pdf" lib/doc/de/Math.lyx:h37726 lib/doc/fr/Math.lyx:h38384 lib/doc/ja/Math.lyx:h37141 lib/doc/Math.lyx:h37853 Error url: "http://spie.org/app/Publications/index.cfm?fuseaction=authinfo&type=proceedings" lib/doc/ja/LaTeXConfig.lyx:u3900 lib/doc/LaTeXConfig.lyx:u4156 Error url: "http://wiki.lyx.org/Layouts/Econometrica" lib/templates/ectaart.lyx:u103 Error url: "http://www.acm.org/class/1998/" lib/templates/ACM-siggraph.lyx:u566 Error url: "http://www.ctan.org/tex-archive/macros/latex/contrib/forest/" lib/examples/de/linguistics.lyx:u2176 lib/examples/linguistics.lyx:u2136 Error url: "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf" lib/examples/serial_letter1.lyx:h307 lib/examples/serial_letter2.lyx:h269 lib/examples/serial_letter3.lyx:h325 Error url: "http://www.dpmms.cam.ac.uk/~al366/xytutorial.html" lib/examples/ja/xypic.lyx:u3372 Error url: "http://www.jstatsoft.org/downloads/JSSstyle.zip" lib/doc/ja/LaTeXConfig.lyx:u3348 lib/doc/LaTeXConfig.lyx:u3577 Error url: "http://www.jurabib.org" lib/doc/ja/LaTeXConfig.lyx:u5344 lib/doc/LaTeXConfig.lyx:u5683 Error url: "http://www.lyx.org/l18n" lib/doc/ja/UserGuide.lyx:h37848 Error url: "http://www.math.columbia.edu/~lauda/xy/" lib/examples/fr/xypic.lyx:u3875 lib/examples/instant_preview.lyx:u133 lib/examples/xypic.lyx:u3882 Error url: "http://www.math.tau.ac.il/~dekelts/lyx/ttf.html" lib/doc/he/Tutorial.lyx:u1271 Error url: "http://www.photogrammetry.ethz.ch/tarasp_workshop/isprs.cls" lib/doc/ja/LaTeXConfig.lyx:u4393 lib/doc/LaTeXConfig.lyx:u4687 Error url: "http://www.tex.ac.uk/cgi-bin/texfaq2html" lib/doc/de/UserGuide.lyx:u46086 lib/doc/es/UserGuide.lyx:u47069 lib/doc/fr/UserGuide.lyx:u48670 lib/doc/ja/UserGuide.lyx:u39540 lib/doc/UserGuide.lyx:u46528 Error url: "http://www.tug.org/tex-archive/help/Catalogue/entries/preview-latex.html" lib/examples/ja/xypic.lyx:u3281 Error url: "http://www.tug.org/tex-archive/help/Catalogue/entries/xypic.html" lib/examples/ja/xypic.lyx:u3303
signature.asc
Description: This is a digitally signed message part.