An InvalidAttributeException occurs when a XMLElement does not have the requested
attribute, or when you use getIntAttribute() or getFloatAttribute() for Attributes
that are not numeric. Another reason could be that you try to add an attribute to a PCDATA
section.