[Rpm-metadata] invalid filelists
Elan Ruusamäe
glen at delfi.ee
Sat Apr 26 13:45:58 UTC 2008
seems createrepo doesn't create valid xml files.
for obsoletes there was backage (with a mistake) whose had:
Obsoletes: XFree86-driver-trident<
Obsoletes: 1:7.0.0
the filelists bug, the package contains files whose pathnames contain
ampersands.
[1] obsoletes
$ xmllint --noblanks --noout --dtdvalid primary.dtd primary.xml
primary.xml:514489: parser error : Unescaped '<' not allowed in attributes
values <rpm:entry
name="XFree86-driver-trident<"/>
[2] files
$ gzip -dc filelists.xml.gz >filelists.xml
$ xmllint --noblanks --noout --dtdvalid filelists.dtd filelists.xml|less
filelists.xml:3938: parser error : xmlParseEntityRef: no name
<file>/usr/share/doc/clanlib/Reference/html/CL_FunctionSlot_v0__&).html</fil
^
filelists.xml:4786: parser error : StartTag: invalid element name
<file>/usr/share/doc/clanlib/Reference/html/CL_IPAddress__operator
< .html</
^
--
glen
More information about the Rpm-metadata
mailing list