query.prepare("Insert Into InvalidXML (type, element, attribute) Values('ATTRIBUTE', :element, :attribute)");
query.bindValue(":element", element);
query.bindValue(":attribute", attribute);
if (!query.exec()) {
logger.log(logger.MEDIUM, "Insert Attribute into invalidXML failed.");
logger.log(logger.MEDIUM, query.lastError());
}
}
// Add an item to the table
public void addElement(String element) {
if (elementExists(element))