> > "sampleof=" and "isdevice="yes" runnable="no" sampleof=" we have these two results: > 21 and 1,273. By subtracting the first from the second, "my" 1,252 comes out, which > therefore corresponds to all the elements with samples, except those of the devices. My criterion is simply this, no mistake, just my point of view (not just mine to tell > the truth).
It makes no sense the remove the devices. Devices are machines too that can use samples, but they are just not runnable. So the filter "give me all machines using samples" is this one: "sampleof=" must be found inside a machine XML tag. It has nothing to do with being device or not.
For CHDs: On the other hand, your CHD count is totally wrong. Ciro and me have results close to each other (maybe one of us has a bug) but your result is WAY of, because you have 1074... This means your filter is not applied correctly. The only way to find a machine that uses 1 or more CHD files, is to count if there is one or more "disk" XML tags inside a "machine" XML tag. So you don't count this correctly.
For parents: you have 13084 so you probably remove devices from this correct? If you take my parents count 18485 - 5401 = 13084. So you are correct with that count. But in theory,devices are parents too...
Conclusion:
- Sample count is wrong in my opinion, because a device can use samples too.
- CHD count is wrong DEFINITELY. Your filter is wrong or wrong applied... Can you please fix this in renameset? I don't know why Ciro finds 2 more machines here... But your count is totally wrong :-)
- Parent count is correct if you remove devices.
Valentina
|