--- test/html-webhacc/error-description-source.xml 2008/08/15 08:36:41 1.29 +++ test/html-webhacc/error-description-source.xml 2008/08/15 12:11:56 1.30 @@ -22,8 +22,9 @@

HTML5 Character Encoding Errors

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

The character encoding used for the document is not allowed @@ -31,9 +32,9 @@ - - Character encoding $0 + + Character encoding {text} should not be used for HTML document.

The character encoding used for the document is not recommended @@ -42,19 +43,20 @@ - - Use of UTF-8 is encouraged. + + 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. + 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 @@ -64,8 +66,8 @@ - + There is no character encoding declaration. @@ -85,11 +87,11 @@ - + No character encoding metadata is found in lower‐level protocol nor is there BOM, while - character encoding $0 + character encoding {text} is not a superset of ASCII.

The document is not labeled with character encoding name @@ -1184,8 +1186,22 @@

Element Content Model Errors

+ + The base element with the + href attribute specified cannot be placed after + any attribute with a URL. + + + + The base element with the + target attribute specified cannot be placed after + any element that defines a hyperlink. + + + modules="ContentChecker::HTML"> Data character is not allowed in this context. @@ -1211,9 +1227,15 @@ + + Non‐white‐space characters are not allowed in + an empty element. + + - There must be a $0 + modules="ContentChecker::HTML"> + There must be a {text} element as a child of this element.

The content model of the element is so defined that it @@ -1244,6 +1266,12 @@ + + There must be at least one + hn element descendant. + + This element is not allowed in this @@ -1312,10 +1340,103 @@ - - This element is not allowed as a root + + 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 must be the + first element in the head element. + + + + 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 @@ -1342,9 +1463,50 @@ + + 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 defined. + + + + 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 $0 + modules="ContentChecker::HTML"> + There is no {text} element before this element.

There must be an element before another element, but there @@ -1355,14 +1517,20 @@ + + The content of a rp element must + be a parenthesis. + +

Attribute Errors

- Required attribute $0 + modules="ContentChecker::HTML"> + Required attribute {text} is not specified.

A required attribute is not specified. The document @@ -1384,7 +1552,37 @@ - + + 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. @@ -1401,8 +1599,20 @@ + + The ismap attribute may only be + used for the image contained in an a element. + + + + This attribute is not defined. + + + class="attribute-error" + modules="ContentChecker::XML"> The xml:lang attribute is not allowed in HTML document. @@ -1427,7 +1637,7 @@ + modules="ContentChecker::HTML"> The charset attribute is not allowed in XML document. @@ -1443,7 +1653,7 @@ + modules="ContentChecker::HTML"> The lang attribute is not allowed in XML document. @@ -1459,8 +1669,14 @@ + + A noscript element cannot be + used in XML document. + + + modules="ContentChecker::HTML"> The xmlns attribute in the null namespace is not allowed in XHTML document. The document is non-conforming. @@ -1478,10 +1694,36 @@

Attribute Value Errors

- - Character encoding name $0 - is not registered. + + 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 @@ -1524,10 +1766,10 @@ - - $0 is a private - character encoding name. + + 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 @@ -1546,10 +1788,10 @@ - - The specified value is syntactically not a - character encoding name. + + 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. @@ -1559,8 +1801,106 @@ + + 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 attribute value is not a date or + time. + + + modules="ContentChecker::HTML"> This attribute only allow a limited set of values and the specified value {@} is not one of them. @@ -1606,16 +1946,80 @@ + + Attribute value {@} + is not allowed. + + + + There is another pragma + {value}. + + + class="attribute-value-error" + modules="ContentChecker::XML ContentChecker::HTML"> This identifier has already been assigned to another element. + + The token {value} + appears in the attribute value twice. + + + + The attribute value must not be empty. + + + + The specified value is out of range. + + + + The attribute value is not a real + number. + + + + A fragment identifier references the element + itself. + + + + A fragment identifier references no + node. + + + + A hash−name reference must start with a + # character. + + + + The id attribute value is + different from the name attribute value. + + + + The attribute value is not an integer. + + - The link type $0 + modules="ContentChecker::HTML"> + The link type {value} cannot be specified for this element.

The specified link type cannot be used for the element. @@ -1630,9 +2034,22 @@ + + Attribute value {@} + is not an allowed value. + + + + The attribute value is not a length + value. + + - The link type $0 + modules="ContentChecker::HTML"> + The link type {value} is non-conforming.

The specified link type is non-conforming, and therefore @@ -1655,11 +2072,17 @@ - - Character encoding name $1 - is different from document character encoding - $0. + + The specified value is not a valid as a long + character encoding declaration. + + + + The specified character encoding name + {value} is different from the actual document + character encoding {text}.

The specified character encoding name is different from the character encoding of the document. The document @@ -1667,6 +2090,54 @@ + + Whether the specified character encoding name + {value} matches to the actual character encoding + name cannot be checked since the input is not a byte stream. + + + + The attribute value is not a valid mode + name. + + + + The specified value is out of range. + + + + The attribute value is not a non‐negative + integer. + + + + The usemap attribute references + no image map. + + + + The contextmenu attribute references + no menu. + + + + the specified value is not a valid as part + of a Refresh pragma. + + + + The attribute value is not an integer or + a string template. + + Browsing context name @@ -1687,14 +2158,21 @@ -

+ + 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. + - - Link type $0 + + Link type {value} is proposed but not accepted yet; it should not be used until it has been accepted. @@ -1710,6 +2188,41 @@ + + The specified value {value} + is not a valid value. + + + + White space characters are not allowed + in the id attribute. + + + + The node referenced by the template + attribute is not a template. + + + + Browsing context name must not be empty. + + + + Browsing context name + {value} is reserved. + + + + The word {value} is not + allowed in this attribute. + +
@@ -1753,7 +2266,13 @@
-

Internet Media Type Warnings

+

Internet Media Type Errors

+ + + The specified value is not an Internet Media + Type. + @@ -1917,7 +2436,18 @@

Stability Information

- + + This attribute is deprecated. + + + + This element is deprecated. + + + This element is in the call for implementation stage. @@ -1933,7 +2463,8 @@ - + This element is in the last call for comments stage. @@ -1950,7 +2481,8 @@ - + This element is documented in a working draft. @@ -1965,7 +2497,8 @@ - + This element is not part of any standard the conformance checker knows. @@ -1976,13 +2509,69 @@ 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.

+
+

Unsupported Messages

- + Conformance checking for element {local-name} is not supported; it might or might not be conforming. @@ -1992,8 +2581,8 @@ - + Conformance checking for attribute {local-name} of element {element-local-name} is not supported; @@ -2004,9 +2593,9 @@ - - Link type $0 is not + + Link type {value} is not standardized or registered at the time of the release of the conformance checker; it is non-conforming unless it now has been registered. @@ -2031,28 +2620,28 @@ + modules="ContentChecker::HTML"> Conformance checking for event handler attribute is not supported; it might or might not be conforming. + modules="ContentChecker::HTML"> Conformance checking for media query is not supported; it might or might not be conforming. - + Conformance checking for script - language $0 is not supported; + language {text} is not supported; it might or might not be conforming. - + Conformance checking for style - language $0 is not supported; + language {text} is not supported; it might or might not be conforming. @@ -2637,6 +3226,6 @@ and/or modify it under the same terms as Perl itself.

- + \ No newline at end of file