My book has a problem like this:
Name the compound CH3C(OH)=C(OH)CH3
the answer is trans-2,3-dihydroxybut-2-ene
But isn't the functional group -OH is the principal functional group prior to C=C group and it should be designated as the ending?
Hence can the name be trans-but-2-ene-2,3diol?