Bug/xml parse towards xsd

### Description
All non-harness XML documents now pass the XML validation.
A few fixes in the source code to accomplish this, especially removing the acceptance of 'id' as an attribute of an EntityId XML node, and the removal of the acceptance of 'type' and 'isPattern' as nodes under <EntityId>.

ONE of the harness-test-files fixed, just for fun ...