
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
23/Oct/05 02:22 AM
|
|
While comparing two DNs, the AttributeType of each RDN must be compared in a case-insensitive way : RFC 2251, chap. 4.1.4, par.4.
It could be tricky to perform a valid comparison :
A=V1+B=V2,C=GB and A=V1+b=V2,C=GB are equals in regards with the RFC,
A=V1+B=V2,C=GB and A=V1+C=V2,C=GB are differents in regards with the RFC.
LdapName.compareTo function does not return a valid result :
Name n1 = new DnParser().parse("A=V");
Name n2 = new DnParser().parse("a=V");
int val = n1.compareTo(n2); // val = 0xffffffe0 instead of 0
|
|
Description
|
While comparing two DNs, the AttributeType of each RDN must be compared in a case-insensitive way : RFC 2251, chap. 4.1.4, par.4.
It could be tricky to perform a valid comparison :
A=V1+B=V2,C=GB and A=V1+b=V2,C=GB are equals in regards with the RFC,
A=V1+B=V2,C=GB and A=V1+C=V2,C=GB are differents in regards with the RFC.
LdapName.compareTo function does not return a valid result :
Name n1 = new DnParser().parse("A=V");
Name n2 = new DnParser().parse("a=V");
int val = n1.compareTo(n2); // val = 0xffffffe0 instead of 0
|
Show » |
| No work has yet been logged on this issue.
|
|