Text.GenXML: the parser should check whether URIs are valid