Fixed invalid Doctrine XML mapping

The mapping was inconsistent between annotations or YAML and XML.