fixing XML import/export test
(fix provided by Howard and Clebert)
Merge pull request #1745 from clebertsuconic/2.3.x

fixing XML import/export test