You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for reporting it, but I wonder what version of xmldom (or rather @xmldom/xmldom) you are using, since this was fixed in #315 and released in version 0.7.4 (4 months ago).
if a node has an attribute "constructor", xmldom will crash. For Example:
The bug is in lib/sax.js
(qname in el.attributeNames) will return true even el.attributeNames === {}.
"constructor" in {} will return true.
The text was updated successfully, but these errors were encountered: