Joseph Kesselman wrote:
This is a major performance tradeoff deliberately accepted in the DOM.
Checking every string every time would impose serious overhead on
applications, completely unnecessarily in many cases since the structure of
the application itself guarantees that the failure will never arise. The
tradeoff is that the application is responsibile for doing this check, or
for using a support library which does it. The DOM spec lets the
implementation decide which point in that trade-off to accept.
The interesting thing is that people always want something to
be correct and complain bitterly when it isn't. Then, once it
*is* correct, they complain bitterly that it's slow. ;)
--
Andy Clark * [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]