- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 29 Jan 2008 05:16:10 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2008/link-testsuite
In directory hutz:/tmp/cvs-serv31369
Modified Files:
README
Added Files:
html_a_href.html html_a_href_b.html html_frame_src.html
html_frame_src_b.html html_iframe_src.html
html_iframe_src_b.html html_link_href.html
html_link_href_b.html
Log Message:
adding / cleaning up some HTML %URI test cases
--- NEW FILE: html_frame_src_b.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>frame src test</title>
<meta name="author" content="olivier Thereaux">
</head>
<FRAMESET cols="33%,33%,33%">
<FRAME src="emptyframe.html" frameborder="0">
<FRAME src="emptyframe.html" frameborder="0">
<FRAME src="http.php?code=404" frameborder="0">
</FRAMESET>
</html>
--- NEW FILE: html_link_href.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test link href</title>
<link rel="stylesheet" href="http://www.w3.org/Stylesheets/base" type="text/css" media="screen" title="no title" charset="utf-8">
<meta name="author" content="olivier Thereaux">
</head>
<body>
</body>
</html>
--- NEW FILE: html_iframe_src.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>html iframe src</title>
<meta name="author" content="olivier Thereaux">
<!-- Date: 2008-01-28 -->
</head>
<body>
<iframe src="emptyframe.html">
</body>
</html>
--- NEW FILE: html_iframe_src_b.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>html iframe src</title>
<meta name="author" content="olivier Thereaux">
<!-- Date: 2008-01-28 -->
</head>
<body>
<iframe src="http.php?code=404">
</body>
</html>
Index: README
===================================================================
RCS file: /sources/public/2008/link-testsuite/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README 28 Jan 2008 02:26:37 -0000 1.1
+++ README 29 Jan 2008 05:16:07 -0000 1.2
@@ -26,47 +26,14 @@
===== below are test cases TBA =====
-
-
** Collection: attribute values set to %URI type in HTML 4.01 **
-
-html-html-5) BASE href dereferences
- EXPECTED: link checker finds no error
-
-html-5b) BASE href 404
- EXPECTED: link checker throws error
-
-html-6) FRAME longdesc dereferences
- EXPECTED: link checker finds no error
-
-html-6b) FRAME longdesc 404
- EXPECTED: link checker throws error
-
-html-7) IFRAME longdesc dereferences
- EXPECTED: link checker finds no error
-
-html-7b) IFRAME longdesc 404
- EXPECTED: link checker throws error
-
html-8) HEAD profile dereferences
EXPECTED: link checker finds no error
html-8b) HEAD profile 404
EXPECTED: link checker throws error
-html-9) LINK href dereferences
- EXPECTED: link checker finds no error
-
-html-9b) link href 404
- EXPECTED: link checker throws error
-
-html-10) A href dereferences
- EXPECTED: link checker finds no error
-
-html-10b) A href 404
- EXPECTED: link checker throws error
-
html-11) AREA href dereferences
EXPECTED: link checker finds no error
@@ -190,106 +157,7 @@
TBD form action too? only if method is GET? Or too dangerous given too many cuap CGIs?
-
-** Collection: HTTP response codes ***
-
-http-200) test for broken frags
- EXPECTED: link checker MAY throw a warning
-
-http-400) Bad Request
- EXPECTED: link checker throws error
-
-http-401) Unauthorized
- EXPECTED: link checker throws error
-
-http-402) Payment Required
- EXPECTED: link checker throws error
-
-http-403) Forbidden
- EXPECTED: link checker throws error
-
-http-404) Not Found
- EXPECTED: link checker throws error
-
-http-404-DNS) 'The hostname could not be resolved. Check the link for typos.',
- EXPECTED: link checker throws error
-
-http-405) Method Not Allowed
- EXPECTED: link checker throws error
-
-http-406) Not Acceptable
- EXPECTED: link checker throws error
-
-http-407) Proxy Authentication Required
- EXPECTED: link checker throws error
-
-http-408) Request Time-out
- EXPECTED: link checker throws error
-
-http-409) Conflict
- EXPECTED: link checker throws error
-
-http-410) Gone
- EXPECTED: link checker throws error
-
-http-411) Length Required
- EXPECTED: link checker throws error
-
-http-412) Precondition Failed
- EXPECTED: link checker throws error
-
-http-413) Request Entity Too Large
- EXPECTED: link checker throws error
-
-http-414) Request-URI Too Large
- EXPECTED: link checker throws error
-
-http-415) Unsupported Media Type
- EXPECTED: link checker throws error
-
-http-416) Requested range not satisfiable
- EXPECTED: link checker throws error
-
-http-417) Expectation Failed
- EXPECTED: link checker throws error
-
-http-500) Internal Server Error
- EXPECTED: link checker throws error
-
-http-501) Not Implemented
- EXPECTED: link checker throws error
-
-http-502) Bad Gateway
- EXPECTED: link checker throws error
-
-http-503) Service Unavailable
- EXPECTED: link checker throws error
-
-http-504) Gateway Time-out
- EXPECTED: link checker throws error
-
-http-505) HTTP Version not supported
- EXPECTED: link checker throws error
-
-[these should be implemented with specific apache directives, or a php script]
-
-
-** Collection: HTTP response codes II (optional?) ***
-
-http-300) Multiple Choices
- EXPECTED: link checker MAY throw a warning
-
-http-301) Moved Permanently. The link should be updated
- EXPECTED: link checker MAY throw a warning
-
-http-302) Found. Update the link if you believe it makes sense, or leave it as is
- EXPECTED: link checker MAY throw a warning
-
-http-307) Temporary Redirect. Update the link if you believe it makes sense, or leave it as is
- EXPECTED: link checker MAY throw a warning
-
-
-** Collection: Robots exclusion prototoc ***
+** Collection: Robots exclusion prototol ***
robots-1) link to resource in area forbidden by ROBOTS.txt but 404
EXPECTED: link checker follows link, throws error
--- NEW FILE: html_a_href_b.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test link href</title>
<link rel="stylesheet" href="http://qa-dev.w3.org/link-testsuite/http.php?code=404" type="text/css" media="screen" title="no title" charset="utf-8">
<meta name="author" content="olivier Thereaux">
</head>
<body>
</body>
</html>
--- NEW FILE: html_link_href_b.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test link href</title>
<link rel="stylesheet" href="http://qa-dev.w3.org/link-testsuite/http.php?code=404" type="text/css" media="screen" title="no title" charset="utf-8">
<meta name="author" content="olivier Thereaux">
</head>
<body>
</body>
</html>
--- NEW FILE: html_frame_src.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>frame src test</title>
<meta name="author" content="olivier Thereaux">
</head>
<FRAMESET cols="33%,33%,33%">
<FRAME src="emptyframe.html" frameborder="0">
<FRAME src="emptyframe.html" frameborder="0">
<FRAME src="emptyframe.html" frameborder="0">
</FRAMESET>
</html>
--- NEW FILE: html_a_href.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test link href</title>
<link rel="stylesheet" href="http://www.w3.org/Stylesheets/base" type="text/css" media="screen" title="no title" charset="utf-8">
<meta name="author" content="olivier Thereaux">
</head>
<body>
</body>
</html>
Received on Tuesday, 29 January 2008 05:16:23 UTC