Fix #30 - to detect TAG mismatch for attribute element.