码迷,mamicode.com
首页 > 其他好文 > 详细

在配置XML时报的The reference to entity "dataSource" must end with the ';' delimiter错误

时间:2014-08-20 15:58:12      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   os   io   ar   art   

<?xml version="1.0" encoding="UTF-8"?>
<ECharts>
   <element>http://localhost:8080/EChartDynamic/DEcharts_bar1?flag=teacher_sex&dataSource=UTADB</element>
   <element>http://localhost:8080/EChartDynamic/DEcharts_bar1?flag=title-number&dataSource=UTADB</element>
</ECharts>

在配置XML的时,以上代码会报The reference to entity "dataSource" must end with the ‘;‘ delimiter错误

解决方案:在&后面加入amp;

 

<?xml version="1.0" encoding="UTF-8"?>
<ECharts>
   <element>http://localhost:8080/EChartDynamic/DEcharts_bar1?flag=teacher_sex&amp;dataSource=UTADB</element>
   <element>http://localhost:8080/EChartDynamic/DEcharts_bar1?flag=title-number&amp;dataSource=UTADB</element>
</ECharts>

 

在配置XML时报的The reference to entity "dataSource" must end with the ';' delimiter错误,布布扣,bubuko.com

在配置XML时报的The reference to entity "dataSource" must end with the ';' delimiter错误

标签:style   blog   http   color   os   io   ar   art   

原文地址:http://www.cnblogs.com/michaeljunlove/p/3924552.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!