解析XML时CruiseControl控制台错误信息
问题描述:
我有在Win2k8R2和svn(1.6.9)中运行的CruiseControl(1.5)错误发生在nant(0.86)超时(600秒)后成功生成。当我检查build目录一切都是正确建立,但CruiseControl的仪表板报告异常解析XML时CruiseControl控制台错误信息
这里是在控制台中显示的错误:
[:DEBUG] Exception: System.Xml.XmlException: The ',' character, hexadecimal value 0x2C, cannot be included in a name. Line 5544, position 274.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlWriter.WriteNode(XmlReader reader, Boolean defattr)
at ThoughtWorks.CruiseControl.Core.Util.XmlFragmentWriter.WriteNode(XmlReader reader, Boolean defattr)
at ThoughtWorks.CruiseControl.Core.Util.XmlFragmentWriter.WriteNode(String xml)
答
Generaly,这个错误发生在CCNET试图合并南特输出中与非-xml info进入构建报告。
验证Nant输出。
也许类似的东西在这里: CruiseControl.Net complaining about xml
转到5544线位置274和删除','字符 – 2010-05-22 02:41:33
就是你问题是否已解决? – TridenT 2010-05-26 19:42:38