--- test/html-webhacc/error-description-source.xml 2008/08/15 12:11:56 1.30 +++ test/html-webhacc/error-description-source.xml 2008/08/30 05:32:51 1.40 @@ -3,13 +3,55 @@ xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" id="error-description"> -Description of Errors — -Web Document Conformance Checker (BETA) - + +Description of Errors — WebHACC (β) +誤りの説明 — WebHACC (β) + -

Description of Errors

+
+

WebHACC

+

Description of Errors

+
+ + + WebHACC (β) + + + + + WebHACC + + + WebHACC + + +

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.

+
+ +

WebHACC + は、 Web 文書のための適合性検査器 (妥当性検証器) です。 + HTML5、 + Atom 1.0、 + CSS3 + などの最新の Web 標準に対応しています。

+ +

文書を検査する

+ +

WebHACC + の詳細

+
+

Character Encoding Layer Errors

@@ -156,7 +198,6 @@ While parsing the document as {text}, a character encoding declaration specifying @@ -204,44 +245,13 @@

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.

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

- -

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

-
-
- Attribute name cannot contain characters ", ', and =. Attribute value must be quoted by " or ' if it contains a ", ', or @@ -249,7 +259,6 @@ The & character must be escaped as &amp;. @@ -287,7 +296,6 @@ A </ string is not followed by a tag name. @@ -311,7 +319,6 @@ A < character is not followed by tag name or by a ! character. @@ -328,7 +335,6 @@ The decimal representation of the code position of a character must be specified after &#. @@ -362,7 +368,6 @@ The hexadecimal representation of the code position of a character must be specified after &#x. @@ -385,7 +390,6 @@ String <! is not followed by --. @@ -420,7 +424,6 @@ String </ is not followed by tag name. @@ -443,14 +446,12 @@ Character reference to {text} is not allowed. Character reference to U+000D (CARRIAGE RETURN) @@ -458,7 +459,6 @@ There is a -- sequence in a comment. @@ -476,7 +476,6 @@ There are two attributes with name {text}. @@ -490,34 +489,29 @@ 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. @@ -565,28 +559,24 @@ 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 @@ -594,21 +584,18 @@ 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 @@ -661,77 +648,66 @@ 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. @@ -743,49 +719,43 @@

HTML5 Parse Errors in Tree Construction Stage

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. + modules="HTML::Parser"> The {text} element cannot be inserted between head and body elements. @@ -797,35 +767,48 @@ 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.

+
Non‐white‐space characters are not allowed after the html is closed. The image element is obsolete. Anchor cannot be nested. @@ -838,7 +821,6 @@ Start tag <{text}> is not allowed in the body element. @@ -851,56 +833,48 @@ 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. @@ -915,7 +889,6 @@ A DOCTYPE appears after any element or data character has been seen. @@ -932,14 +905,12 @@ The nobr element cannot be nested. The {text} element is not allowed in a noscript element in the @@ -947,21 +918,18 @@ 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 @@ -969,28 +937,24 @@ 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. @@ -1009,14 +973,12 @@ 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. @@ -1033,14 +995,12 @@ The isindex element is obsolete. Start tag of tr element is missing. @@ -1201,7 +1161,7 @@ + modules="ContentChecker::HTML RDFXML"> Data character is not allowed in this context. @@ -1233,10 +1193,22 @@ an empty element. - - There must be a {text} - element as a child of this 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. @@ -1266,6 +1238,27 @@ + + 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 @@ -1273,7 +1266,7 @@ + modules="ContentChecker::HTML ContentChecker::Atom RDFXML"> This element is not allowed in this context. @@ -1366,7 +1359,7 @@ + modules="ContentChecker::HTML ContentChecker::Atom"> Elements are not allowed in an empty element. @@ -1481,6 +1474,24 @@ 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. @@ -1582,7 +1593,7 @@ + modules="ContentChecker::HTML RDFXML"> Attribute {local-name} is not allowed for {element-local-name} element. @@ -1967,7 +1978,7 @@ + modules="ContentChecker::HTML HTML::Table"> The token {value} appears in the attribute value twice. @@ -2036,7 +2047,7 @@ + modules="ContentChecker::XML ContentChecker::HTML ContentChecker::Atom"> Attribute value {@} is not an allowed value. @@ -2126,6 +2137,12 @@ no menu. + + There is no table header cell whose id + is {value} in the same table. + + the specified value is not a valid as part @@ -2223,18 +2240,35 @@ allowed in this attribute. + + The specified value is not a legal XML Namespaces + 1.0 NCName. + +

Table Model Errors

- + + 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. + + This column has no anchored cell. + + The table has no cell (td or @@ -2263,24 +2297,74 @@ + + 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 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. + + + + The specified value, + {value}, is syntactically not a valid + attribute name. + + + + The specified media type is a composite + type, which is not allowed in this context. + + + + An Internet Media Type whose intended usage + is limited use, {value} is used. + + + modules="ContentChecker::HTML ContentChecker::Atom"> The specified value is not an Internet Media Type. + + An obsolete parameter + {value} is used. + + - {@}: An obsolete - subtype is used. + modules="IMTChecker"> + An obsolete Internet Media Type + {value} is used.

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

+ of OBSOLETE.

Media type text/ecmascript
@@ -2297,26 +2381,93 @@ + + Parameter {text} have to + be specified for the Internet Media Type + {value}. + + + + Parameter {value} is not + allowed for this Internet Media Type. + + - {@}: A private - (x- or x.) subtype is used. + modules="IMTChecker"> + 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. - {@}: The subtype is - not registered to IANA. - + modules="IMTChecker"> + 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 reference. @@ -2334,13 +2485,37 @@ -
+ + 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. + + + + URL host address format + {text} is not defined. + -
-

URI (or IRI) Should-level Errors

+ + Default port number should be omitted. + - + A dot-segment (. or ..) occurs in an absolute reference. @@ -2355,10 +2530,15 @@ - - This IRI does not end with - a /. + + The host component of the URL is empty. + + + + The URL does not end with + a / character.

The IRI does not end with a /. If there is an authority component in an IRI, a / should be present @@ -2369,8 +2549,25 @@ - + + 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. @@ -2380,8 +2577,26 @@ - + + 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. @@ -2391,9 +2606,15 @@ - - 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.

@@ -2413,10 +2634,277 @@
+
+

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 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. @@ -2431,6 +2919,12 @@ CACHE and MANIFEST).

+ + + This URL is same as the manifest URL. + +
@@ -2567,6 +3061,130 @@
+
+

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

@@ -2582,7 +3200,7 @@ + modules="ContentChecker ContentChecker::HTML ContentChecker::Atom"> Conformance checking for attribute {local-name} of element {element-local-name} is not supported; @@ -2631,6 +3249,12 @@ is not supported; it might or might not be conforming. + + Conformance checking for an addr-spec + is not supported; it might or might not be conforming. + + Conformance checking for script @@ -2645,20 +3269,26 @@ it might or might not be conforming. -
- - - WebHACC (β) - + + Conformance checking for an Atom + content element with type + {text} is not supported. + + + + No more information is available. + これ以上の詳しい情報はありません。 + +

No more information is available for this topic.

+
+ +

これについての詳しい情報はありません。

+
+
- - - WebHACC - - - WebHACC - - +
Input @@ -2812,6 +3442,16 @@ 再整形 + + RDF Triples + RDF 三項組 + + + + RDF + RDF + + Structural Errors 構造的誤り @@ -2964,6 +3604,51 @@ バイト + + Explicit entries + 明示的項目 + + + + Fallback entries + 滑り止め項目 + + + + Opportunistic caching namespace + 日和見的キャッシュ化名前空間 + + + + Fallback entry + 滑り止め項目 + + + + Online whitelist + オンライン・ホワイトリスト + + + + No entry + 項目なし + + + + Subject + 主語 + + + + Predicate + 述語 + + + + Object + 目的語 + + character 文字 @@ -2994,6 +3679,16 @@ 位置不明 + + (Unknown) + (不明) + + + + Description + 説明 + + Structure of Table #{text} 表 #{text} の構造 @@ -3137,84 +3832,58 @@ - MUST‐level + MUST‐level error - 必須級の誤り + 必須級の誤り + +

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

+
- SHOULD‐level + 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 - 警告 + 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 - 情報 + 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 + Not supported - 未対応 + 未対応 + +

Some feature that is not supported by the conformance checker + is used in the 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.
InformationConforming.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 supportedUnknown.Some feature that is not supported by the conformance checker -is used in the document.
-
-

License of This Document

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

- + \ No newline at end of file