- Notifications
You must be signed in to change notification settings - Fork 62
Implement tokenization errors as per spec. #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 103 commits
Commits
Show all changes
106 commits Select commit Hold shift + click to select a range
222b75c Add control-or-undefined-character-in-input-stream parse error.
inikulin 3f10d5b Add non-unicode-character-in-input-stream parse error.
inikulin 5a3b850 Add self-closing-non-void-html-element error.
inikulin 203f0ef Add end-tag-with-attributes error.
inikulin 7b56b75 Add self-closing-end-tag error.
inikulin 91f17a6 Add unexpected-null-character error.
inikulin 7989d84 Add unexpected-null-character parse error in in RCDATA, RAWTEXT, PLA…
inikulin 6e4821a Add Tag open state errors
inikulin c8d5a02 Add End tag open state parse errors.
inikulin a1938c2 Add Markup declaration open state parse errors.
inikulin 2cada34 Add Script data escaped state parse errors.
inikulin 23176e3 Add Script data escaped dash state parse errors.
inikulin 8c72094 Add Script data escaped dash dash state errors.
inikulin 586f2dd Add Script data double escaped state errors.
inikulin 5fc480e Adding tests for Tag Name parse errors
924515f Adding back old eof error
f06aecd Merge pull request #1 from diervo/dval/parseErrorTagName
inikulin dcd7002 Adding parser errors for before attribute name state
c9436ca Add Comment less-than sign bang dash dash state errors.
inikulin 2918163 Add Comment start state errors.
inikulin ad3c75e Add Comment start dash state errors.
inikulin a74e16a Add Comment state errors.
inikulin e7d3d7d Adding parser errors for attibute name state
6e62741 Merge pull request #2 from HTMLParseErrorWG/comments-parse-errors
inikulin 730d1fd Add Comment end dash state errors.
inikulin 95be487 Add Comment end state errors.
inikulin 1bb47c3 Add Comment end bang state errors.
inikulin ba7425f Adding parser errors for after attibute name state
f7d0432 Merge pull request #3 from HTMLParseErrorWG/comment-parse-errors2
inikulin 8179234 Generalizing error naming
e091f33 Merge pull request #4 from diervo/attrErrors
inikulin def9b41 Revert "Adding parser errors for attibute name states"
inikulin f2b6762 Merge pull request #5 from HTMLParseErrorWG/revert-4-attrErrors
inikulin 2d76815 Revert "Revert "Adding parser errors for attibute name states""
inikulin 7c8dc47 Merge pull request #6 from HTMLParseErrorWG/revert-5-revert-4-attrErrors
inikulin 549e840 Add CDATA section state errors.
inikulin 64b767e Generalize tag errors. Fix typo.
inikulin 5229aa6 Merge pull request #7 from HTMLParseErrorWG/gh8
inikulin 5e31e92 Adding parser errors for before attribute value state
db44726 Added parse errors for attribute value doublequoted
645d9ea Added parse errors for attribute value single-quoted
4f4339a Added parse errors for attribute value unquoted
ac195da Added parse errors for attribute value quoted
53743e1 Added parse errors: Self closing start tag
3f7b0c9 Generalize eof-in-tag error, Rename attrValue errors (more accurate)
1a2cf4c Rename for better semantics: missing-whitespace-between-attributes
469218f Merge pull request #8 from diervo/attrValue
inikulin b9511ae Add Hexademical character reference start state errors.
inikulin 090cd9c Add Decimal character reference start state errors.
inikulin 7415267 Add Hexademical character reference state errors.
inikulin 10b8ddd Add Decimal character reference state errors.
inikulin a95baa4 Add Numeric character reference end state errors.
inikulin 900f389 Add DOCTYPE state errors.
inikulin 99400c4 Add Before DOCTYPE name state errors.
inikulin fd209ad Add DOCTYPE name state errors.
inikulin 1597ba2 Add After DOCTYPE name state errors.
inikulin 4d0d34b Add Script data double escaped dash state
inikulin 16c9a83 Add Script data double escaped dash dash state errors.
inikulin e704fa3 Merge pull request #10 from HTMLParseErrorWG/char-ref-errors2
inikulin 9b4a43f Parser errors: Add character reference state
7a633a2 Rename parse errors
12943fb Fix columns in missing semicolon after character reference errors
inikulin 919651a Rename `abrupt-comment` error to `abrupt-closing-of-comment`
inikulin c53b1e4 Merge pull request #13 from HTMLParseErrorWG/rename-abrupt-comment
inikulin 03a008d Split control and undefined character errors for input stream
inikulin 7648171 Split numeric character errors.
inikulin a6fa878 Fix error code.
inikulin 2ddfe45 Merge pull request #14 from HTMLParseErrorWG/rebase-and-invalid-chars
inikulin 2c1695e Merge pull request #12 from HTMLParseErrorWG/char-refs3
inikulin 55146bd Fixing DOCTYPE parse errors
704817a Merge pull request #11 from diervo/doctypeerrors
inikulin 49d6fa3 Test "block" elements that should close p (#91)
zcorpan 0f0d517 Merge pull request #15 from HTMLParseErrorWG/upstream-rebase
inikulin 7d4669c Remove "ParseError" tokens.
inikulin ae10a92 Merge pull request #16 from HTMLParseErrorWG/remove-parse-error-token
inikulin c7aca56 Rename malformed-comment error
inikulin a200b85 Rename `abruption-of-tag-self-closure` error.
inikulin a0bb7a1 Merge pull request #17 from HTMLParseErrorWG/markup-decl
inikulin 89c03c3 Merge pull request #18 from HTMLParseErrorWG/solidus-in-tag
inikulin 32f67a7 Handle ambiguous ampersand properly
inikulin 9ff154b Merge pull request #19 from HTMLParseErrorWG/ambiguous-amp
inikulin e3d9d0b Fix error code
inikulin 10e9fcc Merge pull request #20 from HTMLParseErrorWG/ambiguous-amp
inikulin 3af9408 Change error code for self closing non-void elements
inikulin ab33731 Rename self closing end tag error
inikulin 5bd909b Rename xml declaration error
inikulin bf6f2a1 Rename markup declaration error
inikulin 9716058 Rename comment in script error
inikulin 0680cdf Add missing doctype public identifier error
inikulin ced1911 Add missing doctype system identifier error
inikulin 4d4bab2 Add errors for abrupt doctype identifiers
inikulin d1f2720 Merge pull request #21 from HTMLParseErrorWG/review-remarks
inikulin 5765c84 Rename abrupt closing of comment error
inikulin eae4e2d non-void-element -> non-void-html-element
inikulin fa43d3d Merge pull request #22 from HTMLParseErrorWG/review-fixes2
inikulin abf44b5 Add error for duplicate attribute
inikulin f7c525f Merge pull request #23 from HTMLParseErrorWG/review-fixes2
inikulin eaeee69 non-unicode-character-in-input-stream -> surrogate-in-input-stream
inikulin 7b7a220 undefined-character-in-input-stream -> noncharacter-in-input-stream
inikulin 0ceaf59 undefined-character-reference -> noncharacter-character-reference
inikulin 7ed9c4f non-unicode-character-reference -> surrogate-character-reference
inikulin 8c43e0e character-reference-outside-unicode-range
inikulin b13e570 Merge pull request #24 from HTMLParseErrorWG/review-fixes2
inikulin 8f5f958 Fix erroneously changed legacy errors
inikulin 7b6415d Remove ignoreErrorOrder property. Add error format description
inikulin 9ec9f26 Merge pull request #25 from HTMLParseErrorWG/review-fixes2
inikulin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should document the new
errorsproperty.