问题描述
我有一个Schema元素节点,如下所示
I have a Schema element node as below
< MESSAGE>雇员有资格获得银行部门担保机构授予的利益.</MESSAGE>
在为该节点开发架构时,发现警告为
while I'm developing the schema for this node, I found the warning as
请问有人可以帮我吗?
推荐答案
这个StackOverflow问题似乎很适合您的问题.
This StackOverflow question seems to be a good fit for your problem.
简而言之,十六进制字符0x19在XML中无效(请参见Xaml规范,网址为 http://www.w3.org/TR/REC-xml/#charsets ),因此出现错误.因此,您需要将其从输入消息中删除-或要求生成消息的系统删除字符.
In a nutshell, the hexadecimal character 0x19 is invalid in XML (see the Xml spec at http://www.w3.org/TR/REC-xml/#charsets), hence the error. You will therefore need to remove it from your input message - or ask the system generating the message to remove the character.
要查看是哪个字符导致了实际的问题(0x19是'em'系统字符并且可能不会自己出现),请在十六进制查看器中查看有问题的文件,您可以在线获取该文件.
To see which character is causing the actual problem (0x19 is the 'em' system character and might not present itself), view the offending file in a Hex Viewer which you can grab online.
如果Xml是从平面文件模式生成的,则可能要考虑在平面文件反汇编程序解析消息之前,在接收管道的解码"阶段中从输入平面文件消息中删除有问题的字符.
If the Xml is being generated from a flat-file schema, you might want to consider stripping the offending character from the input flat-file message in the Decode stage of a Receive Pipeline before the Flat-File Disassembler parses the message.
这篇关于BizTalk Schema开发-十六进制值0x19,是无效字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!