Why do not use http://syssgx.github.io/xml.js/ such library for client side xsd validation? and check only if <xforms:submission validate="true">