--- test/html-webhacc/error-description-source.xml 2007/07/16 13:56:26 1.4 +++ test/html-webhacc/error-description-source.xml 2007/07/17 13:52:54 1.5 @@ -183,6 +183,36 @@ + + + Processing instruction + (<?...?>) cannot be used. + +

Processing instructions (<?...?>), + including XML declaration (<?xml ...?>) + and XML style sheet PI + (<xml-stylesheet ...?>), are not allowed + in the HTML syntax. The document is non-conforming.

+ +

If it is necessary to embed a processing instruction + in the HTML document, you must use the XML syntax instead.

+ +

In the HTML syntax, XML declaration is not necessary.

+ +

Instead of XML style sheet, + PIs, you must + use the HTML link element whose rel + attribute is set to stylesheet (or alternate + stylesheet for an aleternate style sheet).

+ +

Web browsers will parse processing instructions as bogus + comments. Some legacy Web browsers, such as IE:mac and + some mobile browsers, will display processing instructions + as string.

+
+
+
@@ -213,10 +243,22 @@ + + Anchor cannot be nested. + +

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

+ +

In the HTML syntax, a start tag of the a + implies the end tag of any opening a element.

+
+
+ Tag <$0> - is not allowed in body. + is not allowed in a body element.

The start or end tag of an element, which cannot be a descendant of body element, appears @@ -225,10 +267,24 @@ + + 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.

+ +

In an HTML document there must not be more than + one head element, therefore no more than one + start tag <head> can appear in the input stream.

+
+
+ Tag <$0> - is not allowed in table. + is not allowed in a table element.

The start or end tag of an element, which cannot be a child of table element, appears @@ -546,7 +602,7 @@ - The link type $0 cannot be specified for this element. @@ -665,7 +721,7 @@ - This string is not an IRI syntactically. + This string is syntactically not an IRI.

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

- + \ No newline at end of file