diff options
Diffstat (limited to 'mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs')
-rwxr-xr-x[-rw-r--r--] | mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs b/mcs/class/System.XML/Mono.Xml.Schema/XmlSchemaValidatingReader.cs index 43f0a75d09..c6a85fbea4 100644..100755 --- 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; |