Fixed xml completion error with ShareJS