W3C home > Mailing lists > Public > www-dom-ts@w3.org > January 2004

XML loading ("builder") : missing function

From: David Faure <faure@kde.org>
Date: Thu, 22 Jan 2004 20:48:45 +0100
To: www-dom-ts@w3.org
Message-Id: <200401222048.45391.faure@kde.org>

Hello,

I'm trying to understand how tests like entitygetentityname (L1 Core test)
are supposed to be run in browsers. By default they seem to be skipped
because
./DOMTestCase.js:       throw "Tests using staff or nodtdstaff are not supported by HTML processors";

However it seems that by selecting a specific implementation (apparently this is done
by adding e.g. '?implementation=mozilla' to the URL for testRunner.html), one can
use a proper XML-loader ("builder"). But when I do that, it fails because
MozillaXMLBuilder.prototype.hasFeature isn't implemented. This looks like a bug.

If I copy the hasFeature function from another builder (e.g. the MSXML one),
then I can use the mozilla builder, which works for Konqueror as well,
now that it implements document.load().

OK, so this could have been a bug report, but I also wanted to inform you
that the "mozilla" builder works for Konqueror/KHTML (after adding the
missing function).

-- 
David FAURE, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
Received on Thursday, 22 January 2004 14:55:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:49 GMT