createrepo can generate invalid XML if a "provides" in a package includes a quote character (") in the version field.
For example, the list of provides in F13's device-mapper-event-devel-1.02.44-1.fc13.i686.rpm looks like this:
(2010-02-15)"
pkgconfig(devmapper-event) = "1.02.44
device-mapper-event-devel = 1.02.44-1.fc13
device-mapper-event-devel(x86-32) = 1.02.44-1.fc13
The second line (pkgconfig) triggers this output in the XML:
<rpm:entry name="pkgconfig(devmapper-event)" flags="EQ" epoch="0" ver=""1.02.44"/>
Note the unescaped quote chararcter in the ver attribute.