XmlDocument的Load方法报“hexadecimal value .., is an invalid character”
2010-07-01 10:04
567 查看
使用notepad++打开这个有问题的xml文件,然后选择替换,选择正则表达式查询
输入 [^\x09\x0A\x0D\x20-\xD7FF\xE000-\xFFFD\x10000-x10FFFF]
替换成""
ok.
输入 [^\x09\x0A\x0D\x20-\xD7FF\xE000-\xFFFD\x10000-x10FFFF]
替换成""
ok.
相关文章推荐
- XmlDocument的Load方法报“hexadecimal value .., is an invalid character”
- hexadecimal value 0x0C, is an invalid character-如何去除XML无效字符
- about an error:LoadXml:Data at the root level is invalid. Line 1, position 1.
- XML hexadecimal value 0x__, is an invalid character
- XML文件处理过程中的0x1A 错误处理,Hexadecimal value 0x is an invalid character
- hexadecimal value 0x0C, is an invalid character-如何去除XML无效字符
- XML document from class path resource [beans.xml] is invalid; nested exception is org.xml.sax.SAXPar
- Dom4j 读 xml 时,遇到 xml 无效字符,报错:An invalid XML character
- XML解析出现An invalid XML character (Unicode: 0x**) was found in the comment.
- C# .net core XmlDocument 使用Load和Save方法
- VS:error C3872: '0xe044': this character is not allowed in an identifier解决方法
- error C3872: '0x3000': this character is not allowed in an identifier 解决方法
- KissXML中的类报错的修改方法 报错:self->isa = [DDXMLDocument class];
- VS:error C3872: '0xe044': this character is not allowed in an identifier解决方法
- SSH框架 Bean property * is not writable or has an invalid setter method错误分析与解决方法
- Handling Invalid Characters in an XML String (zz.IS2120.BG57IV3)
- org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the CDATA sectio
- org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x7)
- org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the CDATA sectio
- dubbo-admin-2.4.9 运行报错: Bean property 'URIType' is not writable or has an invalid 解决方法