Daniel, thanks for pointing this out to me. You are absolutely right. But, because I'd like to stick to Mapserver < 5.x for the moment, I decided to sort of backport the fix to my sources. And it is working now. thanks again Wolfgang