Add validation of internal consistency to html entity mapper
Bug 722457 - regression referencing namespaced type