Ignore attributes with illegal chars in name (fixes #23)

This is neccesary because method "DOMElement::setAttribute"
throws exception for wrong names so DOM elements
can't contain these attributes.