[BUG #8240] Fixed reading of attributes without values