Re: [Xsltforms-support] Different behaviour IE7 vs IE8 & FF3
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2010-04-29 14:24:06
|
Hello Javier, > > We tested the form with Firefox 3 and IExplorer 8 and all seemed to > work ok. > > But when using IExplorer 7, the following error appeared: > > > > And after that, another alert saying " 'length' is null or not an object". > > We solved this error changing the name of instance from ppai to ppai0, > it seems IE7 it is not case sensitive. Thank you for pointing at this compatibility problem. It is true that there is almost no syntax check in XSLTForms. This was done at compile-time in AJAXForms with a Java program. But XSLTForms is much more concerned by performance so this should be added as an option. > This is not very problematic to us, but I think it should be > interesting that all browsers would work in the same way with the same > data, working ok or failing in all of then to avoid making all tests > in all browser versions. I know testing can required much time when not automatically performed... I'm not sure it would be a good idea to convert every id to lowercase, for example, and it should be performed at runtime in many different Javascript instructions anyway. It could be possible to convert every id into a string of ASCII/Unicode codes in Hex notation for maximal compatibility but is it really necessary??? Thanks! -Alain |