Commit 0f4643f
committed
When namespace is NULL, match attributes by name only
I believe this is the correct behavior for getAttribute, setAttribute and
removeAttribute - they should work on attributes by name only. So I made this
change deep, in `_dom_element_attr_list_find_by_name` to cover all cases. It
seems safe to do, but there could be a place that relies on strict namespace
null matching...1 parent 6d02131 commit 0f4643f
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
212 | 211 | | |
213 | 212 | | |
214 | 213 | | |
| |||
0 commit comments