From 9972bf87b4f27d9c8f358ef8414ac1ab957a2f0f Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Wed, 19 Feb 2014 22:12:43 +0000 Subject: Imported Upstream version 3.2.8+dfsg --- mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs (limited to 'mcs/class/System.XML/Mono.Xml.Schema') diff --git a/mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs b/mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs old mode 100644 new mode 100755 index 43f0a75d09..c6a85fbea4 --- a/mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs +++ b/mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs @@ -125,7 +125,7 @@ namespace Mono.Xml.Schema schemas, nsResolver, options); - if (reader.BaseURI != String.Empty) + if (reader.BaseURI != String.Empty && Uri.IsWellFormedUriString(reader.BaseURI, UriKind.Absolute)) v.SourceUri = new Uri (reader.BaseURI); readerLineInfo = reader as IXmlLineInfo; -- cgit v1.2.3