--- test/html-webhacc/error-description-source.xml 2007/09/10 11:51:09 1.11 +++ test/html-webhacc/error-description-source.xml 2007/11/07 11:29:46 1.14 @@ -273,7 +273,7 @@ embed, param, area, col, and input elements.

-
+
<script/>

The polytheistic slash cannot be used for script element. Even for an empty script element, @@ -289,7 +289,7 @@

These elements are themselves non-conforming.
<command/>, <event-source/>, - <source/>
+ <nest/>, or <source/>
Future revision of HTML5 parsing algorithm is expected to allow polytheistic slash for these elements.
<a/>, <p/>
@@ -314,16 +314,23 @@ (<?xml-stylesheet ...?>), are not allowed in the HTML syntax. The document is non-conforming.

-
+
+
<?xbl?> (XBL Association)
+
An XBL binding cannot be associated by + PI in HTML + document. Use binding property in CSS + style sheet.
<?xml?> (XML declaration)
XML declaration is unnecessary for HTML documents.
<?xml-stylesheet?> (XML style sheet - PI
+ PI)
Use HTML link element with rel attribute set to stylesheet (or, alternate stylesheet for an alternate style sheet).
-
<?php?> (PHP code)
+
<?php?> or + <? ... PHP code ... ?> + (PHP code)
The conformance checker does not support checking for PHP source documents.
Other processing instructions
@@ -470,7 +477,8 @@

Only white space characters and comments are allowed - before the DOCTYPE.

+ before the DOCTYPE. XML declaration is not + allowed in HTML document.

@@ -493,6 +501,14 @@ For any element except for void element, there must be an explicit end tag.

+
+
HTML canvas element
+
Though the element is void in earlier versions of Safari, + the canvas element is no longer + defined as empty. There must be an end tag + </canvas>.
+
+

Note that misnesting tags, such as <a><b></a></b>, are not allowed and they also cause this error.

@@ -544,6 +560,19 @@

For any end tag in HTML document, there must be a corresponding start tag.

+ +
+
HTML base, basefont, + bgsound, br, col, + embed, frame, hr, + image, img, input, + isindex, link, meta, + param, spacer, or wbr element
+
End tag is not allowed for these elements, since + those content must always be empty. Remove end tag.
+ + +
@@ -588,15 +617,16 @@ must contain a $0 child element. The document is non-conforming.

-

For example: -

-

+
+
HTML head element
+
There must be a title child element.
+
HTML html element
+
There must be a head child element followed + by a body element.
+
HTML tr element
+
There must be + one or more td or th child element.
+
@@ -660,12 +690,6 @@ and in the head element. It cannot be used in e.g. ul, table, or select. -
If the element with the error is the html element - that is the root element of an XHTML document
-

In an XHTML document, the root html - element must have an xmlns attribute - whose value is set to - http://www.w3.org/1999/xhtml.

If the element with the error is blink, center, or marquee element
These elements are not part of the HTML standard. @@ -685,6 +709,35 @@ + + This element is not allowed as a root + element. + +

An element that is not allowed as the root element + is used as the root element of the document. The document is + non-conforming, as far as the conformance checker can tell.

+ +
+
html element in an XHTML document
+

In an XHTML document, the root html + element must have an xmlns attribute + whose value is set to + http://www.w3.org/1999/xhtml.

+
rss element
+

The document is written in some version of RSS.

+

The conformance checker does not support any version + of RSS. Use Atom 1.0 for feed documents.

+
feed element
+

The Atom feed element must be + in the http://www.w3.org/2004/Atom + namespace.

+

The conformance checker does not support Atom 0.3. + Use Atom 1.0 for feed documents.

+
+
+
+ There is no $0 @@ -852,6 +905,22 @@ + + Charset declaration syntax + <meta http-equiv="Content-Type" content="text/html; charset=charset-name"> + is obsolete. + +

Old long charset declaration syntax + <meta http-equiv="Content-Type" content="text/html; charset=charset-name"> + is in use. The document is non‐conforming.

+ +

The new charset declaration syntax is: +

<meta charset="charset-name">
+

+
+
+ This identifier has already been @@ -884,16 +953,18 @@

The specified link type is non-conforming, and therefore the document is non-conforming.

-
+
Link type contents
Use link type index.
Link type copyright
Use link type license.
Link type home
Use link type index.
+
Link type previous
+
Use link type prev.
Link type start
Use link type first.
-
Link type toc
+
Link type toc or top
Use link type index.
@@ -936,8 +1007,8 @@

Warning: The data served to the conforming checker might be out of date; it might have already - been accepted or rejected, depending on which the document - might be conforming or non-conforming. See WHATWG Wiki + been accepted or rejected. The document might or might not be + conforming depending on the status. See WHATWG Wiki for the latest information.

@@ -991,6 +1062,23 @@ class="should" level="s"> {@}: An obsolete subtype is used. + +

The specified Internet Media Type is registered with status + of OBSOLETE.

+ +
+
Media type text/ecmascript
+
Media type text/ecmascript is obsoleted in + favor of application/ecmascript. Note that + text/javascript would be better alternative + for many cases.
+
Media type text/javascript
+
Media type text/javascript is obsoleted by + IETF with backward incompatible alternate + application/javascript for architectural + purity. Realist may ignore this warning.
+
+
This IRI does not end with a /. + +

The IRI does not end with a /. If there is an + authority component in an IRI, a / should be present + instead of empty path component.

+ +

For example, http://www.example.com/ + is preferred to http://www.example.com.

+
+
+

Cache Manifest Errors

+ + + This document is not a cache manifest. + +

The specified document is not a cache manifest. + The document is non-conforming.

+ +

An entity labeled as Internet media type + text/cache-manifest must contain a cache manifest.

+ +

A cache manifest must start with a line whose content is + CACHE MANIFEST (exactly one space character between + CACHE and MANIFEST).

+
+
+
+

Unsupported Messages

@@ -1159,12 +1274,6 @@ is not supported; it might or might not be conforming. - - Conformance checking for language tag - is not supported; it might or might not be conforming. - - Conformance checking for media query @@ -1196,14 +1305,60 @@ manakaiIsHTML:0;;XML Document +
+

Error Levels

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LevelConforming?Description
MUST‐level errorNon‐conforming.A violation to a hard requirement of the specification. +The document is non‐conforming.
SHOULD‐level errorNon‐conforming, but in some case +conforming.A violation to a requirement of the specification. +The violation might be legitimize in some case. Otherwise, +the document is non‐conforming.
WarningConforming.A warning is an advice from the conformance checker to avoid +to solve a problem in a confusing or possibly wrong way. +It does not affect to the conformance of the document, and +may sometimes be inappropriate.
Not supportedUnknown.Some feature that is not supported by the conformance checker +is used in the document.
+
+

License of This Document

-

Copyright 2007

+

Copyright + +<w@suika.fam.cx>.

+

This document is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

- + \ No newline at end of file