RE: Problem instantiating XMLDOMDocument node within <xsl:s

Subject: RE: Problem instantiating XMLDOMDocument node within <xsl:s
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Mon, 19 Apr 1999 11:44:05 -0400
Didier..

	I can answer this for sure, XMTP is a scripting host which is how Mail
Server Pages are implemented:

	new ActiveXObject(progid) does not cause GetItemInfo to be called in
XMTP...

	I believe that a context object is passed to the
IActiveScript::ParseScriptText method which contains an interface that the
script engine can use to check security... the XSL script host thus prevents
COM objects from being instanciated by this mechanism...

	so for the time being, and by design, it is disallowed to create COM
objects within IE5 XSL scripts.

Jonathan

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Didier PH Martin
> Sent: Monday, April 19, 1999 9:03 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: RE: Problem instantiating XMLDOMDocument node within <xsl:s
>
>
> Hi Guy,
>
> a) About the CreateObject. I'll know quite soon if this function
> is given by
> the host when my script host will be finished. My hypothesis is that this
> function is part of the default interface given by the host to the script
> engine. As you know, a script host can provide objects to the
> script engine
> through a default interface.
>
> b) I'll try an other test that will just give us clue if XSL is a script
> host like the others. set a script="PerScript". If it work, then XSL is a
> script host.
>
> regards
> Didier PH Martin
> mailto:martind@xxxxxxxxxxxxx
> http://www.netfolder.com
>
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of
> Guy_Murphy@xxxxxxxxxx
> Sent: Monday, April 19, 1999 6:06 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: RE: Problem instantiating XMLDOMDocument node within <xsl:s
>
>
> Hi Didier.
>
> Just to clarify (what you might already be aware of)...
>
> createObject is VBS, the equivelent in JScript is "var myVar = new
> ActiveXObject(...object identifier...);"
>
> It is my suspicion that COM interfaces are simply not exposed to the XSL
> scripting engine, whether VBS, JScript or otherwise. I'm not sure exactly
> COM and the scripting Host meet together.... is it the scripting hosts
> responsibility to expose COM interfaces to the script?... if so if the XSL
> scripting host simply doesn't do this.... no COM.
>
> Also, I haven't tested to see if the scripting engine used by XSL is the
> same as that used by other hosts.... has anybody tried using try {...}
> catch (...){...} from XSL on a system with JScript 5 installed?
>
> Cheers
>      Guy.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread