W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2007

perl/modules/W3C/LinkChecker/docs/tests links_borked.html,NONE,1.1 links_ok.html,NONE,1.1 links_redirects.html,NONE,1.1

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 18 Sep 2007 05:24:22 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IXVZO-00070t-Ka@lionel-hutz.w3.org>

Update of /sources/public/perl/modules/W3C/LinkChecker/docs/tests
In directory hutz:/tmp/cvs-serv26910

Added Files:
	links_borked.html links_ok.html links_redirects.html 
Log Message:
basic test cases for link checker

--- NEW FILE: links_ok.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>Sample HTML Documents with no broken link</title>
	
</head>

<body>
<p><a href="http://www.w3.org/">W3C Homepage</a></p>

</body>
</html>

--- NEW FILE: links_redirects.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>Sample HTML Documents with no broken link, but different types of redirects</title>
	
</head>

<body>
<ul>
  <li><a href="http://www.w3.org/QA">W3C /QA (directory redirect)</a></li>
  <li><a href="http://www.w3.org/QA/weekinqa">/QA/weekinqa (permanent redirect)</a></li>
  <li><a href="/QA/monthinqa">/QA/monthinqa (temp redirect)</a></li>
</ul>

</body>
</html>

--- NEW FILE: links_borked.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>Sample HTML Documents with broken links (40X, bogus host, 500, etc)</title>
	
</head>

<body>
  <ul>
    <li><a href="http://bogus.example">bogus hostname</a></li>
    <li><a href="http://www.w3.org/wrongwrongwrong">404</a></li>
  </ul>
</body>
</html>
Received on Tuesday, 18 September 2007 06:53:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:08:28 UTC