我遇到输入XML中的特殊字符有问题。 我们如何通过代理工具包中的ESQL代码删除可能出现在XML字段中任何位置的错误字符。 在下面的XML中,description字段有不好的字符 -
<notificationsRequest>
<BillingCity>Troutdale</BillingCity>
<BillingCountry>United States</BillingCountry>
<BillingPostalCode>97060</BillingPostalCode>
<BillingState>Oregon</BillingState>
<BillingStreet>450 NW 257th Way, Suite 400</BillingStreet>
<CreatedById>005w0000003QlXtAAK</CreatedById>
<Type>Prospect</Type>
<Tyco_Operating_Co__c>Tyco IS - Commercial</Tyco_Operating_Co__c>
<Doing_Business_As_DBA__c>Columbia Gorge Outlets</Doing_Business_As_DBA__c>
<Description>As of January 2016—the property title should read Austell Columbia Gorge Equities, LLC-dba Columbia Gorge Outlets---so the title should be Austell Columbia Gorge Equities, LLC.</Description>
</notificationsRequest>
答案 0 :(得分:0)
您的文件似乎带有错误的编码或在从一种编码转换为另一种编码时损坏。如果您是MS Windows用户,可以使用Nodepad ++打开它,并尝试将其编码转换为UTF8或任何可能的编码来检查问题。