htdocs/archive: improved xml validation