Add missing calls to parseAttribute(), better error message output