Use JSoup for xml parsing (code looks much nicer), and fix the remote
http repository get.