On Sun, Jan 03, 2016 at 03:26:19PM +0100, Kornel Benko wrote:
> 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.

I guess this is "good" news. Thanks for improving the check.

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to