Mercurial > repos > snowblizz-super-API-ideas
changeset 227:bf4f04f385d0
* Update exporter to look in "schemas" folder to match r429
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 20 Dec 2009 20:28:14 +0000 |
parents | c931684f9024 |
children | ece26f6a62f3 |
files | api/Exporters/WarFoundryHtmlExporter.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/api/Exporters/WarFoundryHtmlExporter.cs Sat Dec 19 15:40:50 2009 +0000 +++ b/api/Exporters/WarFoundryHtmlExporter.cs Sun Dec 20 20:28:14 2009 +0000 @@ -41,7 +41,7 @@ { XmlDocument doc = new XmlDocument(); CustomXmlResolver resolver = new CustomXmlResolver(); - resolver.AddMapping("-//W3C//DTD XHTML 1.0 Strict//EN", new Uri("file://" + IBBoard.Constants.ExecutablePath + "/dtds/xhtml1-strict.dtd")); + resolver.AddMapping("-//W3C//DTD XHTML 1.0 Strict//EN", new Uri("file://" + IBBoard.Constants.ExecutablePath + "/schemas/xhtml1-strict.dtd")); doc.XmlResolver = resolver; doc.AppendChild(doc.CreateDocumentType("html", "-//W3C//DTD XHTML 1.0 Strict//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd", null)); XmlElement html = doc.CreateElement("html");