- From: Terje Bless <link@hutz.w3.org>
- Date: Wed, 19 May 2004 04:26:36 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs/config
In directory hutz:/tmp/cvs-serv12699
Modified Files:
Tag: validator-0_6_0-branch
verbosemsg.cfg
Log Message:
Expanded explanation for Error #64.
Index: verbosemsg.cfg
===================================================================
RCS file: /sources/public/validator/htdocs/config/Attic/verbosemsg.cfg,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -d -r1.1.2.8 -r1.1.2.9
--- verbosemsg.cfg 17 May 2004 04:38:04 -0000 1.1.2.8
+++ verbosemsg.cfg 19 May 2004 04:26:33 -0000 1.1.2.9
@@ -227,9 +227,18 @@
<div class="ve mid-64">
<p>
The element named above was found in a context where it is not allowed.
- This could mean that you have incorrectly nested elements -- such as a "style"
- element in the "body" section instead of inside "head" -- or two elements
- that overlap (which is not allowed).
+ This could mean that you have incorrectly nested elements -- such as a
+ "style" element in the "body" section instead of inside "head" -- or
+ two elements that overlap (which is not allowed).
+ </p>
+ <p>
+ One common cause for this error is the use of XHTML syntax in HTML
+ documents. Due to HTML's rules of implicitly closed elements, this error
+ can create cascading effects. For instance, using XHTML's "self-closing"
+ tags for "meta" and "link" in the "head" section of a HTML document may
+ cause the parser to infer the end of the "head" section and the
+ beginning of the "body" section (where "link" and "meta" are not
+ allowed; hence the reported error).
</p>
</div>
.EOF.
Received on Wednesday, 19 May 2004 00:28:37 UTC