Skip to content

Commit b6b9ead

Browse files
authored
Merge pull request #893 from Mingun/public-ns-resolver
Make `NamespaceResolver` public
2 parents aa7f0b4 + b12ef9f commit b6b9ead

File tree

6 files changed

+581
-211
lines changed

6 files changed

+581
-211
lines changed

Changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@
1616

1717
### New Features
1818

19+
- [#893]: Implement `FusedIterator` for `NamespaceBindingsIter`.
20+
- [#893]: Make `NamespaceResolver` public.
21+
- [#893]: Add `NsReader::resolver()` for access to namespace resolver.
22+
1923
### Bug Fixes
2024

2125
### Misc Changes
2226

27+
- [#893]: Rename `PrefixIter` to `NamespaceBindingsIter`, `PrefixIter` is deprecated.
28+
29+
[#893]: https://github.com/tafia/quick-xml/pull/893
30+
2331

2432
## 0.38.1 -- 2025-08-03
2533

src/events/attributes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl<'a> Attributes<'a> {
399399

400400
self.any(|attr| {
401401
if let Ok(attr) = attr {
402-
match reader.resolve_attribute(attr.key) {
402+
match reader.resolver().resolve_attribute(attr.key) {
403403
(
404404
Bound(Namespace(b"http://www.w3.org/2001/XMLSchema-instance")),
405405
LocalName(b"nil"),

0 commit comments

Comments
 (0)