" is entered in Approver_Role, something goes wrong when applying for a form, because < is encountered when combining XML strings. Requires escaping. ServiceForFlowER.cs"/> " is entered in Approver_Role, something goes wrong when applying for a form, because < is encountered when combining XML strings. Requires escaping. ServiceForFlowER.cs">

Home  >  Article  >  Backend Development  >  Detailed introduction to the problem of XML special characters

Detailed introduction to the problem of XML special characters

黄舟
黄舟Original
2017-03-23 16:51:142246browse

Approval Setting时特殊字符的问题:

如果Approver_Role输入了“0c6dc11e160d3b678d68754cc175188a”,那么在申请表单时什么出错,因为在组合XML字符串时遇到了c091d439d56e8b4a3fd1156eb02e08b5 

大于号

&

&

'

'

单引号

"

"

双引号


实体必须以符号"&"开头,以符号";"结尾

注意: 只有"<" 字符和"&"字符对于XML来说是严格禁止使用的。剩下的都是合法的,为了减少出错,使用实体是一个好习惯。

The above is the detailed content of Detailed introduction to the problem of XML special characters. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn