diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs index cdcbd1f..e9e3524 100644 --- a/AssemblyVersion.cs +++ b/AssemblyVersion.cs @@ -16,5 +16,5 @@ using System.Reflection; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.0.1.430")] -[assembly: AssemblyFileVersion("3.0.1.430")] +[assembly: AssemblyVersion("3.0.1.431")] +[assembly: AssemblyFileVersion("3.0.1.431")] diff --git a/WebApplication/Sitemap.aspx.cs b/WebApplication/Sitemap.aspx.cs index ec5439b..35943cb 100644 --- a/WebApplication/Sitemap.aspx.cs +++ b/WebApplication/Sitemap.aspx.cs @@ -7,6 +7,7 @@ using System.Web.UI; using System.Web.UI.WebControls; using System.Xml; using ScrewTurn.Wiki.PluginFramework; +using System.Text; namespace ScrewTurn.Wiki { @@ -23,7 +24,7 @@ namespace ScrewTurn.Wiki { using(XmlWriter writer = XmlWriter.Create(Response.OutputStream)) { writer.WriteStartDocument(); - writer.WriteStartElement("urlset"); + writer.WriteStartElement("urlset", "http://www.sitemaps.org/schemas/sitemap/0.9"); writer.WriteAttributeString("xmlns", "xsi", null, "http://www.w3.org/2001/XMLSchema-instance"); writer.WriteAttributeString("xsi", "schemaLocation", null, "http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/09/sitemap.xsd");