首页 > 其他 > 详细

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

时间:2014-08-20 15:58:12      阅读:2525      评论:0      收藏:0      [点我收藏+]
<?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错误

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!