--- test/html-webhacc/error-description.en.html.u8 2007/11/07 11:29:46 1.13 +++ test/html-webhacc/error-description.en.html.u8 2008/09/11 09:13:57 1.38 @@ -1,50 +1,281 @@ -Description of Errors — -Web Document Conformance Checker (BETA) - + + + + - +Description of Errors — WebHACC (β) -

Description of Errors

+
+

WebHACC

+

Description of Errors

+
-
-

HTML5 Parse Errors in Tokenization Stage

-

Tag <$0> - is not allowed after the end tag </html>.

-

The start or end tag of an element appears after the - html element has been closed. The document is - non-conforming.

-

Any content of the document other than comments - must be put into the html element.

+

+ +

+

WebHACC + is a conformance checker (or validator) for Web documents, + supporting latest Web standards including + HTML5, + Atom 1.0, + CSS3.

+ +

Check your document, or + learn more about + WebHACC.

-

Tag <$0> - is not allowed after the end tag </body>.

-

The start or end tag of an element appears after the - body element has been closed. The document is - non-conforming.

+
+

Character Encoding Layer Errors

-

Any content of the document other than head - contents and comments must be put into the body - element.

+

Octet sequence {octets} + is not an allowed representation of the character + {char} — character reference + {char:hexref} should be used instead.

+ +

No character is assigned to octet sequence + {octets}.

+ +

Octet sequence {octets} + is illegal.

+ +

The input stream is broken.

+

The input stream is encoded in ISO-2022-JP + or its variant but is partially broken.

+ +

Note that an ISO-2022-JP stream must end in the ASCII + state.

-

The & character must - introduce a reference.

-

An & (U+0026 - AMPERSAND) character which +

No character is assigned to octet sequence + {octets}.

+
+ +
+

HTML5 Character Encoding Errors

+ +

Character encoding {text} + is not allowed for HTML document.

+

The character encoding used for the document is not allowed + for HTML document. The document is non‐conforming.

+
+ +

Character encoding {text} + should not be used for HTML document.

+

The character encoding used for the document is not recommended + for HTML document. The document is non‐conforming + unless there is any good reason to use that encoding.

+
+ +

Use of UTF-8 is encouraged (this document + is encoded in {text}).

+

Use of UTF-8 as the character encoding of the document is encouraged, + though the use of another character encoding is still conforming.

+
+ +

Conformance for character encoding requirements + cannot be checked, since the input is not a byte stream.

+

The conformance checker cannot detect whether the input document + met the requirements on character encoding, since the document + is not inputed as a serialized byte sequence. The document is + not conforming if it is not encoded in an appropriate character + encoding with appropriate labeling.

+
+ +

There is no character encoding + declaration.

+

The document does not contain a character encoding + declaration. Unless the character encoding is explicitly + specified in lower‐level protocol, e.g. in HTTP, + or is implied by BOM, there must be a character + encoding declaration. The document is non‐conforming.

+ +

The long character encoding declaration syntax + <meta http-equiv="Content-Type" content="text/html; charset=charset-name"> + is obsolete. The new syntax is:

+
+<meta charset="charset-name">
+ +

Note that the encoding declaration in XML + declaration has no effect for HTML document.

+
+ +

No character encoding metadata is found + in lower‐level protocol nor is there BOM, while + character encoding {text} + is not a superset of ASCII.

+

The document is not labeled with character encoding name + in lower‐level protocol, e.g. in HTTP, and + the document is not begin with BOM. In addition, + the character encoding of the document is not a superset of + ASCII. The document is non‐conforming.

+ +

Unless there is a BOM, the character encoding + for the document must be specified in e.g. HTTP‐level, + as:

+
+Content-Type: text/html; charset=charset-name
+ +

Existence of HTML character encoding declaration, i.e. + <meta charset="charset-name">, + does not allow to omit charset parameter + for HTML document encoded in non‐ASCII + compatible encoding.

+ +

Character encodings Shift_JIS, Windows-31J, + and ISO-2022-JP are not a superset of + ASCII for the purpose of HTML conformance.

+
+ +

Character encoding of this document is sniffed + as {text} (Sniffed because no explicit specification + for the character encoding of this document is found in the transfer + procotol headers).

+ +

Character encoding of this document is defaulted + to {text} because no explicit specification + for the character encoding of this document is found in the transfer + procotol headers.

+ +

Results might be wrong, since the + conformance checker cannot find an appropriate decoder for the character + encoding used for the document.

+

The conformance checker cannot find an appropriate decoder for + the character encoding used to encode characters in the document.

+ +

This error is raised if:

+
    +
  • the conformance checker cannot find any decoder for the character + encoding in use, but it knows that the encoding is similar to another + character encoding, such that it uses the decoder for that character + encoding, and therefore some octets might be interpreted incorrectly, + or,
  • +
  • the conformance checker find a decoder for the character encoding + in use, but it does not know whether the decoder is conforming to the + relevant specification or not, and therefore some octets might be + interpreted incorrectly.
  • +
+ +

In either case, the result shown by the conformance checker might + contain wrong errors caused by errorneous decoder or might not contain + errors that should be raised if an appropriate decoder is used.

+ + +
+ +

Conformance error checking for the character + encoding {text} is not supported.

+ +

Sniffed character encoding + {text} is same as the character encoding specified + in the character encoding declaration. This is not an + error.

+ +

While parsing the document as + {text}, a character encoding declaration specifying + a different character encoding is found. The document + is reparsed.

+

While parsing a document in a character encoding, + a character encoding declaration which declares the character + encoding of the document as another character encoding is found. + The occurence of this warning itself does not make the document + non‐conforming. However, the failure of the first attempt to + to detect the character encoding might be a result of non‐conformance + of the document.

+ +

The document will be reparsed from the beginning. Some error + or warning might be reported again.

+ +

These are suggestions to avoid this warning:

+
    +
  • Specify charset parameter in the Content-Type + field in the HTTP header, as: +
    +Content-Type: text/html; charset="charset-name"
  • +
  • Put the character encoding declaration + (<meta charset="charset-name">) + just after <head> start tag.
  • +
  • Use UTF-8.
  • +
+
+
+ +
+

Coded Character Set Layer Errors

+ +

The NULL character + is not allowed.

+ +

Code point {text} is + not allowed.

+ +

Noncharacter {text} + is found in the input stream.

+

Noncharacter code points are used in the input stream.

+ +

Noncharacter code points are reserved for internal processings. + Their use for information interchanges are forbidden.

+ +

In addition, they are not allowed in HTML document.

+ +
+ +

Use of character {text} + is deprecated.

+ +

Use of character {text} + is discouraged.

+ +

Code point {text} + is not the preferred representation of that character.

+ +

Character {text} + should not be used in many cases.

+ +
+ +
+

HTML5 Parse Errors in Tokenization Stage

+ +

Attribute name cannot contain characters + ", ', and =.

+ +

Attribute value must be quoted by " + or ' if it contains a ", ', or + = character.

+

In an unquoted attribute value, a character " + (U+0022 QUOTATION MARK), + ' (U+0026 + APOSTROPHE), or = + (U+003D EQUAL SIGN) + is contained. These characters are not allowed in unquoted attribute + values, since they are used to quote attribute values or to separate + attribute name and value.

+ +

This error is also raised if one try to use empty attribute + value like <foo bar= baz=>; + in this example, baz= is + treated as an invalid attribute value for the attribute + bar, not as another attribute.

+
+ +

The & character must + be escaped as &amp;.

+

An & character which is not part of any reference appears in the input stream. - The document is non-conforming.

+ The document is non‐conforming.

-

Any & character in URI (or IRI) - must be escaped as &amp;.

+

Any & character in URI (or IRI) + must be escaped as &amp;.

The & character must be the first character of a reference: -

+
Named entity reference
 &entity-name;
@@ -70,7 +301,7 @@

-

A </ string is not followed +

A </ string is not followed by a tag name.

There is a < (U+003C LESS-THAN SIGN) character @@ -90,7 +321,7 @@

-

A < character is not followed +

A < character is not followed by tag name or by a ! character.

A < (U+003C LESS-THAN SIGN) character which is not part @@ -103,7 +334,7 @@

-

The decimal representation of the code position +

The decimal representation of the code position of a character must be specified after &#.

An & (U+0026 AMPERSAND) character immediately @@ -114,7 +345,7 @@

The string &# must be the first two characters of a reference: -

+
Numeric character reference
 &#d;
@@ -135,7 +366,7 @@

-

The hexadecimal representation of the code position +

The hexadecimal representation of the code position of a character must be specified after &#x.

The string &#x or &#X which is not part of any reference appears in the input stream. @@ -155,7 +386,7 @@

-

String <! is not followed +

String <! is not followed by --.

There is a < (U+003C LESS-THAN SIGN) character @@ -166,24 +397,26 @@

Comments
-
In HTML documents, comments must be introduced by - <!-- (<! immediately followed +
In HTML document, comments must be introduced by + <!-- (<! + immediately followed by two -s) and must be terminated by - -->. Strings <! not followed + -->. + Strings <! not followed by -- and <!- not followed by - are not valid open delimiters for comments.
Marked sections, including CDATA sections
-
Marked sections are not allowed in HTML documents.
+
Marked sections are not allowed in HTML document.
Markup declarations
-
Markup declarations, except DOCTYPE - and comment declarations, are not allowed in HTML documents.
+
Markup declarations, except for DOCTYPE + and comment declarations, are not allowed in HTML document.
String <!
String <! must be escaped as - &lt;!.
+ &lt;!.
-

String </ is not followed +

String </ is not followed by tag name.

There is a < (U+003C LESS-THAN SIGN) character @@ -202,7 +435,14 @@

-

There is a -- sequence +

Character reference to + {text} is not allowed.

+ +

Character reference to + U+000D (CARRIAGE RETURN) + is not allowed.

+ +

There is a -- sequence in a comment.

There is a - (U+002D HYPHEN-MINUS) character @@ -215,8 +455,8 @@ declaration.

-

There are two attributes with name - $0.

+

There are two attributes with name + {text}.

There are more than one attributes with the same name in a tag. The document is non-conforming.

@@ -224,7 +464,38 @@ Use img element with animation GIF instead.

-

Polytheistic slash (/>) cannot be +

Empty start tag (<>) is not + allowed.

+ +

Empty end tag (</>) is not + allowed.

+ +

End tag cannot have attributes.

+ +

Attribute value is not specified.

+

The attribute value is not specified after the = + (U+003C EQUAL SIGN) + character.

+ +

When an attribute value is empty, the = character after + the attribute name must be specified as:

+ +

<foo bar>

+ +

Instead, quotation marks can be used to explicitly represent that + the attribute value is empty, as:

+ +

<foo bar="">

+ +

... or like:

+ +

<foo bar=''>

+
+ +

Character reference to + {text} is not allowed.

+ +

Polytheistic slash (/>) cannot be used for this element.

Polytheistic slash (/>) must not be used for the element. The document is non-conforming.

@@ -239,7 +510,8 @@
<script/>

The polytheistic slash cannot be used for script element. Even for an empty script element, - there must be an explicit end tag </script>.

+ there must be an explicit end tag + </script>.

NOTE: Though some user agents interpret polytheistic slash for script element as the @@ -256,16 +528,39 @@ to allow polytheistic slash for these elements.

<a/>, <p/>
These elements are not always empty and therefore - polytheistic slash is not allowed.
+ polytheistic slash is not allowed. Use explicit end tag + to represent empty element as: +
+<p></p>
+

Note that, unlike in XML, the polytheistic slash has no effect in HTML.

+

After the string <!DOCTYPE , the + document type name must be specified.

+ +

After the keyword PUBLIC, no + oublic identifier is specified.

+ +

Character reference must be closed by a + ; character.

-

Processing instruction - (<?...>) cannot be used.

+

After the string <!DOCTYPE, there + must be at least a white space character before the document type + name.

+ +

Attributes must be separeted by at least a + white space character.

+ +

After the keyword SYSTEM, no + system identifier is specified.

+ +

Processing instruction + (<?...>) is not allowed in HTML + document.

Processing instructions (<?...?>), including XML declaration (<?xml ...?>) and XML style sheet PI @@ -277,7 +572,14 @@

An XBL binding cannot be associated by PI in HTML document. Use binding property in CSS - style sheet.
+ style sheet as: +
+<style>
+p {
+  binding: url(binding.xbl);
+}
+</style>
+
<?xml?> (XML declaration)
XML declaration is unnecessary for HTML documents.
<?xml-stylesheet?> (XML style sheet @@ -285,7 +587,10 @@
Use HTML link element with rel attribute set to stylesheet (or, alternate stylesheet for an alternate style - sheet).
+ sheet). +
+<link rel=stylesheet href="path/to/stylesheet.css">
+
<?php?> or <? ... PHP code ... ?> (PHP code)
@@ -303,29 +608,107 @@ as string.

+

There is a bogus string after the document type + name.

+ +

There is a bogus string after the keyword + PUBLIC.

+ +

There is a bogus string after the public + identifier.

+ +

There is a bogus string after the keyword + SYSTEM.

+ +

There is a bogus string after the system + identifier.

+ +

Attribute value is not closed by a quotation + mark.

+ +

Comment is not closed by a string + -->.

+ +

The DOCTYPE is not closed by a + > character.

+ +

The public identifier literal is not closed by a + quotation mark.

+ +

The system identifier literal is not closed by a + quotation mark.

+ +

Tag is not closed by a > + character.

+

HTML5 Parse Errors in Tree Construction Stage

-

The $0 element cannot be - inserted between head and body elements.

+

There is a start tag + <{text}> is after the html element + is closed.

+ +

There is an end tag + </{text}> is after the html element + is closed.

+ +

Start tag <{text}> is + not allowed after the body is closed.

+ +

End tag </{text}> is + not allowed after the body is closed.

+ +

Non‐white‐space characters are not allowed + after the body is closed.

+ +

Start tag <{text}> is + not allowed after the frameset is closed.

+ +

End tag </{text}> is + not allowed after the frameset is closed.

+ +

Non‐white‐space characters are not allowed + after the frame is closed.

+ +

The {text} element cannot be + inserted between head and body + elements.

A start tag appears after the head element is closed but before the body element is opened. The document is non-conforming.

-

A DOCTYPE appears after any - element or data character has been seen.

-

A DOCTYPE appears after any element or data character - has been seen. The document is non-conforming.

- -

The DOCTYPE must be placed before any - tag, reference, or data character. Only white space characters - and comments can be inserted before the DOCTYPE.

+

Start tag <{text}> is + not allowed after the html is closed.

+

The start tag of an element appears after the + body element has been closed. The document is + non-conforming.

+ +

Any content of the document other than head + contents and comments must be put into the body + element.

+
+ +

End tag </{text}> is + not allowed after the html is closed.

+

The end tag of an element appears after the + body element has been closed. The document is + non-conforming.

+ +

Any content of the document other than head + contents and comments must be put into the body + element.

-

Anchor cannot be nested.

+

Non‐white‐space characters are not allowed + after the html is closed.

+ +

The image element is + obsolete.

+ +

Anchor cannot be nested.

HTML a elements cannot be nested. The document is non-conforming.

@@ -333,7 +716,7 @@ implies the end tag of any opening a element.

-

Tag <$0> +

Start tag <{text}> is not allowed in the body element.

The start or end tag of an element, which cannot be a descendant of body element, appears @@ -341,7 +724,28 @@ The document is non-conforming.

-

Start tag <head> +

Some element is not closed before the end of + file.

+ +

The button element cannot be + nested.

+ +

Element is not closed before the end of + file.

+ +

Start tag <form> is + not allowed in a form element.

+ +

Start tag <{text}> is + not allowed in a framset element.

+ +

End tag </{text}> is + not allowed in a frameset element.

+ +

Non‐white‐space characters are not allowed + in a frameset element.

+ +

Start tag <head> is not allowed in the head element.

There is a start tag <head> in the <head> element. The document is non-conforming.

@@ -351,7 +755,43 @@ start tag <head> can appear in the input stream.

-

Tag <$0> +

A DOCTYPE appears after any + element or data character has been seen.

+

A DOCTYPE appears after any element or data character + has been seen. The document is non-conforming.

+ +

The DOCTYPE must be placed before any + tag, reference, or data character. Only white space characters + and comments can be inserted before the DOCTYPE.

+
+ +

The nobr element cannot be + nested.

+ +

The {text} element is not + allowed in a noscript element in the + head element.

+ +

An end tag </{text}> + appers before the noscript element is closed.

+ +

A noscript element is not closed + before the end of file.

+ +

Non‐white‐space characters are not allowed + in a noscript element in the head + element.

+ +

Element is not closed before the end of + file.

+ +

Start tag <{text}> + is not allowed in a select element.

+ +

End tag </{text}> + is not allowed in a select element.

+ +

Start tag <{text}> is not allowed in a table element.

The start or end tag of an element, which cannot be a child of table element, appears @@ -365,10 +805,13 @@ a table caption.

-

Data character is not allowed in - table.

-

A data character appears in table. The document - is non-conforming.

+

End tag </{text}> + is not allowed in a table element.

+ +

Non‐white‐space character is not allowed within + the table element, outside of the caption and cells.

+

A non‐white‐space character appears in table. + The document is non-conforming.

In table, only table related elements are allowed; any other element and data character must be contained in @@ -377,7 +820,10 @@ a table caption.

-

Start tag of tr +

The isindex element is + obsolete.

+ +

Start tag of tr element is missing.

Start tag of a tr element, which is not optional, is missing. The document is non-conforming.

@@ -389,7 +835,7 @@ these start tags, it must be explicitly specified.

-

This document does not start with a +

This document does not start with a DOCTYPE.

The document does not start with a DOCTYPE. The document is non-conforming.

@@ -404,7 +850,7 @@ allowed in HTML document.

-

Element $0 is not +

Element {text} is not closed.

End tag of an element is not found before, for example, an end tag of another element appears or @@ -425,7 +871,7 @@

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>.
+ </canvas>.

Note that misnesting tags, such as @@ -433,7 +879,7 @@ allowed and they also cause this error.

-

This <html> tag is not +

This <html> tag is not the first start tag.

There is a start tag of the html element that it not the first start tag in the input stream. @@ -447,11 +893,12 @@ and comments.

-

This document is written in an old version of +

This document is written in an old version of HTML.

The document contains a DOCTYPE declaration that is different from HTML5 DOCTYPE (i.e. - <!DOCTYPE HTML>). The document is non-conforming.

+ <!DOCTYPE HTML>). + The document is non‐conforming.

The document might or might not be conformant to some version of HTML. However, conformance to any HTML @@ -460,7 +907,10 @@ HTML document (roughly) as defined in HTML5.

-

Element $0 is not +

Start tag <{text}> is + not allowed here.

+ +

Element {text} is not opened.

An end tag appears though no element with the same name has been opened. The document is non-conforming.

@@ -482,12 +932,36 @@
+

The DOCTYPE legacy string is + used.

+

The DOCTYPE with the DOCTYPE legacy + string, i.e. + <!DOCTYPE HTML PUBLIC "XSLT-compat"> + is used.

+ +

The DOCTYPE legacy string should not be used for documents + generated from XSLT transformation process. It is allowed only to enable + to use XSLT style sheets with the HTML output mode, which does not + support generation of the DOCTYPE with no PUBLIC + identifier. For other purposes, the DOCTYPE legacy + string, i.e. PUBLIC "XSLT-compat", + is useless and should not be used.

+
+

Element Content Model Errors

-

Data character is not allowed in this +

The base element with the + href attribute specified cannot be placed after + any attribute with a URL.

+ + + +

Data character is not allowed in this context.

A data character appears where it is not allowed in this context. The document is non-conforming.

@@ -510,8 +984,17 @@

-

There must be a $0 - element as a child of this element.

+

Non‐white‐space characters are not allowed in + an empty element.

+ +

Non‐white‐space characters are not allowed in + Person construct.

+ +

Non‐white‐space characters are not allowed in + Text construct.

+ +

There must be an element + {text} as a child of this element.

The content model of the element is so defined that it must contain a $0 child element. The document is non-conforming.

@@ -528,14 +1011,29 @@
-

There must be a td +

There must be a td or th element as a child of this element.

The tr element must contain at least one td or th child element. The document is non-conforming.

-

This element is not allowed in this +

There must be an element + {text} in the Atom namespace as a child of this + element.

+ +

There must be an Atom link element + whose rel attribute is set to alternate as a + child of this element.

+ +

There should be an Atom link element + whose rel attribute is set to self as a + child of this element.

+ +

There must be at least one + hn element descendant.

+ +

This element is not allowed in this context.

An element appears where it is not allowed. The document is non-conforming.

@@ -563,11 +1061,11 @@ block-level content, any inline-level content must be put in e.g. paragraph element such as p.

For example, an HTML document fragment - <div><p>Hello!</p> World!</div> + <div><p>Hello!</p> World!</div> is non-conforming, since a word World! does not belong to any paragraph. (If not part of any paragraph, what is it!?) A conforming example would be: -

+                    
 <div><p>Hello!</p> <p>World!</p></div>

If the parent element does not allow @@ -600,32 +1098,138 @@

-

This element is not allowed as a root - element.

+

An area element cannot be used + outside of a map element.

+ +

There is another base + element.

+ +

In a datatemplate element, only + rule elements are allowed.

+ +

In a details element, only at the + beginning of the element a lengend element + may be used.

+ +

Elements are not allowed in an empty + element.

+ +

In a figure element, only at the + beginning or only at the end of the element a lengend element + may be used.

+ +

This element is not allowed where flow + content is expected.

+ +

A style element without + scoped attribute is not allowed in this context.

+ +

This element is not allowed in a + noscript element in the head element.

+ +

A style element with + scoped attribute is not allowed in the head + element.

+ +

There is another title + element.

+ +

This element is not allowed in this + context.

+ +

The character encoding declaration is not the + first child element in the head element.

+

The character encoding declaration + (<meta charset="..."> or + <meta http-equiv=Content-Type content="text/html; charset=..."> + must be the first child element in the head element.

+ +

The character encoding declaration have to occur near the beginning + of the document to ensure that Web browsers can be determine the + character encoding of the document.

+ +

The title element and other metadata elements must + appear after any character encoding declaration is processed.

+
+ +

This element is not allowed where metadata + content is expected.

+ +

This element is not allowed where phrasing + content is expected.

+ +

This element is not allowed as the root + element of a document.

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.

+

In XHTML document, the root html + element must have an xmlns attribute as: +

+<html xmlns="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.

+ in the http://www.w3.org/2005/Atom + namespace as: +
+<feed xmlns="http://www.w3.org/2005/Atom">
+

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

-

There is no $0 +

This element is not allowed as the root element + of an XML document.

+ +

This element is not allowed in the ruby + element.

+ +

This element is not allowed in this + context.

+ +

This element is not allowed in an Atom + content element.

+ +

This element is not allowed in Person + construct.

+ +

This element is not allowed in Text + construct.

+ +

This element is not defined.

+

The element is not one of elements allowed + in the latest version of relevant specifications.

+ +

The element cannot be used.

+ +
+
event-source element
+
The element was renamed as eventsource + element (no hyphen).
+
m element
+
The element was renamed as mark + element.
+
+
+ +

No significant content is contained + in this element.

+ +

There is no significant content + before this element.

+ +

No significant content is contained + at the end of this element.

+ +

There is no {text} element before this element.

There must be an element before another element, but there is not. The document is non-conforming.

@@ -634,12 +1238,15 @@ before any dd element.

+

The content of a rp element must + be a parenthesis.

+

Attribute Errors

-

Required attribute $0 +

Required attribute {text} is not specified.

A required attribute is not specified. The document is non-conforming.

@@ -659,7 +1266,24 @@
-

Attribute +

For an object at least one of + data and type attributes must be + specified.

+ +

For a base element, at least one of + href and target attributes must be + specified.

+ +

For a meta element with the + content attribute specified, exactly one of + name and http-equiv attributes must be + specified.

+ +

For a meta element, exactly one of + name, http-equiv, and charset + attributes must be specified.

+ +

Attribute {local-name} is not allowed for {element-local-name} element.

An attribute is specified where it is not allowed. @@ -673,13 +1297,54 @@

-

The xml:lang attribute is not - allowed in HTML document.

-

The xml:lang attribute is not allowed in - HTML document. The document is non-conforming.

+

The ismap attribute may only be + used for the image contained in an a element.

+ +

This attribute is not defined.

+

The attribute is not one of attributes allowed for the element + in the latest version of relevant specifications.

-

Use of the xml:lang attribute is conforming - only in XML documents.

+

The attribute cannot be used.

+ +
+
align attribute (various HTML elements)
+
border attribute (various HTML elements)
+
These attributes are no longer part of HTML. You can use CSS + properties to control the presentation of the element.
+
autosubmit attribute (menu element)
+
The attribute was part of HTML5 draft but then dropped. + Similar functionality can be implemented by scripts.
+
language attribute (script element)
+
The attribute is no longer the standard way to specify the + scripting language. If you are using JavaScript, then no explicit + specification of the scripting language is necessary, so you can + write the element like: +

<script>
/* JavaScript code */
</script>

+ If you are using different scripting language from JavaScript, or + you want to declare the scripting language explicitly, you should + use the type attribute, as follows: +
+
JavaScript
+
Use + <script type="text/javascript">.
+
VBScript
+
Use + <script type="text/vbscript">.
+
+
+
+
+ +

The xml:lang attribute in HTML + document is ignored.

+

The xml:lang attribute does not have an effect in + HTML document.

+ +

The xml:lang attribute is only applicable to XML + documents. In HTML document, it is only allowed to ease migration + from XML.

To specify natural language information in HTML document, use lang attribute instead.

@@ -694,7 +1359,7 @@ from an HTML document? -->
-

The charset attribute is not +

The charset attribute is not allowed in XML document.

The charset attribute of a meta element is not allowed in XML document. @@ -703,24 +1368,17 @@

To specify the character encoding used for serialization, if necessary, use XML declaration instead:

-<?xml version="1.0" encoding="encoding-name"?>
+<?xml version="1.0" encoding="encoding-name"?>

-

The lang attribute is not - allowed in XML document.

-

The HTML lang attribute is not allowed in - XML document. The document is non-conforming.

+

A noscript element cannot be + used in XML document.

-

The lang attribute in null - namespace for HTML elements is conforming only in - HTML documents.

+

The xml:lang attribute in no namespace + is only allowed in HTML document.

-

To specify natural language information in XML document, - use xml:lang attribute instead.

-
- -

The xmlns attribute +

The xmlns attribute in the null namespace is not allowed in XHTML document. The document is non-conforming.

The xmlns attribute in the null @@ -730,12 +1388,144 @@ static documents.

+

The xml:lang attribute is only allowed + when the lang attribute is specified.

+

Attribute Value Errors

-

This attribute only allow a limited set of +

Attribute value {@} + is not allowed. It must be an empty string or a string + {local-name}.

+ +

The attribute value must be exactly one + character.

+ +

A character reference cannot be used to + represent a character encoding name.

+ +

Character encoding name + {value} is not the preferred name of that + character encoding.

+ +

Character encoding name + {value} is not a registered name.

+

The specified character encoding name is not registered to + IANA. Use of registered character encoding name + is a good practice to facilitate interoperability.

+ +
+
EUC-TW
+
EUC-TW is not registered. Unfortunately, there + is no registered name for that character encoding. Use + Big5 encoding with character encoding name Big5 + if it is enough to represent the document.
+
ISO-2022-JP-1
+
ISO-2022-JP-1 is not registered, nevertheless + this character encoding name is documented in + RFC 2237. Use + ISO-2022-JP-2 instead, since that character encoding + is a superset of ISO-2022-JP-1.
+
ISO-2022-JP-3, ISO-2022-JP-3-plane1
+
These names are not registered and obsoleted in favor of + ISO-2022-JP-2004 and + ISO-2022-JP-2004-plane1.
+
ISO-2022-JP-2003, + ISO-2022-JP-2003-plane1
+
These names are not registered and corrected to + ISO-2022-JP-2004 and + ISO-2022-JP-2004-plane1.
+
ISO-2022-JP-2004, + ISO-2022-JP-2004-plane1
+
These names are not registered. Unfortunately, there is + no registered name for these character encodings.
+
UTF-8N
+
UTF-8N is not registered. Character encoding + name UTF-8 represents UTF-8 encoding with or + without BOM.
+
+ +

WARNING: This error might be raised for + a registered character encoding name, since the character encoding + name database of the conformance checker is not complete yet.

+
+ +

Character encoding name + {value} is a private name.

+

The specified character encoding name is a private name and + not registered to IANA. Use of registered character + encoding name is a good practice to facilitate interoperability.

+ +
+
x-euc-jp
+
Use EUC-JP for the Japanese EUC + character encoding.
+
x-sjis
+
Use Shift_JIS for standard Shift encoding scheme of + JIS coded character set, or Windows-31J + for Microsoft standard character set as implemented by + Microsoft Windows.
+
+
+ +

The specified value {value} + is syntactically not a character encoding name.

+

The attribute value must be a character encoding name. However, + the specified value is not a character encoding name syntactically. + The document is non‐conforming.

+

Character encoding name is a string of ASCII + printable characters, up to 40 characters.

+
+ +

The specified value is not a color + name or hexadecimal color number.

+ +

The coords attribute have to + contain three (3) numbers (specified: + {text}).

+ +

The coords attribute have to + contain four (4) numbers (specified: + {text}).

+ +

The coords attribute have to + contain more than or equal to six (6) numbers (specified: + {text}).

+ +

The coords attribute have to + contain even number of numbers (specified: + {text}).

+ +

The specified value {value} + is out of range.

+ +

The specified value is not valid.

+ +

Year number is out of range.

+ +

Month number is out of range.

+ +

Day number is out of range.

+ +

Hour number is out of range.

+ +

Minute number is out of range.

+ +

Second number is out of range.

+ +

Hour number of the timezone component is out of + range.

+ +

Minute number of the timezone component is out of + range.

+ +

The attribute value is not a datetime.

+ +

The value is not a date or time.

+ +

This attribute only allow a limited set of values and the specified value {@} is not one of them.

For this attribute only several values are allowed and the @@ -744,12 +1534,12 @@

HTML meta element, http-equiv attribute
-

Only Default-Style and Refresh - is allowed.

+

Only values Default-Style and Refresh + are allowed.

Value Content-Type is obsolete; for charset declaration, the charset attribute can be used as:

-<meta charset="charset-name">
+<meta charset="charset-name"> ... where charset-name is a name of the character encoding of the document, such as utf-8.

Values Content-Style-Type and @@ -763,23 +1553,64 @@

-

Charset declaration syntax - <meta http-equiv="Content-Type" content="text/html; charset=charset-name"> +

Character encoding 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"> +

Old long character encoding 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">
+

The new character encoding declaration syntax is: +

+<meta charset="charset-name">

-

This identifier has already been +

Attribute value {@} + is not allowed.

+ +

There is another pragma + {value}.

+ +

This identifier has already been assigned to another element.

-

+

Namespace name {text} + is reserved and cannot be used for an arbitrary prefix.

-
-

Attribute Value Warnings

+

Namespace prefix {text} + is reserved and cannot be used for an arbitrary namespace name.

-

Table Model Errors

-

This colspan attribute +

Cell slot ({text}) is filled by + multiple cells.

+ +

This colspan attribute results in creating a table column that does not contain any cell anchored to it.

-

The table has no cell (td or +

This column has no anchored cell.

+ +

The table has no cell (td or th) in the last row.

-

This rowspan attribute +

This rowspan attribute results in creating a table row that does not contain any cell anchored to it.

The rowspan attribute value of the cell @@ -869,7 +1794,7 @@ The document is non-conforming.

For example, the table below is non-conforming: -

+      
 <table>
 <tbody>
 <tr><td rowspan=2></td></tr>
@@ -879,26 +1804,110 @@
     a cell that spans between first and second rows.

+

This row has no anchored cell.

+ +

This rowspan attribute + results in creating a table row that does not contain + any cell anchored to it.

+ +

-

Internet Media Type Warnings

+

Internet Media Type Errors

+ +

The specified value is not a valid value + as a multipart boundary.

+ +

The specified value is not a valid value + for the attribute e4x.

-

{@}: An obsolete - subtype is used.

+

The specified value, + {value}, is syntactically not a valid + attribute name.

-

{@}: A private - (x- or x.) subtype is used.

+

The specified media type is a composite + type, which is not allowed in this context.

-

{@}: The subtype is - not registered to IANA.

+

An Internet Media Type whose intended usage + is limited use, {value} is used.

+ +

The specified value is not an Internet Media + Type.

+ +

An obsolete parameter + {value} is used.

+ +

An obsolete Internet Media Type + {value} is used.

+

The specified Internet Media Type is registered with its intended + usage as OBSOLETE.

+ +
+
Media type text/ecmascript
+
Media type text/ecmascript is obsoleted in + favor of application/ecmascript. Note that + text/javascript would be the better alternative + in many cases.
+
Media type text/javascript
+
Media type text/javascript is obsoleted by + IETF with backward incompatible alternate + application/javascript for architectural + purity. Those who prefer reality to academic + purity may ignore this warning.
+
+
+ +

Parameter {text} have to + be specified for the Internet Media Type + {value}.

+ +

Parameter {value} is not + allowed for this Internet Media Type.

+ +

Use of a private Internet Media Type + {value} is not encouraged.

+ +

Use of a private type + {value} is not encouraged.

+ +

Value {value} is + syntactically not a valid subtype value of an Internet Media Type.

+ +

Value {value} is + syntactically not a valid type.

+ +

An unknown parameter {value} + is used. The conformance checker cannot determine whether use of this + parameter is valid or not.

+ +

An unknown Internet Media Type + {value} is used. At the time of the update of + the conformance checker's Internet Media Type database, the subtype is + not reigstered to the IANA registry. The subtype, however, might be + registerd to the IANA registry thereafter. Please consult the IANA + registry.

+ +

Use of an Internet Media Type + {value} is not encouraged since it is not + part of the IANA registry.

+ +

Use of a type + {value} is not encouraged since it is not + a standardized type.

+ +

A value that is not an Internet Media Type + is not allowed here.

-

URI (or IRI) Errors

+

URL Errors

+ +

The specified value is syntactically not an + IRI.

-

The specified value is syntactically not an IRI +

The specified value is syntactically not an IRI reference.

The specified value does not satisfy the syntactical requirements for IRI references. The document is non-conforming.

@@ -913,12 +1922,21 @@

-

+

The specified value is syntactically not an RDF + URI reference.

+ +

The specified value is syntactically not a + URI according to RFC 2396.

+ +

The specified value is syntactically not a + URI.

-
-

URI (or IRI) Should-level Errors

+

URL host address format + {text} is not defined.

-

A dot-segment (. or +

Default port number should be omitted.

+ +

A dot-segment (. or ..) occurs in an absolute reference.

Dot-segment (. or ..) should not occur in an absolute reference.

@@ -930,24 +1948,46 @@ canonical form before it has been published.

-

This IRI does not end with - a /.

+

The host component of the URL is empty.

+ +

The URL does not end with + a / character.

-

A lowercase hexadecimal digit is used +

The port component of the URL is empty.

+ +

The fragment component of the URL is not + allowed.

+ +

The host component of the URL + is too long.

+ +

A lowercase hexadecimal digit is used in percent-encoding.

The hexadecimal digit in percent-encoding string in the IRI is in lowercase. Though the IRI is conforming, it should be in uppercase.

-

An unreserved character is +

The host component of the URL + is not a DNS host name.

+ +

The host component of the URL + is not encoded in UTF-8.

+ +

Password should not be included in a URL + for the security.

+ +

An unreserved character is percent-encoded.

An unreserved character is percent-encoded in the IRI. Though it is conforming, it should be in the decoded (or bare) form.

-

URI scheme name is in uppercase.

+

The host {value} + should be spelt in lowercase.

+ +

URL scheme name is in uppercase.

The scheme part of the IRI is written in uppercase letter.

Uppercase scheme names are not required to be processed @@ -965,10 +2005,145 @@

+
+

Media Query Errors

+ +

The specified value has a syntax error as a + media query.

+ +

Media type {value} is + not supported by the conformance checker.

+ +
+ +
+

Selectors Errors

+ +

Argument list of the pseudo-class is + not closed by a ) character.

+ +

Numbers in the argument + an+b have to be integers.

+ +

Argument an+b is + syntactically incorrect.

+ +

Attribute selector is not closed by + a ] character.

+ +

Argument list of the :lang + selector is not closed by a ) character.

+ +

Namespace prefix {value} + is not declared.

+ +

Attribute local name is missing.

+ +

Attribute matching operator (e.g. + =) is missing.

+ +

Attribute name is missing.

+ +

Attribute namespace wildcard * + is not followed by a | character.

+ +

Attribute value is missing.

+ +

Class name is missing.

+ +

Combinator is missing.

+ +

No string is specified in the argument + list of the :-manakai-contains pseudo-class + selector.

+ +

Language tag argument is missing.

+ +

Local name part of the type selector (or + * for the universal selector) is missing.

+ +

Pseudo-class name is missing.

+ +

Pseudo-element name is missing.

+ +

Sequence of simple selectors is + expected.

+ +

Argument list of the :not selector + is not closed by a ) character.

+ +

Simple selector is not allowed after a + pseudo element.

+ +

Pseudo-class :{value} + is not supported by the conformance checker.

+ +

Pseudo-element ::{value} + is not supported by the conformance checker.

+ +
+ +
+

CSS Errors

+ +

An @{text} rule is not + allowed here.

+ +

The @{text} rule is + syntactically incorrect.

+ +

Block is not closed before the end of + file.

+ +

Component <{text}> is + already specified.

+ +

Value hand is not valid as + <'cursor'>.

+ +

Specified value is syntactically not a correct + <{text}>.

+ +

No declaration block is found after a group of + selectors.

+ +

A : character is missing after + a property name.

+ +

Property name is expected.

+ +

A ; character is missing at the + end of the property.

+ +

Priority part of the declaration is syntactically + incorrect.

+ +

The @{value} rule is + not supported by the conformance checker.

+ +

Property {value} is + not supported by the conformance checker.

+ +
+

Cache Manifest Errors

-

This document is not a cache manifest.

+

This URL is found both in the explicit or + fallback entries and in the online whitelist.

+ +

The specified URL has different origin from + the manifest.

+ +

The scheme component of the URL is + different from that of the manifest URL. The URL is ignored.

+ +

This oppotunistic caching namespace is already + specified.

+ +

Fallback entry URL is missing.

+ +

This document is not a cache manifest.

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

@@ -976,22 +2151,189 @@ 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 MANIFEST + (exactly one space character between CACHE and MANIFEST).

+ +

This URL is same as the manifest URL.

+ +
+ +
+

Stability Information

+ +

This attribute is deprecated.

+ +

This element is deprecated.

+ +

This element is in the + call for implementation stage.

+

The element is in the call for implementation stage.

+ +

Usually, using the element is safe. However, it is a new feature + so that it might not be implemented correctly. If it is found that + the feature is hard or impossible to implement, the feature + might be revised, or in some case it might be dropped.

+ +

Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0 + (W3C Candidate Recommendation) belong to this class.

+
+ +

This element is in the last + call for comments stage.

+

The element is in the last call for comments stage.

+ +

The element is relatively mature, though the standardization + is not done yet. It may be used for experiments. Since it is a new + feature, it might not be implemented correctly or at all. If it is + found that the feature is hard or impossible to implement, the feature + might be revised or might be dropped.

+ +

Elements defined by Web Forms 2.0 as well as some elements + defined by HTML5 belong to this class.

+
+ +

This element is documented in a working + draft.

+

The element is documented in a working or editor's draft + and not yet completed.

+ +

The element should not be used for any practical purpose. + The feature might be drastically changed later or might be + entirely removed.

+ +

Most of new elements defined by HTML5 belong to this class.

+
+ +

This element is not part of any + standard the conformance checker knows.

+

The element is not part of any standard or draft the conformance + checker is aware of.

+ +

The element should not be used for any practical purpose unless + there is really a standard that defines the element.

+
+ +

This attribute is in the + call for implementation stage.

+

The attribute is in the call for implementation stage.

+ +

Usually, using the attribute is safe. However, it is a new feature + so that it might not be implemented correctly. If it is found that + the feature is hard or impossible to implement, the feature + might be revised, or in some case it might be dropped.

+
+ +

This attribute is in the last + call for comments stage.

+

The attribute is in the last call for comments stage.

+ +

The attribute is relatively mature, though the standardization + is not done yet. It may be used for experiments. Since it is a new + feature, it might not be implemented correctly or at all. If it is + found that the feature is hard or impossible to implement, the feature + might be revised or might be dropped.

+
+ +

This attribute is documented in a working + draft.

+

The attribute is documented in a working or editor's draft + and not yet completed.

+ +

The attribute should not be used for any practical purpose. + The feature might be drastically changed later or might be + entirely removed.

+
+ +

This attribute is not part of any + standard the conformance checker knows.

+

The attribute is not part of any standard or draft the conformance + checker is aware of.

+ +

The attribute should not be used for any practical purpose unless + there is really a standard that defines the attribute.

+
+
+ +
+

Language Tag Errors

+ +

There is another extension subtag + {value}.

+ +

Subtag {value} is + syntactically invalid.

+ +

It is a good practice to represent ISO 639-1 + language code {value} in lowercase.

+ +

Langauge tag mul should not be + used.

+ +

No semantics is defined for language subtag + {value}.

+ +

The language subtag {value} + is syntactically invalid.

+ +

Langauge tag und should not be + used.

+ +

It would be better if a private use language + tag ({value}) is not used.

+ +

Private use subtag {value} + is syntactically invalid.

+ +

It is a good practice to represent ISO 3166 + country code {value} in uppercase.

+ +

No semantics is defined for region subtag + {value}.

+ +

Use of private use country code + {value} is not allowed.

+ +
+ +
+

RDF/XML Errors

+ +

The namespace URI of an element that + represents an RDF concept must be + http://www.w3.org/1999/02/22-rdf-syntax-ns#.

+ +

The specified value is already used as an + ID.

+ +

Both unqualified attribute and namespace‐qualified + RDF attribute are specified, which is not allowed.

+ +

An invalid value is specified to + the parseType attribute.

+ +

There is another element, such that + this element is not allowed.

+ +

Unqualified attribute is not allowed.

+ +

RDF attribute should be + namespace‐qualified.

+

Unsupported Messages

-

Conformance checking for element +

Conformance checking for element {local-name} is not supported; it might or might not be conforming.

The conformant checker does not support the element. It cannot determine whether the document is conforming or not.

-

Conformance checking for attribute +

Conformance checking for attribute {local-name} of element {element-local-name} is not supported; it might or might not be conforming.

@@ -999,7 +2341,7 @@ It cannot determine whether the document is conforming or not.

-

-
-

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.
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

MUST‐level + error

+

A violation to a hard requirement of the specification. + The document is non‐conforming.

+
+ +

SHOULD‐level + error

+

A violation to a requirement of the specification. + The violation might be legitimize in some case. Otherwise, + the document is non‐conforming.

+
+ +

Warning

+

A warning is an advice from the conformance checker + to avoid solving a problem in a confusing or possibly wrong way. + It does not affect to the conformance of the document, and + may sometimes be inappropriate.

+
+ +

Information

+

An informational message just provides an additional information + on the feature used in the document or the status of the retrieval + or so on. + It does not affect to the conformance of the document.

+
+ +

Not + supported

+

Some feature that is not supported by the conformance checker + is used in the document.

+

License of This Document

-

Copyright +

Copyright <w@suika.fam.cx>.

@@ -1093,6 +2642,6 @@ and/or modify it under the same terms as Perl itself.

- + \ No newline at end of file