All About JAVA An invalid XML character (Unicode: 0xdd65) was found in the comment 错误
来源:互联网 发布:开淘宝企业店铺的要求 编辑:程序博客网 时间:2024/05/21 03:18
在这两天进行一个早期系统迁移工作,从Solaris的jes迁移到rhel的weblogic,程序迁移过来后,一个页面的文本编辑器无法初始化,后台报了An invalid XML character (Unicode: 0xdd65) was found in the comment.这个错误。在编辑器初始化前需要处理一个XML文件,代码片段如下:
<?xml version="1.0" encoding="GBK"?><Edit_Button> <!--相关的按钮文件--> <bcode name="SpellCheck"> <btitle>拼写检查</btitle> <bimage>spellcheck.gif</bimage> <bhtml></bhtml> <btype>0</btype> <bevent>spellCheck()</bevent> <bclass>Btn</bclass> <border>0</border> <ballowselect>0</ballowselect> </bcode> <bcode name="TBSep"> <btitle>分隔线</btitle> <bimage></bimage> <bhtml></bhtml> <btype>2</btype> <bevent></bevent> <bclass>TBSep</bclass> <border>1</border> <ballowselect>1</ballowselect> </bcode>...
这个文件是GBK编码,最后将此文件编码格式转为UTF-8,并将头部的XML声明中的GBK也该为UTF-8,程序可以正常执行。
0 0
- All About JAVA An invalid XML character (Unicode: 0xdd65) was found in the comment 错误
- XML解析出现An invalid XML character (Unicode: 0x**) was found in the comment.
- XML解析出现An invalid XML character (Unicode: 0x**) was found in the comment.
- XML解析出现An invalid XML character (Unicode: 0x**) was found in the comment.
- XML解析出现An invalid XML character (Unicode: 0x**) was found in the comment.
- XML解析出现An invalid XML character (Unicode: 0x**) was found in the comment.
- org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the CDATA sectio
- Error parsing XML: An invalid XML character (Unicode:0x1f) was found
- 关于 Exception: An invalid XML character (Unicode: 0x0) was found
- 关于 Exception: An invalid XML character (Unicode: 0x0) was found
- java.lang.IllegalArgumentException: An invalid character [44] was present in the Cookie value
- Java Web学习--获取Cookie报错An invalid character [32] was present in the Cookie value
- java.lang.IllegalArgumentException: Invalid character found in the request target.
- 关于Cookie的An invalid character [32] was present in the Cookie value异常
- An invalid character [34] was present in the Cookie value] with root cause
- [Store:280041]An record was found in the file store with an invalid version of 5
- org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x7)
- org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x7)
- 操作系统下的hosts的地址映射问题
- IT时代正在走向DT数据时代?飞跃巅峰团队
- 字符串切割(从某个字符串中提取子串)
- C语言字节对齐
- 圆形进度条以及百分率指示器 Scroller类的练习
- All About JAVA An invalid XML character (Unicode: 0xdd65) was found in the comment 错误
- 2014年4月1日 pcDuino V3今天全球正式发布,4月6日全球同步限量发售,
- Palindrome Partitioning II
- 多文件组织多个类程
- h264码流字节序备忘
- 查找给定数对扩充问题
- 共享收集的图像处理方面的一些资源和网站
- Sql Server 2008 R2占用内存一直增长,直到死锁的问题(已解决)
- 数据库架构的演变