• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ResolveExternals property in MSXML

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Recently I upgraded my system from window XP SP2 to SP3.



The client side application code has JavaScript that makes use of MSXML3

Something like this :



var xslDoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument");

xslDoc.async = false;

xslDoc.resolveExternals = false;

xslDoc.load("gridRendererColumnLayout.xsl");



//create the xslt processor.

var xslt = new ActiveXObject("Msxml2.XSLTemplate");

xslt.stylesheet = xslDoc;



You can see above I have set resolveExternals to false, however the xls file (gridRendererColumnLayout.xsl) I have used as my stylesheet make reference to some other .xls file using <xls:include > syntax



The part of my gridRendererColumnLayout.xsl looks something like this

�����..

������

<xsl:include href="common.xsl"/>

<xsl:include href="descriptor.xsl"/>



Prior to windows XP SP3 security patch upgrade my application was working properly without any issue however post upgrade to SR 3 some security updates got installed because of which my application is not working properly.



When I searched through the net I found out that for MSXML version 3 , in order to reference external file we need to set resolveExternals to �true �so I modified my code by changing it to xslDoc.resolveExternals = true and it worked fine.



Please can someone help in as to

1] Why prior to security update even when the resolveExternals attribute was set to false the external reference was working fine and also the application?

2] Why the application is currently working only when resolveExternals is set to �true�?



Thanks for your help.
 
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic