adding valiation to Jaxb. Replacing strings with statics. correcting the
composition of the specicmeasures xml