-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes GH-3. This commit switches from `sax`, a lax parser, to `parse-xml`, a proper and fast parser. This does mean that invalid XML can no longer be passed, so it’s a breaking change (for example, all documents now require a root element, doctypes need to be capitalized, and CDATA around the root element is no longer okay). It also means that whitespace around the root element is no longer present in the tree: XML requires stripping that. It does mean that positional info is now much better, processing instructions are supported, and the size is cut by a lot.
- Loading branch information
Showing
35 changed files
with
812 additions
and
1,014 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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.