--- test/html-webhacc/error-description-source.xml 2008/08/15 08:36:41 1.29
+++ test/html-webhacc/error-description-source.xml 2008/08/16 07:42:20 1.34
@@ -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 RDFXML">
Data character is not allowed in this
context.
@@ -1211,10 +1227,28 @@
+
+ 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 a $0
- element as a child of this element.
+ modules="ContentChecker::HTML ContentChecker::Atom">
+ 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.
@@ -1244,8 +1278,35 @@
+
+ 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.
+
+
+ modules="ContentChecker::HTML ContentChecker::Atom RDFXML">
This element is not allowed in this
context.
@@ -1312,10 +1373,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 +1496,68 @@
+
+ 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.
+
+
+
+ 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 +1568,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 +1603,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 +1650,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 +1688,7 @@
+ modules="ContentChecker::HTML">
The charset attribute is not
allowed in XML document.
@@ -1443,7 +1704,7 @@
+ modules="ContentChecker::HTML">
The lang attribute is not
allowed in XML document.
@@ -1459,8 +1720,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 +1745,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 +1817,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 +1839,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 +1852,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 +1997,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 +2085,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 +2123,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 +2141,60 @@
+
+ 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.
+
+
+
+ There is no table header cell whose id
+ is {value} in the same table.
+
+
+
+ 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 +2215,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,18 +2245,70 @@
+
+ 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.
+
+
+
+ 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
@@ -1750,10 +2337,35 @@
+
+ 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 media type is a composite
+ type, which is not allowed in this context.
+
+
+
+ The specified value is not an Internet Media
+ Type.
+
@@ -1791,13 +2403,25 @@
+
+ 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.
@@ -1815,13 +2439,38 @@
-
+
+ The specified value is syntactically not an RDF
+ URI reference.
+
-
-URI (or IRI) Should-level Errors
+
+ The specified value is syntactically not a
+ URI according to RFC 2396.
+
-
+
+ The specified value is syntactically not a
+ URI.
+
+
+
+ URL host address format
+ {value} is not supported by the
+ conformance checker.
+
+
+
+ Default port number should be omitted.
+
+
+
A dot-segment (. or
..) occurs in an absolute reference.
@@ -1836,10 +2485,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
@@ -1850,8 +2504,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.
@@ -1861,8 +2532,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.
@@ -1872,9 +2561,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.
@@ -1894,10 +2589,271 @@
+
+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.
+
+
+
+ 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.
@@ -1912,12 +2868,29 @@
CACHE and MANIFEST).
+
+
+ This URL is same as the manifest URL.
+
+
+
+
+ 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
{local-name} is not supported; it might or
might not be conforming.
@@ -1992,8 +3148,8 @@
-
+
Conformance checking for attribute
{local-name} of element
{element-local-name} is not supported;
@@ -2004,9 +3160,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,31 +3187,44 @@
+ 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 an addr-spec
+ 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.
+
+ Conformance checking for an Atom
+ content element with type
+ {text} is not supported.
+
+
@@ -2223,6 +3392,16 @@
再整形
+
+ RDF Triples
+ RDF 三項組
+
+
+
+ RDF
+ RDF
+
+
Structural Errors
構造的誤り
@@ -2375,6 +3554,51 @@
バイト
+
+ Explicit entries
+ 明示的項目
+
+
+
+ Fallback entries
+ 滑り止め項目
+
+
+
+ Opportunistic caching namespace
+ 日和見的キャッシュ化名前空間
+
+
+
+ Fallback entry
+ 滑り止め項目
+
+
+
+ Online whitelist
+ オンライン・ホワイトリスト
+
+
+
+ No entry
+ 項目なし
+
+
+
+ Subject
+ 主語
+
+
+
+ Predicate
+ 述語
+
+
+
+ Object
+ 目的語
+
+
character
文字
@@ -2637,6 +3861,6 @@
and/or modify it under the same terms as Perl itself.
-
+