Hi, So there are two questions:
1) Should Node.setProperty(null) throw an Exception? Most people tend to agree it should, but it would be a problem for backward compatibility. 2) Should JCR support nullable properties? Some say yes, some no. Let's see what other systems do: * XML: No (an empty string is not null) * Files: No (an empty file is not null) * HTTP: No * Properties files: No * Windows registry (if I may): No * LDAP: No? (not sure) * SQL: Yes (there is no other way to say 'the property is not set') * Java Hash tables: Hashtable no, HashMap yes SQL is the only one supporting it, and it is a major pain there. Therefore, I suggest to not support nullable properties in JCR. Thomas
