Skip to content

fix(parser): ignore leading byte order mark#469

Draft
Herrtian wants to merge 1 commit into
SAP:masterfrom
Herrtian:codex/handle-xml-bom
Draft

fix(parser): ignore leading byte order mark#469
Herrtian wants to merge 1 commit into
SAP:masterfrom
Herrtian:codex/handle-xml-bom

Conversation

@Herrtian

Copy link
Copy Markdown

Summary

  • add a skipped lexer token for UTF-8 byte order marks
  • cover parsing XML documents that start with a BOM

Fixes #349

Testing

  • npx.cmd mocha "packages/parser/test/parser-smoke-spec.js"
  • npm.cmd --prefix packages/parser test
  • npm.cmd --prefix packages/parser run ci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parser error because of BOM

1 participant