directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: Binary attributes
Date Fri, 08 Dec 2006 15:36:10 GMT
On 12/8/06, Alex Karasulu <akarasulu@apache.org> wrote:
>
> Emmanuel Lecharny wrote:
> >      > 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.
> >
> >
> > not true. Jpeg is binary, but it has a special syntax...
>
> Yeah but if it's binary we just treat it as a blob.


The point is that we _know_ it's binary because we know it's attribute Type,
so we don't need to
keep a set of binary attributes.

Why should we go
> above and beyond a database to make sure we validate blobs?

We won't validate blobs.

Alex
>
>
>
>


-- 
Cordialement,
Emmanuel L├ęcharny

Mime
View raw message