sax 1.1.3 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +5 -0
  2. package/lib/sax.js +1462 -1316
  3. package/package.json +5 -3
package/README.md CHANGED
@@ -168,6 +168,11 @@ would trigger this kind of event. This is a weird thing to support, so it
168
168
  might go away at some point. SAX isn't intended to be used to parse SGML,
169
169
  after all.
170
170
 
171
+ `opentagstart` - Emitted immediately when the tag name is available,
172
+ but before any attributes are encountered. Argument: object with a
173
+ `name` field and an empty `attributes` set. Note that this is the
174
+ same object that will later be emitted in the `opentag` event.
175
+
171
176
  `opentag` - An opening tag. Argument: object with `name` and `attributes`.
172
177
  In non-strict mode, tag names are uppercased, unless the `lowercase`
173
178
  option is set. If the `xmlns` option is set, then it will contain