This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
DOMEntityResolverTest0 as originally written appeared to test the parameters on a call to resolveResource. The document being parsed did not have any external resources and resource resolvers do not participate in resolving the document entity, so resolveResource should not and was not invoked and the assertions were never evaluted. I have rewritten DOMEntityResolverTest0 so that it parses a document with an external entity with an resource resolver. The resourceResolver checks the parameters and replaces the external resource. The test checks the document after parsing to check that the resolver was effective. DOMEntityResolverTest2 was added to test that a resource resolver is not used to resolve the document entity.
Created attachment 125 [details] Fixes to DOMEntityResolverTest0 and added Test2
Created attachment 126 [details] Fixes test validation errors in previous patch