Resolve #416: Described XML attribute exceptions

Also fixed typos.