AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.0.1" />

 HtmlParseError

public enum HtmlParseError
A collection of HTML parse error codes.

Ambiguous open tag.

Anchor elements cannot be nested.

The attribute has already been added.

The beginning of a new attribute has been expected.

The attribute's name contains an invalid character.

The attribute's value contains an invalid character.

No block element has been found within the local scope.

The body has been closed wrong.

No body has been found within the local scope.

The body tag can only be placed once inside the html tag.

Bogus comment.

No button has been found within the local scope.

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.

Comment ended with a dash.

Comment ended with an exclamation mark.

The current node is not the root element.

The current node is the root element.

The given doctype tag is invalid.

Invalid character in the doctype detected.

The doctype tag is missing.

Invalid character in the public identifier detected.

Invalid character in the system identifier detected.

The doctype tag is misplaced and ignored.

Doctype encountered unexpected character.

Doctype unexpected character after the name detected.

The double quotation marks have been misplaced.

No element has been found within the local scope.

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.

There is already an open form.

An expected formatting element has not been found.

The form has been closed wrong.

The given form cannot be placed at the current position.

No form has been found within the local scope.

The frameset element has been misplaced.

Headings cannot be nested.

No heading element has been found within the local scope.

The head tag can only be placed once inside the html tag.

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.

The image tag has been named image instead of img.

The given input cannot be placed at the current position.

The specified item has not been found.

This position does not support a linebreak (LF, FF).

No list item has been found within the local scope.

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.

No object element has been found within the local scope.

No paragraph has been found within the local scope.

A required quantifier is missing in the provided expression.

Select elements cannot be nested.

No select tag has been found within the local scope.

The single quotation marks have been misplaced.

No table cell has been found within the local scope.

Tables cannot be nested.

No table has been found within the local scope.

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.

The given tag cannot end at the current position.

The given tag cannot start at the current position.

The tag has been closed unexpectedly.

The closing tag and the currently open tag do not match.

The given end tag does not match the current node.

The given tag is not appropriate for the current position.

This tag is invalid in fragment mode.

The given tag must be placed in head tag.

The given token cannot be inserted here.

The type declaration is missing a valid definition.

Undefined markup declaration found.