Both contain
group in their molecules and are expected to be weakly acidic. However, oxime is actually more acidic. Infact, hydroxyl amine after losing a proton forms a conjugate base in which negative charge is localised only on the oxygen atom.
However, in case of oxime, the negative charge gets delocalished by extending `pi` electron bonding.