I guess it's a spec issue. The spec says that get() returns null if the feature doesn't exist (which is the case if there's no schema). The spec also says that if a property is many valued, get will always return a list. But, we can't know if the property is many valued or not if there's no schema.
The spec should probably clarify this issue. Frank. Fuhwei Lwo <[EMAIL PROTECTED]> wrote on 05/11/2007 11:00:30 AM: > The behavior of DataObject.getList() is different between with and > without schema. If loading the data object with a schema, getList() > will return an empty list if there is no value. However, if there is > no schema, it will return null. > > Fuhwei Lwo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
