On 6/4/10 4:37 PM, Felix Knecht wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/04/10 16:32, Stefan Seelmann wrote:
Felix Knecht wrote:
I suppose this is either always true or false, right?

if ( attributeType.getSyntax().getSyntaxChecker().isValidSyntax( null ) )

http://people.apache.org/~felixk/shared-docs/xref/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.html#916
No. For example the directory string syntax doesn't allow an empty
string, so in that case the syntax checker returns false. But the IA5
string syntax allows an empty string, in that case the syntax checker
returns false.
I have no idea about the checkers, but an empty string isn't a null string.

I think ( to be double checked) that we allow a Value to old either "" or null.

--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com


Reply via email to