Barton V. Lewis

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromBarton V. Lewis
ToMe
SubjectXML importing script enhancement
Date17 June 2004 19:38
Hey Mark, I came across this script a few days ago through a Google
(http://www.howtocreate.co.uk/jslibs/htmlhigh/importxml.html). VERY nice!
Impressive!

I thought I might point out though, this problem I ran into with it:
In the 2nd if-then for 'the Microsoft way' I was able to still raise errors
when creating the new ActiveX object. Apparently, in my case, the try-catch
is not doing it's job. This error was raised because I had Zone Alarm
enabled and had it set to disable ActiveX. Further testing led me to the
same error by just adjusting IE's settings to disable ActiveX.

If the try-catch was doing it's job, the script would have drop down to the
next if-then and everything would have been grand. For some reason, it did
not. I attempted (without success) to inject code into the 2nd if-then to
determine if ActiveX was in fact disabled.

Not sure if there is anything that can be done about this issue. Just
thought I might bring it up for you.

Barton V. Lewis
FromMe
ToBarton V. Lewis
SubjectRe: XML importing script enhancement
Date17 June 2004 22:37
Lewis,

Thanks for the information. This is an interesting failure on Internet
Explorer's part. I agree, there is nothing I can really do to fix it (the
try/catch should prevent errors), so I will document it that it might
happen.

Thanks

Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.