[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ITS#1998, zero-length attr vals

On Mon, Aug 05, 2002 at 05:00:21PM -0700, Howard Chu wrote:
> Back to this issue again; the crash is actually an assert() because the
> result
> of normalizing a single space is a zero-length string. It seems we need to
> remove these asserts and return a failure code, or just accept the
> zero-length
> strings. What's the right thing to do?

Yes, the asserts should be removed. I suppose it depends on the syntax,
either invalid syntax error or accept it. I would guess that directory
string, IA5 string etc allow zero-length, but I don't know for sure.