Do you already own the dress or are you looking to buy it?
If you already have it then I think it could work for a wedding with right (non white!) accessories
If you are looking to buy a dress specifically for the wedding then I wouldn't personally choose a white one when there are so may other options to choose from