The encoding of the mapfile needed to be changed form ANSI to UTF-8, otherwise getcapabilities will yield a xml error because of letters like ä,ö ...