bugfix: extract number of lines and version from XML documents also