XML DOM .removeAttr() doesn't remove cased attributes
|Reported by:||adebree||Owned by:||dmethvin|
In case of an XML DOM the .removeAttr() function doesn't remove cased attributes. XML is case sensitive so attributes provided with uppercase should be handled accordingly.
jsFiddle with the reproduction: http://jsfiddle.net/23w2d/
This problem seems to be introduced in 1.7, caused by an unconditioned .toLowerCase() in the removeAttr().
Pull request with the fix will be made after this ticket is created.
Change History (5)
comment:3 Changed 3 years ago by dmethvin
- Owner set to dmethvin
- Status changed from open to assigned
comment:4 Changed 3 years ago by dmethvin
- Component changed from unfiled to attributes
- Milestone changed from None to 1.8
- Priority changed from undecided to low