fix for #421, XMLElement annotations not honored