Enum HtmlParseError
- Namespace
- AngleSharp.Html.Parser
- Assembly
- AngleSharp.dll
A collection of HTML parse error codes.
public enum HtmlParseError : byte
- Extension Methods
Fields
[DomDescription("Ambiguous open tag.")] AmbiguousOpenTag = 27
Ambiguous open tag.
[DomDescription("Anchor elements cannot be nested.")] AnchorNested = 138
Anchor elements cannot be nested.
[DomDescription("The attribute has already been added.")] AttributeDuplicateOmitted = 99
The attribute has already been added.
[DomDescription("The beginning of a new attribute has been expected.")] AttributeNameExpected = 98
The beginning of a new attribute has been expected.
[DomDescription("The attribute's name contains an invalid character.")] AttributeNameInvalid = 96
The attribute's name contains an invalid character.
[DomDescription("The attribute's value contains an invalid character.")] AttributeValueInvalid = 97
The attribute's value contains an invalid character.
[DomDescription("No block element has been found within the local scope.")] BlockNotInScope = 43
No block element has been found within the local scope.
[DomDescription("The body has been closed wrong.")] BodyClosedWrong = 150
The body has been closed wrong.
[DomDescription("No body has been found within the local scope.")] BodyNotInScope = 42
No body has been found within the local scope.
[DomDescription("The body tag can only be placed once inside the html tag.")] BodyTagMisplaced = 130
The body tag can only be placed once inside the html tag.
[DomDescription("Bogus comment detected.")] BogusComment = 26
Bogus comment.
[DomDescription("No button has been found within the local scope.")] ButtonInScope = 50
No button has been found within the local scope.
[DomDescription("No caption tag has been found within the local scope.")] CaptionNotInScope = 37
No caption tag has been found within the local scope.
[DomDescription("Character reference in attribute contains an invalid character (=).")] CharacterReferenceAttributeEqualsFound = 59
Character reference in attribute contains an invalid character (=).
[DomDescription("Character reference is an invalid code.")] CharacterReferenceInvalidCode = 57
Character reference is an invalid code.
[DomDescription("Character reference is an invalid number.")] CharacterReferenceInvalidNumber = 56
Character reference is an invalid number.
[DomDescription("Character reference within an invalid range.")] CharacterReferenceInvalidRange = 55
Character reference within an invalid range.
[DomDescription("Character reference is not terminated by a semicolon.")] CharacterReferenceNotTerminated = 58
Character reference is not terminated by a semicolon.
[DomDescription("Character reference found no semicolon.")] CharacterReferenceSemicolonMissing = 54
Character reference found no semicolon.
[DomDescription("Character reference found no numbers.")] CharacterReferenceWrongNumber = 53
Character reference found no numbers.
[DomDescription("The closing slash has been misplaced.")] ClosingSlashMisplaced = 29
The closing slash has been misplaced.
[DomDescription("Comment ended with an unexpected character.")] CommentEndedUnexpected = 33
Comment ended with an unexpected character.
[DomDescription("Comment ended with a dash.")] CommentEndedWithDash = 32
Comment ended with a dash.
[DomDescription("Comment ended with an exclamation mark.")] CommentEndedWithEM = 31
Comment ended with an exclamation mark.
[DomDescription("The current node is not the root element.")] CurrentNodeIsNotRoot = 145
The current node is not the root element.
[DomDescription("The current node is the root element.")] CurrentNodeIsRoot = 146
The current node is the root element.
[DomDescription("The given doctype tag is invalid.")] DoctypeInvalid = 69
The given doctype tag is invalid.
[DomDescription("Invalid character in the doctype detected.")] DoctypeInvalidCharacter = 66
Invalid character in the doctype detected.
[DomDescription("The doctype tag is missing.")] DoctypeMissing = 71
The doctype tag is missing.
[DomDescription("Invalid character in the public identifier detected.")] DoctypePublicInvalid = 65
Invalid character in the public identifier detected.
[DomDescription("Invalid character in the system identifier detected.")] DoctypeSystemInvalid = 67
Invalid character in the system identifier detected.
[DomDescription("The doctype tag is misplaced and ignored.")] DoctypeTagInappropriate = 68
The doctype tag is misplaced and ignored.
[DomDescription("Doctype encountered unexpected character.")] DoctypeUnexpected = 70
Doctype encountered unexpected character.
[DomDescription("Doctype unexpected character after the name detected.")] DoctypeUnexpectedAfterName = 64
Doctype unexpected character after the name detected.
[DomDescription("The double quotation marks have been misplaced.")] DoubleQuotationMarkUnexpected = 80
The double quotation marks have been misplaced.
[DomDescription("Unexpected end of the given file.")] EOF = 0
Unexpected end of file detected.
[DomDescription("No element has been found within the local scope.")] ElementNotInScope = 52
No element has been found within the local scope.
[DomDescription("The encoding operation (either encoded or decoding) failed.")] EncodingError = 61
The encoding operation (either encoded or decoding) failed.
[DomDescription("End tags can never be self-closed.")] EndTagCannotBeSelfClosed = 35
End tags can never be self-closed.
[DomDescription("End tags cannot carry attributes.")] EndTagCannotHaveAttributes = 36
End tags cannot carry attributes.
[DomDescription("There is already an open form.")] FormAlreadyOpen = 148
There is already an open form.
[DomDescription("The form has been closed wrong.")] FormClosedWrong = 149
The form has been closed wrong.
[DomDescription("The given form cannot be placed at the current position.")] FormInappropriate = 116
The given form cannot be placed at the current position.
[DomDescription("No form has been found within the local scope.")] FormNotInScope = 49
No form has been found within the local scope.
[DomDescription("An expected formatting element has not been found.")] FormattingElementNotFound = 151
An expected formatting element has not been found.
[DomDescription("The frameset element has been misplaced.")] FramesetMisplaced = 136
The frameset element has been misplaced.
[DomDescription("The head tag can only be placed once inside the html tag.")] HeadTagMisplaced = 128
The head tag can only be placed once inside the html tag.
[DomDescription("Headings cannot be nested.")] HeadingNested = 137
Headings cannot be nested.
[DomDescription("No heading element has been found within the local scope.")] HeadingNotInScope = 47
No heading element has been found within the local scope.
[DomDescription("The html tag can only be placed once as the root element.")] HtmlTagMisplaced = 129
The html tag can only be placed once as the root element.
[DomDescription("An illegal element has been detected in a select.")] IllegalElementInSelectDetected = 135
An illegal element has been detected in a select.
[DomDescription("An illegal element has been detected in a table.")] IllegalElementInTableDetected = 133
An illegal element has been detected in a table.
[DomDescription("The image tag has been named image instead of img.")] ImageTagNamedWrong = 131
The image tag has been named image instead of img.
[DomDescription("The given input cannot be placed at the current position.")] InputUnexpected = 117
The given input cannot be placed at the current position.
[DomDescription("The specified item has not been found.")] ItemNotFound = 60
The specified item has not been found.
[DomDescription("This position does not support a linebreak (LF, FF).")] LineBreakUnexpected = 120
This position does not support a linebreak (LF, FF).
[DomDescription("No list item has been found within the local scope.")] ListItemNotInScope = 48
No list item has been found within the local scope.
[DomDescription("No nobr element has been found within the local scope.")] NobrInScope = 51
No nobr element has been found within the local scope.
[DomDescription("The given public identifier for the notation declaration is invalid.")] NotationPublicInvalid = 72
The given public identifier for the notation declaration is invalid.
[DomDescription("The given system identifier for the notation declaration is invalid.")] NotationSystemInvalid = 73
The given system identifier for the notation declaration is invalid.
[DomDescription("NULL character replaced by repl. character.")] Null = 1
NULL character replaced by repl. character.
[DomDescription("No object element has been found within the local scope.")] ObjectNotInScope = 46
No object element has been found within the local scope.
[DomDescription("No paragraph has been found within the local scope.")] ParagraphNotInScope = 41
No paragraph has been found within the local scope.
[DomDescription("A required quantifier is missing in the provided expression.")] QuantifierMissing = 75
A required quantifier is missing in the provided expression.
[DomDescription("Select elements cannot be nested.")] SelectNesting = 134
Select elements cannot be nested.
[DomDescription("No select tag has been found within the local scope.")] SelectNotInScope = 38
No select tag has been found within the local scope.
[DomDescription("The single quotation marks have been misplaced.")] SingleQuotationMarkUnexpected = 81
The single quotation marks have been misplaced.
[DomDescription("No table cell has been found within the local scope.")] TableCellNotInScope = 44
No table cell has been found within the local scope.
[DomDescription("Tables cannot be nested.")] TableNesting = 132
Tables cannot be nested.
[DomDescription("No table has been found within the local scope.")] TableNotInScope = 40
No table has been found within the local scope.
[DomDescription("No table row has been found within the local scope.")] TableRowNotInScope = 39
No table row has been found within the local scope.
[DomDescription("No table section has been found within the local scope.")] TableSectionNotInScope = 45
No table section has been found within the local scope.
[DomDescription("The given tag cannot be self-closed.")] TagCannotBeSelfClosed = 34
The given tag cannot be self-closed.
[DomDescription("The given tag cannot end at the current position.")] TagCannotEndHere = 114
The given tag cannot end at the current position.
[DomDescription("The given tag cannot start at the current position.")] TagCannotStartHere = 115
The given tag cannot start at the current position.
[DomDescription("The tag has been closed unexpectedly.")] TagClosedWrong = 28
The tag has been closed unexpectedly.
[DomDescription("The closing tag and the currently open tag do not match.")] TagClosingMismatch = 118
The closing tag and the currently open tag do not match.
[DomDescription("The given end tag does not match the current node.")] TagDoesNotMatchCurrentNode = 119
The given end tag does not match the current node.
[DomDescription("The given tag is not appropriate for the current position.")] TagInappropriate = 113
The given tag is not appropriate for the current position.
[DomDescription("This tag is invalid in fragment mode.")] TagInvalidInFragmentMode = 147
This tag is invalid in fragment mode.
[DomDescription("The given tag must be placed in head tag.")] TagMustBeInHead = 112
The given tag must be placed in head tag.
[DomDescription("The given token cannot be inserted here.")] TokenNotPossible = 144
The given token cannot be inserted here.
[DomDescription("The type declaration is missing a valid definition.")] TypeDeclarationUndefined = 74
The type declaration is missing a valid definition.
[DomDescription("Undefined markup declaration found.")] UndefinedMarkupDeclaration = 30
Undefined markup declaration found.