source: trip-planner-front/node_modules/parse5/lib/common/error-codes.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 4.2 KB
Line 
1'use strict';
2
3module.exports = {
4 controlCharacterInInputStream: 'control-character-in-input-stream',
5 noncharacterInInputStream: 'noncharacter-in-input-stream',
6 surrogateInInputStream: 'surrogate-in-input-stream',
7 nonVoidHtmlElementStartTagWithTrailingSolidus: 'non-void-html-element-start-tag-with-trailing-solidus',
8 endTagWithAttributes: 'end-tag-with-attributes',
9 endTagWithTrailingSolidus: 'end-tag-with-trailing-solidus',
10 unexpectedSolidusInTag: 'unexpected-solidus-in-tag',
11 unexpectedNullCharacter: 'unexpected-null-character',
12 unexpectedQuestionMarkInsteadOfTagName: 'unexpected-question-mark-instead-of-tag-name',
13 invalidFirstCharacterOfTagName: 'invalid-first-character-of-tag-name',
14 unexpectedEqualsSignBeforeAttributeName: 'unexpected-equals-sign-before-attribute-name',
15 missingEndTagName: 'missing-end-tag-name',
16 unexpectedCharacterInAttributeName: 'unexpected-character-in-attribute-name',
17 unknownNamedCharacterReference: 'unknown-named-character-reference',
18 missingSemicolonAfterCharacterReference: 'missing-semicolon-after-character-reference',
19 unexpectedCharacterAfterDoctypeSystemIdentifier: 'unexpected-character-after-doctype-system-identifier',
20 unexpectedCharacterInUnquotedAttributeValue: 'unexpected-character-in-unquoted-attribute-value',
21 eofBeforeTagName: 'eof-before-tag-name',
22 eofInTag: 'eof-in-tag',
23 missingAttributeValue: 'missing-attribute-value',
24 missingWhitespaceBetweenAttributes: 'missing-whitespace-between-attributes',
25 missingWhitespaceAfterDoctypePublicKeyword: 'missing-whitespace-after-doctype-public-keyword',
26 missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:
27 'missing-whitespace-between-doctype-public-and-system-identifiers',
28 missingWhitespaceAfterDoctypeSystemKeyword: 'missing-whitespace-after-doctype-system-keyword',
29 missingQuoteBeforeDoctypePublicIdentifier: 'missing-quote-before-doctype-public-identifier',
30 missingQuoteBeforeDoctypeSystemIdentifier: 'missing-quote-before-doctype-system-identifier',
31 missingDoctypePublicIdentifier: 'missing-doctype-public-identifier',
32 missingDoctypeSystemIdentifier: 'missing-doctype-system-identifier',
33 abruptDoctypePublicIdentifier: 'abrupt-doctype-public-identifier',
34 abruptDoctypeSystemIdentifier: 'abrupt-doctype-system-identifier',
35 cdataInHtmlContent: 'cdata-in-html-content',
36 incorrectlyOpenedComment: 'incorrectly-opened-comment',
37 eofInScriptHtmlCommentLikeText: 'eof-in-script-html-comment-like-text',
38 eofInDoctype: 'eof-in-doctype',
39 nestedComment: 'nested-comment',
40 abruptClosingOfEmptyComment: 'abrupt-closing-of-empty-comment',
41 eofInComment: 'eof-in-comment',
42 incorrectlyClosedComment: 'incorrectly-closed-comment',
43 eofInCdata: 'eof-in-cdata',
44 absenceOfDigitsInNumericCharacterReference: 'absence-of-digits-in-numeric-character-reference',
45 nullCharacterReference: 'null-character-reference',
46 surrogateCharacterReference: 'surrogate-character-reference',
47 characterReferenceOutsideUnicodeRange: 'character-reference-outside-unicode-range',
48 controlCharacterReference: 'control-character-reference',
49 noncharacterCharacterReference: 'noncharacter-character-reference',
50 missingWhitespaceBeforeDoctypeName: 'missing-whitespace-before-doctype-name',
51 missingDoctypeName: 'missing-doctype-name',
52 invalidCharacterSequenceAfterDoctypeName: 'invalid-character-sequence-after-doctype-name',
53 duplicateAttribute: 'duplicate-attribute',
54 nonConformingDoctype: 'non-conforming-doctype',
55 missingDoctype: 'missing-doctype',
56 misplacedDoctype: 'misplaced-doctype',
57 endTagWithoutMatchingOpenElement: 'end-tag-without-matching-open-element',
58 closingOfElementWithOpenChildElements: 'closing-of-element-with-open-child-elements',
59 disallowedContentInNoscriptInHead: 'disallowed-content-in-noscript-in-head',
60 openElementsLeftAfterEof: 'open-elements-left-after-eof',
61 abandonedHeadElementChild: 'abandoned-head-element-child',
62 misplacedStartTagForHeadElement: 'misplaced-start-tag-for-head-element',
63 nestedNoscriptInHead: 'nested-noscript-in-head',
64 eofInElementThatCanContainOnlyText: 'eof-in-element-that-can-contain-only-text'
65};
Note: See TracBrowser for help on using the repository browser.