Issue an IndexElementEvent command

Applying eValid to AJAX applications that require advanced DOM-based methods.

Issue an IndexElementEvent command

Postby bRandy » Mon Aug 13, 2012 3:56 pm

If I issue an IndexElementEvent command and some of the property names are incorrect, does eValid detect this?
bRandy
 
Posts: 1
Joined: Mon Aug 13, 2012 3:32 pm

Re: Issue an IndexElementEvent command

Postby eValid » Wed Aug 22, 2012 8:08 am

bRandy wrote:If I issue an IndexElementEvent command and some of the property names are incorrect, does eValid detect this?
That is a very good question because it highlights an underlying assumption about how HTML works in a web page.

Basically, the DOM for the current page is constructed by the rendering engine from the HTML that is delivered over the web. In eValid's case that rendering engine is the "Trident Rendering Engine," which is also used by IE.

The rendering engine is very tolerant of mal-formed HTML. The idea is, if the HTML is right, then perform accordingly and correctly, but if it is wrong or mal-formed in any way, then politely (and silently) ignore it. This philosophy is one of the main reasons why the web has been able to grow so rapidly in the previous decade: even sloppy HTML is somehow rendered. The rendering engine is extremely error tolerant.

eValid's design has adopted the same principle: error tolerance is generally how eValid behaves. If you issue a command that is meaningless but syntactically OK, eValid will accept the command and the silently do nothing. You might think of it as a rule to "do no evil" [a phrase that has certain implications in the computing community, of course].

This basic approach is reflected in all of eValid's DOM manipulations commands: If the command is OK syntactically it will be executed, but if the user "programs" the command incorrectly, eValid will take no action. To avoid cluttering up the EventLog up with too many WARNINGS or ERRORS such actions are usually not reported.

There is an important exception to the rule of taking no action when an error is found, and that is when Adaptive Playback is active. In that case, eValid does the best it can to interpret the intention of the command and adapt playback to the current facts about the page.

-- eValid Technology
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons