Skip to content
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

feat: Add SaxHandler for testing SAX parsers #11

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

karfau
Copy link
Owner

@karfau karfau commented Jan 25, 2021

No description provided.

karfau added a commit to karfau/xmldom that referenced this pull request Jan 25, 2021
to see if we would be able to replace it.
Currently running jest tests also runs those tests,
which adds a snapshot file for 530 valid XML cases.
I'm thinking about improving the output format (in xmltest),
so it's easier to compare (on a per file basis?)
TODOs:
- `startDocument`/`endDocument` are currently not reported
- `lib/sax.js` does access some internals of domBuilder that are not present on `SaxHandler` from xmltest, which might lead to `error`s being reported.

karfau/xmltest#11
and `replaceWhiteSpaceChars`
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.

1 participant