These would react with barium ions in the test, giving an incorrect positive ... Carbonate ions also produce a white precipitate with silver nitrate solution. The acid reacts with any carbonate ...