A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

HTML5 Conformance Checker Error Messages: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
m (Corrected link)
m (Updated link to the test cases)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This page is for documenting the error messages from the [http://hsivonen.iki.fi/validator/html5/ HTML5 Validator].
This page is for documenting the error messages from the [http://hsivonen.iki.fi/validator/html5/ HTML5 Conformance Checker].


These error messages have come from [http://hsivonen.iki.fi/validator-about/jing-rng-messages.txt Jing].  They need to be documented and tested.  We also need to try and come up with more user friendly errors, where possible.
These error messages have come from [http://hsivonen.iki.fi/validator-about/jing-rng-messages.txt Jing].  They need to be documented and tested.  We also need to try and come up with more user friendly errors, where possible.
Line 16: Line 16:
* schema does not allow anything: it is equivalent to <notAllowed/>
* schema does not allow anything: it is equivalent to <notAllowed/>


[http://lachy.id.au/dev/2006/11/html5/ Test cases] for these errors are available.
[http://lachy.id.au/dev/markup/tests/html5/adhoc/ Test cases] for these errors are available.

Latest revision as of 18:03, 17 November 2006

This page is for documenting the error messages from the HTML5 Conformance Checker.

These error messages have come from Jing. They need to be documented and tested. We also need to try and come up with more user friendly errors, where possible.

  • unknown element {0}
  • required elements missing
  • element {0} not allowed in this context
  • attribute {0} not allowed at this point; ignored
  • bad value for attribute {0}
  • required attributes missing
  • unfinished element
  • text not allowed here
  • document incompletely matched
  • bad character content for element
  • element cannot have content that consists only of text
  • schema does not allow anything: it is equivalent to <notAllowed/>

Test cases for these errors are available.