Added tolerance for malformed xml's. If -a'flag is set so types get ignored, the type field in xml's isnt mandatory anymore and serves only verbose purposes. Default behaviour still requires types.
bugfixes