[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Testing with MSXML 3.0 or MSXML 6.0 (WAS: XSL 2.0
Robert Koberg wrote:
On Mon, 2007-07-02 at 09:08 -0600, M. David Peterson wrote: This is a way to specify by code the object with the highest version number. As from my earlier post, Microsoft strongly discourages to use anything else but version 6.0 or version 3.0. Specifying "MSXML2.DOMDocument" will result in the same object instantiated as when specifying "MSXML2.DOMDocument.3.0", meaning those are redundant. ProgIDs not starting with MSXML2 (i.e., very old versions), are disabled in the browser as a result of security problems. But this code will not show you what the default is on your system (which is the one chosen when using a PI). MD already showed how to determine that. Changing the default can only be done on the client machine by changing some parameters in the registry. It's been a long time that I changed ProgID related parameters by hand, I don't remember off hand how that was done, but it shouldn't be too hard. About the "default". If I understand the referred blog entry correctly, the default is used when you don't instantiate the object by code (i.e., with a PI the default will be chosen, which is MSXML6 in the case of IE7 on Vista, the rest MSXML3). When you do instantiate the object by javascript code, there is no way (unless when you have access to the local system) to determine what actually *is* the default, because when you specify the activex object without version in the progid, in all cases, MSXML3 is chosen and not necessarily the default on your system. I got this information from microsoft and msdn, and I did not verify every bit of it myself. I used to use MSXML6 myself, but there are security restrictions that are hard or uneasy to work around (and too insensible if you ask me), so some time last year I refactored everything back to MSXML3 (rule of lowest common divisor ;) Cheers, -- Abel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|