[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Thinking about operational attribute numSubordinates...

Howard Chu wrote:
> It's an interesting idea. There was a patch for this in the 1.x source, a
> long time ago, but it broke (neglect and victim of progress) and was never
> fixed up. I think there was also some ambiguity about whether it should
> report just the immediate children, or the entire subtree count.

In my opinion, the latter would be a nightmare (at least a pain 
and an unnecessary load when adding/deleting/renaming entries).

On the contrary, a simple boolean isleaf flag, or even a count 
of the children, could be computed and returned only if required 
with little effort. Comments?


Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 |
via La Masa 34, 20156 Milano, Italy   |