BizTalk Schema开发-十六进制值0x19,是无效字符 [英] BizTalk Schema development - hexadecimal value 0x19, is an invalid character

查看:86
本文介绍了BizTalk Schema开发-十六进制值0x19,是无效字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个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

警告BEC2004:"(十六进制值0x19)是无效字符.第20行,位置26.

warning BEC2004: '', hexadecimal value 0x19, is an invalid character. Line 20, position 26.

请问有人可以帮我吗?

推荐答案

This StackOverflow question seems to be a good fit for your problem.

简而言之,十六进制字符0x19在XML中无效(请参见Xaml规范,网址为

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,是无效字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆