[squeak-dev] The XML libraries run fine on Squeak 6 alpha

monty monty2 at programmer.net
Sun Oct 4 19:44:38 UTC 2020


Installing the (head)s of:
    XMLParser (which loads "XMLWriter" too)
    XMLParser-XPath (be careful not to install the old, unfinished "XPath" project)
    XMLParser-StAX
    XMLParser-HTML
from the SqueakMap works fine; all the tests still pass. XMLParser installation still pops up a warning you have to click through b/c of a conflict with the old XMLParser in the image, but it's fine other than that.

Supposedly there are conflicts with XStreams, but I have nothing to do with that.

An aside: some tests are skipped by default because they rely on external resources, like the file system or HTTP, which makes it easier to distinguish real regressions from something like a network outage. The skipping is more obvious on Pharo because their TestCase has a #skip message that the TestRunner UI supports. On Squeak these tests just silently pass. To run them, send XMLSkippableTest #stopSkippingAll. Unfortunately b/c of the W3C rate limiting, the tests using xhtml DTDs timeout if you run them more than once. You could say they should be cached (the default resolver does just that), but the purpose of these tests is to test real HTTP retrieval, so that defeats the purpose.
___
montyos.wordpress.com



More information about the Squeak-dev mailing list