Hi,

I've been reading the guide (http://directory.apache.org/api/user-guide.html) 
and I've found the following errors:

1) 2.5 - Deleting entries
    Simple entry deletion (listing for testDeleteLeafNode())
    DeleteResponse response = connection.delete( 
"cn=child1,cn=parent,ou=system" );
method's signature is: delete(String) - void, so shouldn't it be:
DeleteRequest deleteRequest = new DeleteRequestImpl(); 
deleteRequest.setName(new Dn( "cn=child1,cn=parent,ou=system"));
DeleteResponse response = connection.delete(deleteRequest);

2) 2.6 - Modyfing entries
    Removing an attribute
    typo: attrinute

I was using version 1.0.0 of the jar for testing.

Best regards,
Krzysztof Szymko

Reply via email to