public void IgnoredNamespaces()
{
string xml = "<root attr='val' xmlns:a='urn:foo' a:foo='hogehoge' />";
DataSet ds = new DataSet();
ds.InferXmlSchema(new StringReader(xml), null);
AssertDataSet("ds", ds, "NewDataSet", 1, 0);
AssertDataTable("dt", ds.Tables[0], "root", 2, 0, 0, 0, 0, 0);
ds = new DataSet();
ds.InferXmlSchema(new StringReader(xml), new string[] { "urn:foo" });
AssertDataSet("ds", ds, "NewDataSet", 1, 0);
// a:foo is ignored
AssertDataTable("dt", ds.Tables[0], "root", 1, 0, 0, 0, 0, 0);
}