Mercurial > repos > IBBoard
diff Lang/Translation.cs @ 23:fb4fdab841db
* Ignore schema location attribute for translations
* Make sure exceptions get passed as exceptions to log notify listeners if they were passed as the only parameter
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Mar 2009 20:12:29 +0000 |
parents | ea058f9ea9d4 |
children | 2b5e73cb83a3 |
line wrap: on
line diff
--- a/Lang/Translation.cs Sat Mar 07 15:52:27 2009 +0000 +++ b/Lang/Translation.cs Sat Mar 14 20:12:29 2009 +0000 @@ -110,7 +110,7 @@ settings = new XmlReaderSettings(); settings.XmlResolver = new IBBXmlResolver(translationDir.Parent.FullName); settings.ValidationType = ValidationType.Schema; - settings.ValidationFlags = XmlSchemaValidationFlags.ReportValidationWarnings | XmlSchemaValidationFlags.ProcessSchemaLocation; + settings.ValidationFlags = XmlSchemaValidationFlags.ReportValidationWarnings; settings.ValidationEventHandler+= new ValidationEventHandler(ValidationEventMethod); XmlSchemaSet cache = new XmlSchemaSet(); cache.Add("http://ibboard.co.uk/translation", translationDir.Parent.FullName + "/dtds/translation.xsd");