public void LoadGeneric5()
{
// By design bug #84957: Skip this test for Load(url, resolver)
//if (MyInputType() == InputType.URI)
//{
// _output.WriteLine("By design bug #84957: Skip this test for Load(url, resolver)");
// return TEST_SKIPPED;
//}
CustomNullResolver myResolver = new CustomNullResolver(null);
try
{
LoadXSL_Resolver("XmlResolver_Main.xsl", myResolver);
}
catch (System.Xml.Xsl.XsltCompileException e)
{
CheckExpectedError(e.InnerException, "System.Data.Sqlxml", "Xslt_CantResolve", new string[] { new Uri(FullFilePath("XmlResolver_Include.xsl", false)).ToString() });
return;
}
_output.WriteLine("Exception not thrown for null resolver");
Assert.True(false);
}