Re: New class diagram and use case

Eric Sammer <[email protected]>
Newsgroups gmane.linux.gentoo.installer
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAH9BcD/V/IA6/2WURArB9AJ9IU2dQnAANRvNnzCA8O+rnhSYaKQCdGzZ8
0wgOgl51MSAFnO/mJi70CqU=
=hEWE
-----END PGP SIGNATURE-----
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.