Improve testing of XML attribute handling
Closes gh-166
This commit is contained in:
@@ -116,7 +116,6 @@ class XmlContentHandler implements ContentHandler {
|
||||
}
|
||||
for (int i = 0; i < matchingNodes.getLength(); i++) {
|
||||
Node node = matchingNodes.item(i);
|
||||
|
||||
if (node.getNodeType() == Node.ATTRIBUTE_NODE) {
|
||||
Attr attr = (Attr) node;
|
||||
attr.getOwnerElement().removeAttributeNode(attr);
|
||||
|
||||
Reference in New Issue
Block a user