changes to how the xml version is obtained to pass to the validate funct...

...ion on doi update