Extra checks when parsing XML or a resource
Add test for multiple top-level rs:md elements
Remove fixme as current implementation seems fine
Change comment to indicate choice of alphanum order by uri
Improve handling of description files
Improve comments and function name