{
boolean addOkay = true;
Tag tag = syntax.getTag(itemName);
if (tag == null || !tag.allowsAnyAttribute()) {
Set attributes = syntax.getFilteredAttributes(this.itemName.toLowerCase(), newAttr.getName());
if(attributes.size() == 0) {
/*
* if we don't know the tag why tell the user about invalid attributes? :denny