public void AddExtObject12()
{
int i = 1;
m_xsltArg = new XsltArgumentList();
///nonePermSet.PermitOnly(); ;
foreach (String str in szWhiteSpace)
{
MyObject obj = new MyObject(i, _output);
m_xsltArg.AddExtensionObject(szDefaultNS + str, obj);
i++;
}
///CodeAccessPermission.RevertPermitOnly();
try
{
if ((LoadXSL("myObjectDef.xsl") == 1))
Transform_ArgList("fruits.xml", true);
}
catch (System.Xml.Xsl.XsltException)
{
return;
}
_output.WriteLine("Did not throw expected exception");
Assert.True(false);
}