[Rpm-metadata] RELAX NG
Féliciano Matias
feliciano.matias at free.fr
Tue Jan 18 07:02:57 UTC 2005
Le mardi 18 janvier 2005 à 01:40 -0500, seth vidal a écrit :
> On Tue, 2005-01-18 at 07:31 +0100, Féliciano Matias wrote:
> > I make Relax NG files for metadata of createrepo :
> > http://feliciano.matias.free.fr/metadata/rng/
> >
> > They are provide "as is".
>
> Thanks that's cool!
> But I'm confused - why do you have arch specified as a choice with
> x86/x86_64 archs listed only?
>
> also in repomd.rng - it seems like you only allow for md5 checksums.
It's just a "try". I don't try to make it perfect because I do not have
the skin (I am learning xml, and I don't know very well rpm/createrepo).
Sure this can be improved.
Also note that primary.xml is "broken".
Example :
<format> # should be "rpm:format" (or we need a parent)
<rpm:license>LGPL</rpm:license>
...
</rpm:requires>
<file>/usr/bin/locale</file> # should be "rpm:format" (or we need a parent)
<file>/usr/sbin/zdump</file> # should be "rpm:format"
</format> # should be "rpm:format"
This force me to use some ugly hack in rpm-ns.rng :
<element name="format" ns="http://linux.duke.edu/metadata/common" .... # should be http://linux.duke.edu/metadata/rpm
...
and write many "ns="http://linux.duke.edu/metadata/rpm"' in many place
because the default name space is not
"http://linux.duke.edu/metadata/rpm".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20050118/11a03962/attachment.pgp
More information about the Rpm-metadata
mailing list