Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-installer
Navigation:
Lists: gentoo-installer: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-installer@g.o
From: Eric Sammer <esammer@g.o>
Subject: Re: New class diagram and use case
Date: Tue, 03 Feb 2004 11:46:18 -0500
Paul de Vrieze wrote:
> On Tuesday 03 February 2004 04:37, Eric Sammer wrote:
 >
> Just remember to use a progressive xml parsing strategy like SAX (forget 
> DOM) so at least you can do things as pause. In this case you just do 
> things as you find them in the xml file. If the file/pipe blocks you 
> have a pause, else you continue, all for free.

I almost always use sax because of the memory footprint size compared to 
DOM. That said, the XML parsing would have nothing to do with pausing. 
The profile would be parsed to an object if we're loading one and as the 
user goes through the process, instance variables would be filled in in 
the GLIInstallProfile object. Once it was done, a call to serialize() 
will build and write the XML. So, they are 100% separate and one would 
never effect the other.
-- 
Eric Sammer
Gentoo Linux
http://www.gentoo.org
Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: New class diagram and use case
-- Paul de Vrieze
References:
New class diagram and use case
-- Eric Sammer
Re: New class diagram and use case
-- Paul de Vrieze
Re: New class diagram and use case
-- Eric Sammer
Re: New class diagram and use case
-- Paul de Vrieze
Navigation:
Lists: gentoo-installer: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: New class diagram and use case
Next by thread:
Re: New class diagram and use case
Previous by date:
Re: a few different questions
Next by date:
Re: a few different questions


Updated Jun 17, 2009

Summary: Archive of the gentoo-installer mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.