fix quotedString() handling of empty attributes