首页 > 代码库 > 在配置XML时报的The reference to entity "dataSource" must end with the ';' delimiter错误
在配置XML时报的The reference to entity "dataSource" must end with the ';' delimiter错误
<?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&dataSource=UTADB</element> <element>http://localhost:8080/EChartDynamic/DEcharts_bar1?flag=title-number&dataSource=UTADB</element></ECharts>
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。