“/”应用程序中的服务器错误。

行 17 上的开始标记“br”与结束标记“p”不匹配。 行 17,位置 2558。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Xml.XmlException: 行 17 上的开始标记“br”与结束标记“p”不匹配。 行 17,位置 2558。

源错误:


行 68:                     '先赋值给一个字符串
行 69:                     Dim doc As System.Xml.XmlDocument = New System.Xml.XmlDocument()
行 70:                     doc.LoadXml(l.text.Replace("&", "&"))
行 71:                     '加载数据
行 72:                     Dim nodes As System.Xml.XmlNodeList = doc.SelectNodes("div/div[@name='day']")

源文件: d:\wwwroot\mylxs.cn\wwwroot\line\print.aspx    行: 70

堆栈跟踪:


[XmlException: 行 17 上的开始标记“br”与结束标记“p”不匹配。 行 17,位置 2558。]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +76
   System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +88
   System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) +214
   System.Xml.XmlTextReaderImpl.ParseEndElement() +3986562
   System.Xml.XmlTextReaderImpl.ParseElementContent() +243
   System.Xml.XmlTextReaderImpl.Read() +45
   System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +58
   System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +20
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +129
   System.Xml.XmlDocument.Load(XmlReader reader) +108
   System.Xml.XmlDocument.LoadXml(String xml) +113
   ASP.line_print_aspx.OnInit(EventArgs e) in d:\wwwroot\mylxs.cn\wwwroot\line\print.aspx:70
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


版本信息: Microsoft .NET Framework 版本:2.0.50727.3662; ASP.NET 版本:2.0.50727.3668