[Rpm-metadata] xml update

Joe Shaw joe at ximian.com
Thu Oct 16 18:29:11 UTC 2003

On Thu, 2003-10-16 at 13:12, Jeff Johnson wrote:
> Thanks for the orentry example. I see N always associated with EVR, so I 
> return to
> my suggestion of
>     <entry name="rpm" flags="GE">
>        <version epoch="0" ver="4.1.1"/>
>     </entry>
> becoming
>    <entry name="rpm" flags="GE"  epoch="0" ver="4.1.1"/>
> OTOH, I know diddly about XML implementations, so feel free to ignore
> my suggestion if there are reasons to not unify.

Yeah, I think this is a nicer looking and easier-to-parse format as
well.  The attributes are optional, so there's no need to fill them in
if they aren't there.  The only benefit to the <version> tag is if you
have something which provides multiple versions of a certain token, but
that seems better off being a separate "dep entry" data structure



More information about the Rpm-metadata mailing list