AlainCouthures / xsltforms

XForms to XHTML+Javascript (AJAX) conversion based on a unique XSL transformation. Suitable server-side (PHP) or client-side (Google Chrome, Edge, Internet Explorer, Mozilla FireFox, Opera, Safari) browser treatment where an XSLT 1.0 engine is available
37 stars 17 forks source link

Chrome 34 issue repeats when multistep form is submitted #2

Closed desigens closed 7 years ago

desigens commented 10 years ago

Revision 594 fixes error in Chrome, it's great.

But I have some multistep forms, which had similar error alerts when they was submitted: screen shot 2014-04-30 at 12 46

I found it's necessary to fix XsltForms_globals.validate_ method like XsltForms_instance.prototype.validation_ was fixed in rev. 594 (https://github.com/AlainCouthures/xsltforms/commit/97657f909fedb79981dca82d69d62068392ebeef): nodeName must be checked if it is not "xmlns".

I'm not sure if it's a common problem (code of my library's instance is modified), but it helps for me.