Fix xml document missing some code .Fixes #919