[Rpm-metadata] xml update
Daniel Veillard
veillard at redhat.com
Thu Oct 16 09:02:26 UTC 2003
On Thu, Oct 16, 2003 at 12:58:43AM -0400, seth vidal wrote:
> Ok,
> I tried just doing a mock up from what I mentioned last night.
>
> so a file might look something like this:
> http://linux.duke.edu/~skvidal/metadata/rpm-metadata3.xml
>
> let me know if that fits for most folks, if so - I'll write the code for
> the rpm side and we can work on defining the file list file and the misc
> file formats.
Looks pretty good to me, though I have a few points to raise:
- I would expect all the common tags to be in a namespace
<metadata xmlns="...">
no idea where this namespace should be anchored though
- The rpm namespace should be anchored in rpm.org IMHO
e.g. xmlns:rpm="http://rpm.org/namespace/metadata/1.0/"
I would also put it on the metadata tag to avoid
declaring it multiple time (though locating it on the
format is fine too), globally declared namespaces
tend to ease human reading
- currently the entry and version tags are in no namespace or
would be in the default namespace if there was one, is that
on-purpose ? Is it really shared between formats ?
- the location / xml:base / href looks okay with the exception
that this would really mean that the package indexed was
file://rpm/rpm/RPMS/noarch/yum-2.0.3-1.noarch.rpm
I'm afraid this might reflect a misunderstanding ;-)
- it's a bit of a shame that the provides and requires really
can't be shared, but well maybe that reflect the differences
in semantic of both formats :-\
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the Rpm-metadata
mailing list