}
@Override
protected void addAttributesToElement(Element element, HtmlAttributes attributes) throws SAXException {
HtmlAttributes existingAttrs = (HtmlAttributes) element.getAttributes();
existingAttrs.merge(attributes);
}
/**
* @see nu.validator.htmlparser.impl.TreeBuilder#appendDoctypeToDocument(java.lang.String, java.lang.String, java.lang.String)
*/