do the right thing with the xdifile attribute when it is read-only