Given that roma people stealing children is an age old stereotype (think of it as similar to jewish people and blood libel) I don't think the books comes out ahead in its portrayal of racism/xenophobia. The decision to change Esmeralda's race in the later adaptations was not made on a whim, it was made to remove the confused messaging/racist stereotyping.