Fixed XMLParser not setting the current document if the requested file has already been parsed