First cut. Distintly raw around the edges:
* Assumes it will be running in /home/ali/wk/slashem/web.scripts
* Assumes cache directory will be in topdir
* No build system (simple compiling and linking against libxml2)
* No configure system (eg., tagsoup)
* Output XML untested
* Doesn't set bugzilla maintainer or exporter
* Handling of artifact priorities and resolution is suspect
1 http://mercury.ccil.org/~cowan/XML/tagsoup/
2 http://mercury.ccil.org/~cowan/XML/tagsoup/tagsoup-1.0.1.jar