예제 #1
0
        public void RelativeFileNameFromProvider()
        {
            XmlSchemaCompletionData foundSchema = provider.FindSchemaFromFileName(@"C:\Schemas\..\Schemas\MySchema.xsd");

            Assert.AreEqual(expectedNamespace, foundSchema.NamespaceUri);
        }
        public void SameFileNameFromProvider()
        {
            XmlSchemaCompletionData foundSchema = provider.FindSchemaFromFileName(@"/home/Schemas/MySchema.xsd");

            Assert.AreEqual(expectedNamespace, foundSchema.NamespaceUri);
        }