invalid filelists

Elan Ruusamäe <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.