Handling the option {:rules, _} ourselve, as well as partially the option {:rules, _, _, _}.
When nothing is given, a new table is created, and destroyed after.
If a table is given, and a DTD option is chosen, the table is reused for the DTD handling.
If a custom {:rules, _, _, _} is given, and a restrictive DTD option is chosen, the custome rule will be overriden.
Because of this mutual exclusivity (reconciling the behaviors is not possible via composition), it is recommended that you handle the DTD
problem by yourself. You can see the issue [#71](https://github.com/kbrw/sweet_xml/issues/71) for ideas.
See the issue [#41](https://github.com/kbrw/sweet_xml/issues/41) for more details on why this change happened. (Ets leaks.)
[0.7.2] (2021-11-25)
Changed
Improvement on the doc, notably warning that only XPath 1.0 queries are handled.
Added
Contribution from @tank-bohr: Added strict stream API with a more coherent overall behavior, and easier to handle failure behavior:
stream!/2 and stream_tags!/2,3 are now available.
[0.7.1] (2021-08-25)
Changed
@J3RN noticed a breaking change due to the introduction of an opaque type
Changed xmlElement from @opaque to @type
[0.7.0] (2021-07-02)
Changed
Improvement on the doc
Added
Added option to raise on DTD definitions
Commits
60c328d Updated the docs, ex_doc, mix.exs, and the changelog for 0.7.3
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps sweet_xml from 0.6.6 to 0.7.3.
Changelog
Sourced from sweet_xml's changelog.
Commits
60c328d
Updated the docs, ex_doc, mix.exs, and the changelog for 0.7.3ee52bbf
actual fix :eyes: + tests2e7a53e
Don't discard the user supplied{:rules, _, _, _}
when we don't use one our...377e92e
[CHANGELOG] updatedddc1367
gh-47 fix : handle ourserlves the ets used by the{:rules, _}
optionbd7a7da
Fix typos (#85)9f079d8
Added doc to the exceptions and strict stream APIa21519e
Changelog final update for 0.7.2 and git tag9195888
Version bump in prevision, and changelog update86d039d
Correct error handling (#86)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)