On 14.9.12 11:46, Jukka Zitting wrote:
Hi,

On Fri, Sep 14, 2012 at 10:36 AM, Michael Dürig <[email protected]> wrote:
Why null and not an empty array? Is there a case supporting this behaviour
or is this just the implementation leaking into the spec.?

IIRC the idea was to distinguish between the cases where there are no
definitions (empty array) and where no definition information is yet
available (null, the template is still being constructed).

Hmm ok that's what I though. So these are expected to return null until getPropertyDefinitionTemplates() has been called for the first time. In other words: you need to call getPropertyDefinitionTemplates() to add an empty list of property definitions. Still weird ;-)

Michael



BR,

Jukka Zitting

Reply via email to