When an invalid attribute was encountered, the next attributeValue event would generate a cryptic error. This has been fixed.