XMLDocument.evaluate is not a function

"Gary van der Merwe" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization http://groups.google.com
Message-ID <[email protected]>
Hi

Another 3:25AM head scratcher.


I'm getting the following error:

Error: responseXml.evaluate is not a function
Source File:
file:///C:/Program%20Files/sunbird/extensions/%7BC1A207F4-634F-4939-BCC7-5A56AA307077%7D/components/calExchangeCalendar.js
Line: 138

My code looks like this: (e is the event prameter of the onload of my
XmlHTTPRequest)
var responseXml = e.target.responseXML;

var responses = responseXml.evaluate('DAV:multistatus/DAV:response',
responseXml, NSResolver, 5, null);

This is happening in a nightly trunk of Sunbird:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1)
Gecko/20050828 Mozilla Sunbird/0.2+

Any Ideas?

Gary
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.