System.Xml.Tests.TC_SchemaSet_Add_URL.v12 C# (CSharp) Method

v12() private method

private v12 ( ) : void
return void
        public void v12()
        {
            XmlSchemaSet sc = new XmlSchemaSet();
            XmlSchema Schema1 = sc.Add("xsdauthor", TestData._XsdAuthor);
            XmlSchema Schema2 = sc.Add("xsdauthor", TestData._XsdAuthorNoNs);
            // schemas should be successfully added
            try
            {
                sc.Compile();
            }
            catch (XmlSchemaException)
            {
                // GLOBALIZATION
                return;
            }
            Assert.True(false);
        }