public static void ValidateChartXml(IChart chart) {
            var xmlText = chart.GetDataXml(true);

            if(IsDebugEnabled) {
                log.Debug("Chart Xml:");
                log.Debug(xmlText);
            }

            var doc = new XmlDoc(xmlText);

            Assert.IsTrue(doc.IsValidDocument);
        }
Beispiel #2
0
        public static void ValidateChartXml(IChart chart)
        {
            var xmlText = chart.GetDataXml(true);

            if (IsDebugEnabled)
            {
                log.Debug("Chart Xml:");
                log.Debug(xmlText);
            }

            var doc = new XmlDoc(xmlText);

            Assert.IsTrue(doc.IsValidDocument);
        }