We show how the Langlands-Kottwitz method can be used to determine the
semisimple local factors of the Hasse-Weil zeta-function of certain Shimura
varieties. On the way, we prove a conjecture of Haines and Kottwitz in this
special case.Comment: 23 page