HtmlParseError
A collection of HTML parse error codes.
AmbiguousOpenTag = 27
Ambiguous open tag.
AnchorNested = 138
Anchor elements cannot be nested.
The attribute has already been added.
The beginning of a new attribute has been expected.
AttributeNameInvalid = 96
The attribute's name contains an invalid character.
The attribute's value contains an invalid character.
BlockNotInScope = 43
No block element has been found within the local scope.
BodyClosedWrong = 150
The body has been closed wrong.
BodyNotInScope = 42
No body has been found within the local scope.
BodyTagMisplaced = 130
The body tag can only be placed once inside the html tag.
BogusComment = 26
Bogus comment.
ButtonInScope = 50
No button has been found within the local scope.
CaptionNotInScope = 37
No caption tag has been found within the local scope.
Character reference in attribute contains an invalid character (=).
Character reference is an invalid code.
Character reference is an invalid number.
Character reference within an invalid range.
Character reference is not terminated by a semicolon.
Character reference found no semicolon.
Character reference found no numbers.
The closing slash has been misplaced.
Comment ended with an unexpected character.
CommentEndedWithDash = 32
Comment ended with a dash.
CommentEndedWithEM = 31
Comment ended with an exclamation mark.
CurrentNodeIsNotRoot = 145
The current node is not the root element.
CurrentNodeIsRoot = 146
The current node is the root element.
DoctypeInvalid = 69
The given doctype tag is invalid.
Invalid character in the doctype detected.
DoctypeMissing = 71
The doctype tag is missing.
DoctypePublicInvalid = 65
Invalid character in the public identifier detected.
DoctypeSystemInvalid = 67
Invalid character in the system identifier detected.
The doctype tag is misplaced and ignored.
DoctypeUnexpected = 70
Doctype encountered unexpected character.
Doctype unexpected character after the name detected.
The double quotation marks have been misplaced.
ElementNotInScope = 52
No element has been found within the local scope.
EncodingError = 61
The encoding operation (either encoded or decoding) failed.
End tags can never be self-closed.
End tags cannot carry attributes.
EOF = 0
Unexpected end of file detected.
FormAlreadyOpen = 148
There is already an open form.
An expected formatting element has not been found.
FormClosedWrong = 149
The form has been closed wrong.
FormInappropriate = 116
The given form cannot be placed at the current position.
FormNotInScope = 49
No form has been found within the local scope.
FramesetMisplaced = 136
The frameset element has been misplaced.
HeadingNested = 137
Headings cannot be nested.
HeadingNotInScope = 47
No heading element has been found within the local scope.
HeadTagMisplaced = 128
The head tag can only be placed once inside the html tag.
HtmlTagMisplaced = 129
The html tag can only be placed once as the root element.
An illegal element has been detected in a select.
An illegal element has been detected in a table.
ImageTagNamedWrong = 131
The image tag has been named image instead of img.
InputUnexpected = 117
The given input cannot be placed at the current position.
ItemNotFound = 60
The specified item has not been found.
LineBreakUnexpected = 120
This position does not support a linebreak (LF, FF).
ListItemNotInScope = 48
No list item has been found within the local scope.
NobrInScope = 51
No nobr element has been found within the local scope.
The given public identifier for the notation declaration is invalid.
The given system identifier for the notation declaration is invalid.
Null = 1
NULL character replaced by repl. character.
ObjectNotInScope = 46
No object element has been found within the local scope.
ParagraphNotInScope = 41
No paragraph has been found within the local scope.
QuantifierMissing = 75
A required quantifier is missing in the provided expression.
SelectNesting = 134
Select elements cannot be nested.
SelectNotInScope = 38
No select tag has been found within the local scope.
The single quotation marks have been misplaced.
TableCellNotInScope = 44
No table cell has been found within the local scope.
TableNesting = 132
Tables cannot be nested.
TableNotInScope = 40
No table has been found within the local scope.
TableRowNotInScope = 39
No table row has been found within the local scope.
No table section has been found within the local scope.
The given tag cannot be self-closed.
TagCannotEndHere = 114
The given tag cannot end at the current position.
TagCannotStartHere = 115
The given tag cannot start at the current position.
TagClosedWrong = 28
The tag has been closed unexpectedly.
TagClosingMismatch = 118
The closing tag and the currently open tag do not match.
The given end tag does not match the current node.
TagInappropriate = 113
The given tag is not appropriate for the current position.
TagInvalidInFragmentMode = 147
This tag is invalid in fragment mode.
TagMustBeInHead = 112
The given tag must be placed in head tag.
TokenNotPossible = 144
The given token cannot be inserted here.
The type declaration is missing a valid definition.
Undefined markup declaration found.