Dne pátek 27 duben 2007 13:30 Klaus Kaempf napsal(a):
* Jiri Srain
[Apr 27. 2007 13:26]: I'm not sure I understand the question properly, but is the possiblity that the packages are in different files in different order the answer for you?
Another quetsion: How will libxml behave if you parse three files simulatenously? (primary.xml, other.xml, filelist.xml)
Huh ? Why should one do that ?
See below.
And why is order important ?
Parse primary first, read one package, write one package. Then other.
Find each package in the database, modify it. I thought that was what Jano wanted to avoid. Jiri
Then filelist.
If there is a package in primary with no data in other or filelist, it will have incomplete attributes. This shouldn't harm.
If there is a package in either other or filelist, but without representation in primary, log a warning and continue.
Klaus
-- Regards, Jiri Srain YaST Team Leader --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.cz Lihovarska 1060/12 tel: +420 284 028 959 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz