validator/htdocs/dev/tests xhtml1-appc-empty.html,NONE,1.1 xhtml1-appc-emptycontent.html,NONE,1.1 xhtml1-appc-xmldecl.html,NONE,1.1 index.html,1.101,1.102

Update of /sources/public/validator/htdocs/dev/tests
In directory hutz:/tmp/cvs-serv14225

Modified Files:
	index.html 
Added Files:
	xhtml1-appc-empty.html xhtml1-appc-emptycontent.html 
	xhtml1-appc-xmldecl.html 
Log Message:
adding a few tests for XHTML 1.0 appendix C


--- NEW FILE: xhtml1-appc-empty.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-WD.css" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
  <title>test XHTML 1.0 Strict document</title>
  <link rev="made" href="mailto:gerald@w3.org" />
  <meta name="revision"
    content="$Id: xhtml1-appc-empty.html,v 1.1 2008/02/04 03:18:54 ot Exp $" />
</head>

<body>

<p>
This is a test XHTML 1.0 Strict document. 
Per <a href="http://www.w3.org/TR/xhtml1/#C_2" title="XHTML 1.0: The Extensible HyperText Markup Language (Second Edition)">XHTML1 spec, appendix C2 empty elements should be using the minimized syntax.</a>
The following is thus not allowed per the HTML compatibility Guidelines <br></br>
</p>


</body>

</html>


--- NEW FILE: xhtml1-appc-xmldecl.html ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-WD.css" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
  <title>test XHTML 1.0 Strict document</title>
  <link rev="made" href="mailto:gerald@w3.org" />
  <meta name="revision"
    content="$Id: xhtml1-appc-xmldecl.html,v 1.1 2008/02/04 03:18:54 ot Exp $" />
</head>

<body>

<p>
This is a test XHTML 1.0 Strict document.
Per <a href="http://www.w3.org/TR/xhtml1/#C_1" title="XHTML 1.0: The Extensible HyperText Markup Language (Second Edition)">XHTML1 spec, appendix C1: For compatibility with these types of legacy browsers, you may want to avoid using processing instructions and XML declarations.
</p>


</body>

</html>


Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- index.html	17 Jan 2008 08:08:17 -0000	1.101
+++ index.html	4 Feb 2008 03:18:53 -0000	1.102
@@ -386,7 +386,30 @@
 	  sample HTML 4 document using the (valid, but problematic) shorttags features
 	</li>
 </ul>
-
+<h4 id="appc">Valid XHTML 1.0 documents not conforming to HTML compatibility Guidelines</h4>
+<p>The XHTML 1.0 spec states: <q cite="http://www.w3.org/TR/xhtml1/#media">XHTML Documents which follow the guidelines set forth in Appendix C, "HTML Compatibility Guidelines" may be labeled with the Internet Media Type "text/html" [RFC2854], as they are compatible with most HTML browsers. </q>. It's really unclear as to whether this is a real conformance issue, but regardless there is demand for sending at least warnings when a text/html XHTML 1.0 document does not follow these guidelines.</p>
+<ul>
+<li>
+  <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-xmldecl.html;ss">validate</a> -
+  <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-xmldecl.html;ss">with v.w.o</a> -
+  <a href="xhtml1-appc-xmldecl.html">view</a>:
+  C1: XML Declaration
+</li>
+<li>
+  <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-empty.html;ss">validate</a> -
+  <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-empty.html;ss">with v.w.o</a> -
+  <a href="xhtml1-appc-empty.html">view</a>:
+  C2: empty elements and minimized form
+</li>
+<li>
+  <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-emptycontent.html;ss">validate</a> -
+  <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/xhtml1-appc-emptycontent.html;ss">with v.w.o</a> -
+  <a href="xhtml1-appc-emptycontent.html">view</a>:
+  C3: Element Minimization and Empty Element Content
+</li>
+</ul>
+    
+    
 <h4 id="wrong_mime">Valid Documents served with a wrong media type</h4>
 <ul>
   <li>

--- NEW FILE: xhtml1-appc-emptycontent.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-WD.css" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
  <title>test XHTML 1.0 Strict document</title>
  <link rev="made" href="mailto:gerald@w3.org" />
  <meta name="revision"
    content="$Id: xhtml1-appc-emptycontent.html,v 1.1 2008/02/04 03:18:54 ot Exp $" />
</head>

<body>

<p>
This is a test XHTML 1.0 Strict document.
Per <a href="http://www.w3.org/TR/xhtml1/#C_3" title="XHTML 1.0: The Extensible HyperText Markup Language (Second Edition)">XHTML1 spec, appendix C3 non-empty-type elements should not be using the minimized syntax.</a>
The following is thus not allowed per the HTML compatibility Guidelines: </p> <p />

</body>

</html>

Received on Monday, 4 February 2008 03:19:05 UTC