Generate schema 1.0 when possible, fix #1943