Opened 12 years ago

Closed 9 years ago

#3088 closed defect

IE 7.0 displays ActiveX permission block when XslTransform is used

Reported by: guest Owned by: Tom Trenka
Priority: high Milestone: future
Component: Dojox Version: 0.4.2rc1
Keywords: IE, IE7, activex, XslTransform Cc: stenduncan@…
Blocked By: Blocking:

Description (last modified by Tom Trenka)

When running in IE 7.0, if the dojo.xml.XslTransform? is used, a security warning is given (yellow bar across the top of the page) that IE wants to run MSXML 5.0.

Apparently, Microsoft is supposed to be shipping MSXML 6.0 together with IE7 and they have marked MSXML 5.0 as "insecure" (still works fine in IE6).

http://blogs.msdn.com/xmlteam/archive/2006/10/23/using-the-right-version-of-msxml-in-internet-explorer.aspx

I am using dojo 0.4.3 and I have fixed the problem by changing the file XslTransform?.js to rearrange the order in which the versions are checked:

========

var IS_IE = dojo.render.html.ie;

var ACTIVEX_DOMS = [

"Msxml2.DOMDocument.6.0", "Msxml2.DOMDocument.3.0", "Msxml2.DOMDocument.5.0", "Msxml2.DOMDocument.4.0", "MSXML2.DOMDocument", "MSXML.DOMDocument", "Microsoft.XMLDOM"

]; var ACTIVEX_FT_DOMS = [

"Msxml2.FreeThreadedDOMDocument.6.0", "MSXML2.FreeThreadedDOMDocument.3.0", "Msxml2.FreeThreadedDOMDocument.5.0", "MSXML2.FreeThreadedDOMDocument.4.0"

]; var ACTIVEX_TEMPLATES = [

"Msxml2.XSLTemplate.6.0", "MSXML2.XSLTemplate.3.0", "Msxml2.XSLTemplate.5.0", "Msxml2.XSLTemplate.4.0"

];

=====

This seems to fix the problem for me.

Change History (6)

comment:1 in reply to:  description Changed 12 years ago by guest

I should also mention that once you've "allowed" that MSXML 5.0 version to run, then I haven't found a way to disable it and get the error to show again.

But it does show on IE7 where that warning has never been accepted/enabled and it's a problem because there are quite a few users out there who do not enable activex controls.

comment:2 Changed 12 years ago by Adam Peller

Owner: changed from anonymous to Tom Trenka

comment:3 Changed 12 years ago by Tom Trenka

Component: GeneralDojox
severity: criticalnormal

comment:4 Changed 12 years ago by dylan

Milestone: 1.3
Priority: highnormal

comment:5 Changed 11 years ago by Tom Trenka

Description: modified (diff)
Milestone: 1.3future

comment:6 Changed 9 years ago by Tom Trenka

Status: newclosed

Some triage, closing old tickets that seem no longer relevant.

Note: See TracTickets for help on using tickets.