thymeleaf 解析html时,出现 SAXParseException: The content of elements must consist of well-formed characte
2015-07-12 00:54
706 查看
00:46:32.733 [http-apr-8080-exec-7] ERROR o.t.templateparser.ErrorHandler - [THYMELEAF][http-apr-8080-exec-7] Fatal error during parsing
org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198) ~[na:1.7.0_45]
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) ~[na:1.7.0_45]
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441) [na:1.7.0_45]
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368) [na:1.7.0_45]
<script>
'iDisplayLength': 12,
"sPaginationType": "full_numbers",
"dom": 'T<"clear">lfrtip',
"tableTools": {
"sSwfPath": "<?php echo base_url('assets2/js/Datatables/tools/swf/copy_csv_xls_pdf.swf'); ?>"
}
</script>
<script>标签要改成:
org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198) ~[na:1.7.0_45]
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) ~[na:1.7.0_45]
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441) [na:1.7.0_45]
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368) [na:1.7.0_45]
<script>
'iDisplayLength': 12,
"sPaginationType": "full_numbers",
"dom": 'T<"clear">lfrtip',
"tableTools": {
"sSwfPath": "<?php echo base_url('assets2/js/Datatables/tools/swf/copy_csv_xls_pdf.swf'); ?>"
}
</script>
<script>标签要改成:
<script th:inline="javascript"> /*<![CDATA[*/ ... ... ... /*]]>*/ </script>
相关文章推荐
- html基本常识
- html、htm、shtml、shtm的区别
- 区别:DOM Core 与 HTML-DOM [转自CSDN]
- html中select显示非option的文字:做下拉框的时候用这些文字当提示
- html中frameset的详细使用方法
- html学习笔记(5)
- jq清除html标签
- HTML中为什么要清除浮动的个人理解
- HTML中<meta>标签的实例
- 判断IE版本的HTML语句详解,如:[if lte IE 9]……[endif]
- web tips——radio单击区域
- curl教程
- HTML(个人学习笔记,不断跟新修改中)
- html 捕捉 enter事件
- 对html中特殊的符号进行过滤处理_Filter类
- 对html中特殊的符号进行过滤处理_Filter类
- 学习HTML的感悟
- MVC @Html控件(转载)
- HTML各种引(尼)号(玛)的问题
- html页面加载和解析流程