supply defaultvalues for editmode: none attributes (here XType)