| Hi Paul, Thanks for responding (and sorry my post was inadvertently directed only to Eric). I did run into the problem that you mentioned and I patched sarissa.js to do exactly what you suggested (I used "temp"). Most of the sarissa test cases now run successfully (very good news), but the problem I mentioned is actually a separate issue. When creating an XML document, sarissa assumes that the output of document.implementation.createDocument implements a method called "load." This allows the XML document to load XML from an XML file using a standard URI (i.e. file://, http://, and relative paths). As far as I can tell, this method is not implemented in Safari causing sarissa to break whenever the SarissaDocument.load method is used. Technically, Sarissa goes a step further for browers that implement document.implementation.createLSParser by overriding the default document.implementation.createDocument.load method with a user defined function that makes use of the functionality described here (specifically document.implementation.createLSParser.parseURI): I am not sure I understand why this approach is used for some browsers (document.implementation.hasFeature('LS', '3.0') == true), perhaps it performs better than the document.implementation.createDocument.load method. Nevertheless, FireFox will work just fine with either but sadly Safari won't do either. Technically, Sarissa could be updated to use XMLHttpRequest in order to provide SarissaDocument.load functionality to the web developer, but the more I investigate that approach, the more it resembles a crude substitute for implementing the load method on document.implementation.createDocument. I guess I'm not sure whether or not this is a bug, an oversight, or a deliberate omission in Safari. I'm also not certain what to ask for (document.load or LSParser support). Once I determine this, I should be able to either convince the folks at Sarissa to modify their code, enter a bug report on Safari (still waiting on my BZ enrollment email...), or just hack Sarissa myself to implement SarissaDocument.load for Safari alone using XmlHTTPRequest. Many thanks! Andrew On 03.01.2006, at 01:35, Paul Everitt wrote:
|
_______________________________________________ webkit-dev mailing list [email protected] http://www.opendarwin.org/mailman/listinfo/webkit-dev
