Since we will _never_, _ever_, _ever_ (am I being _too_ emphatic here?) have XML validations written in JS, does it really make sense?

How about we add the extra function when we add that?