[thelist] Loading XML file in IE browser

Roger Ly evolt at matchpenalty.com
Wed Jun 18 12:06:16 CDT 2003

>Does anyone have any good insight in how the Microsoft.XMLDOM ActiveX
>object works?  Has anyone heard of any situations where trying to load
>an XML document using that object has failed for some unknown reason?
>Unfortunately, I can't think of any other ways to debug the stuff
>to throw in alerts here or there in the Javascript.

Of course, seconds after sending an email, and days after I originally
started trying to figure this out, I think I have an idea as to what may
be happening:

First of all, it seems an important fact was left out of my original
email, that I didn't think was relevant, but turns out to be the cause
of the problem:

The URL I posted also had a querystring attached to it.  

Why is that so important?  Well, apparently, when loading the page in IE
6, if the path and the querystring are longer than 578 characters, the
importXML functionality won't work properly anymore.

I was under the impression that you could have a querystring of up to
1024 characters in most/all browsers.  Is that incorrect?  Actually,
javascript seems to let me parse out the querystring fine past the 578
character limit, it is just the XML parser that fails afterwards.




More information about the thelist mailing list