# Structure of the compound C9H7O2Cl?

A compound having formula $\ce{C9H7O2Cl}$ (O = oxygen) exists predominantly in enol form (A) and also in keto form (B). On oxidation with $\ce{KMnO4}$ it gives m-chlorobenzoic acid as one of the products. Identify (A) and (B).

(subjective question; no options were given)

I tried it and found the double bond equivalent as 6, 4 of which were utilized in benzene ring. Also, the benzylic carbon must have at least one hydrogen. Therefore I determined the following structure as (A):

But my book suggests (A) should be:

Please explain whether both are correct or only one product will exist.

Source: Joint Entrance Exam (JEE) 2003 India