Convert buffer size from str to int in xmlfdw