[Rpm-metadata] release/something metadata file

Daniel Veillard veillard at redhat.com
Mon Nov 10 11:49:00 UTC 2003


On Sun, Nov 09, 2003 at 08:25:24PM -0500, seth vidal wrote:
> and I had the following thoughts about its format:
> 
> <repository>
>   <name>some name for human consumption</name>
>   <id>somesinglewordid</id>
>   <description>some text description</description>
>   <metadata>
>     <data type='base'>relative/path/to/base.xml</data>
>     <data type='filelist'>relative/path/to/filelists.xml</data>
>     <data type='other'>relative/path/to/other.xml</data>

  Hum, the relative paths are actually URI-References from an XML point
of view. In that case I suggest to use
   <data type='base' href='relative/path/to/base.xml'/>
   etc...
because people will immediately understand that an href attribute is 
an URI reference.
  I'm not sure I understand the concept behind base or filelist and other
but purely from a syntax viewpoint href attributes are better.

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