Sorry for the confusion.
If I open the en_US bundle, the iterator returns nothing at all because the
collection is empty.
On 8/17/10 5:17 AM, "David Zülke" wrote:
> That still doesn't explain the problem clearly.
>
> You said you have a root file, and an empty en_US extending from it?
>
> If
That still doesn't explain the problem clearly.
You said you have a root file, and an empty en_US extending from it?
If you now open the en_US bundle and iterate over it, does the iterator
a) not return anything at all, i.e. because the collection is empty, or
b) iterate over the correct number o
Sorry about the double message. I was using Nabble and it didn't seem to
post correctly. Values are null when iterating in the sense that if you have
an empty bundle, there is no fallback.
As I said this isn't immediately necessary for my project, but the expected
behavior would seem to be that it
That seems to be a bug.
Among other things, resourcebundle_iterator_read calls
resourcebundle_extract_value instead of resourcebundle_array_get (which handles
fallbacks via resourcebundle_array_fetch).
I'm not sure if the fix is that simple though, as that only fixes getting of
values, but the