updated wikixmlreader to match with original implementation