copy.copy() of a tag doesn't preserve XML namespace.
Bug #1685172 reported by
Vikas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When an XML tag object is copied using copy.copy(), the resulting object does not have the namespace prefix set.
I have fixed this bug and will attach a patch with a test case shortly.
Changed in beautifulsoup: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Attaching a patch to fix this bug as well as a test case. Please let me know if you would prefer this change as a pull request instead.
Thanks!