Emmanuel Lecharny wrote:
Hi,
while I'm writting some SyntaxCheckers, a question popped in my mind :
do we still have to take care of binary attributes ? This is a list of
attributes type which is set into server.xml to express the fact that
those attributes are considered as binary, and not as text, thus their
values are stored as byte[] insteado of UTF-8 Strings.
Those guys use a NoOpSyntax check that accepts everything. I think we
have one of those. It's an AcceptAllSyntaxChecker or something like that.
If we had all syntax checkers in one place this would make it easier to
find out what SC we had.
...
I guess we can relax a little bit the decoder checks by considering that
all attribute values are byte[], and let the Schema Interceptor deal
with badly written values, checking them with their associated Syntax.
wdyt ?
IMO it is not required to check for syntax if the attribute is binary.
Alex
begin:vcard
fn:Alex Karasulu
n:Karasulu;Alex
org:Apache Software Foundation;Apache Directory
adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA
email;internet:[EMAIL PROTECTED]
title:Member, V.P.
tel;work:(904) 791-2766
tel;fax:(904) 808-4789
tel;home:(904) 808-4789
tel;cell:(904) 315-4901
note;quoted-printable:AIM: alexokarasulu=0D=0A=
MSN: [EMAIL PROTECTED]
Yahoo!: alexkarasulu=0D=0A=
IRC: aok=0D=0A=
PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A=
x-mozilla-html:FALSE
url:http://people.apache.org/~akarasulu
version:2.1
end:vcard