--- test/html-webhacc/error-description.en.html.u8 2008/08/15 05:53:23 1.24 +++ test/html-webhacc/error-description.en.html.u8 2008/08/15 08:36:41 1.25 @@ -89,9 +89,32 @@ ASCII for the purpose of HTML conformance.

-

While parsing the document as - $0, a character encoding declaration specifying - character encoding as $1 is found. The document +

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.

+ +

Since no decoder for the document character + encoding is found, decoder for the character encoding + {text} is used. Checking results might be + wrong.

+ +

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 @@ -116,6 +139,13 @@

  • Use UTF-8.
  • + +

    The NULL character + is not allowed.

    + +

    Code point {text} is + not allowed.

    +
    @@ -142,6 +172,13 @@ element.

    +

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

    + +

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

    +

    The & character must be escaped as &.

    An & character which @@ -313,6 +350,13 @@

    +

    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 @@ -327,7 +371,7 @@

    There are two attributes with name - $0.

    + {text}.

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

    @@ -335,6 +379,17 @@ Use img element with animation GIF instead.

    +

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

    + +

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

    + +

    End tag cannot have attributes.

    + +

    Character reference to + {text} is not allowed.

    +

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

    Polytheistic slash (/>) must not be used @@ -379,9 +434,28 @@ 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.

    + +

    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 - (<?...>) cannot be used.

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

    Processing instructions (<?...?>), including XML declaration (<?xml ...?>) and XML style sheet PI @@ -429,27 +503,81 @@ 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.

    +

    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.

    + +

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

    + +

    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. @@ -459,7 +587,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 @@ -467,6 +595,27 @@ The document is non-conforming.

    +

    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 @@ -477,7 +626,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 @@ -491,10 +676,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 @@ -503,6 +691,9 @@ a table caption.

    +

    The isindex element is + obsolete.

    +

    Start tag of tr element is missing.

    Start tag of a tr element, which is not @@ -530,7 +721,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 @@ -587,7 +778,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.

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

    - + \ No newline at end of file