On Mon, Sep 08, 2008 at 03:13:12PM -0700, Danek Duvall wrote:
> On Mon, Sep 08, 2008 at 03:00:36PM -0700, Stephen Hahn wrote:
> 
> >   I didn't expect XML to sneak in here; if it must, where's the DTD?
> 
> Is a DTD really necessary?  As long as we're the only creator, then we
> should be permissive about the format we read in.  DTD validation is pretty
> restrictive, and not usefully so, I think, particularly if we expect the
> language to change over time.

But it's useful to know it while codereviewing, no?

> >   I think people will want to query on time ranges and on package
> >   histories (how did I get SUNWjdmo??)--so we'd better have a bug to
> >   track those.
> 
> Heh.  XQuery.  :)

Why not use a database?  SQLite3 or MySQL embedded would be the obvious
choices of DB for this.  An embedded DB should result in better perf
here (a couple of file opens per-DB vs. one file open per-record!).

Nico
-- 
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to