Re: RELAX NG

Daniel Veillard <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
On Tue, Jan 18, 2005 at 06:06:20AM -0500, Jeff Johnson wrote:
> Daniel Veillard wrote:
> 
> >[1] rpm2html had some checking and I think it drops hundreds of packages
> >   from the rpmfind repositories because the NVR are just "broken"
> >
> 
> Details of "broken" please.

  broken characters (low ascii or '-' or over 0x80), empty values,
numeric names, etc...

> Detecting "broken" in xml for rpm-metadata 
> of a repository
> is bad craziness, rpm-build is a far far far better place to prevent 
> problems.

  Yeah yeah, "we will fix the source", sorry that doesn't work on
the Internet, thanks you, checkings must be done on receiving side too.

  You can only prevent problems for new packages build with checkings,
there is just too many packages floating around which had no checkings.
This also raises the value of the encoding of strings in rpm header since 
the conversion to XML forces some cleanup.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
[email protected]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
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.