'AUD'是一个意想不到的标记。期待白色空间。 36号线,50号 [英] 'AUD' is an unexpected token. Expecting white space. Line 36, position 50

查看:107
本文介绍了'AUD'是一个意想不到的标记。期待白色空间。 36号线,50号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我们正在为自定义代码程序集运行此代码

We are running this code for custom code assembly

< span style ="font-size:small">



[System.Security.SecurityCritical]
private void Initialize()
       {
           _enableLogging = 
Convert.ToBoolean(ConfigurationManager.AppSettings["enableLogging"]);
            _configurationPath = ConfigurationManager.AppSettings["customAssemblyExpressionConfigPath"];
            _logPath = ConfigurationManager.AppSettings["customAssemblyLogPath"];
            _mrvDefinitionSubReport = ConfigurationManager.AppSettings["mrvDefinitionSubReport"];         
new FileIOPermission(FileIOPermissionAccess.Read, _configurationPath).Assert();
            _document = XDocument.Load(_configurationPath);
        }



<?xml version="1.0" encoding="utf-8" ?>
<operations>
  <operation type="sort">
    <entry name="MDS_Currency_Group" value="USD,EUR,GBP,CHF,JPY,AUD" />
    <entry name="MDS_Currency" value="USD,EUR,GBP,CHF,JPY,AUD" />
    <entry name="Rebucketed_Market_Segment_Column_Label" value="TN,1W,1M,2M,3M,6M,9M,1Y,18M,2Y,3Y,4Y,5Y,6Y,7Y,8Y,9Y,10Y,12Y,15Y,20Y,25Y,30Y,40Y,50Y,Total" />
    <entry name="Rebucketed_Market_Segment_Row_Label" value="TN,1W,1M,2M,3M,6M,9M,1Y,18M,2Y,3Y,4Y,5Y,6Y,7Y,8Y,9Y,10Y,12Y,15Y,20Y,25Y,30Y,40Y,50Y,Total" />
    <entry name="Rebucketed_Market_Segment_Name" value="1Y,3Y,5Y,7Y,10Y,12Y,15Y,20Y,30Y,40Y+" />
    <entry name="MS_Bucket_Group" value="&lt;2Y,3-5Y,6-10Y,11-15Y,15+Y" />
    <entry name="MS_Bucket_Range" value="Spot3M,3M6M,6M9M,9M1Y,1Y15M,15M18M,18M21M,21M2Y,2Y3Y,3Y4Y,4Y5Y,5Y10Y,10Y+" />
  </operation>
  <operation type="alias">
    <entry name="Business_Unit">
      <pair key="Corporate Client Solutions" value="CCS" />
      <pair key="Investor Client Services" value="ICS" />
    </entry>
  </operation>
  <operation type="group">
    <entry name="MDS_Currency" value ="USD,EUR,GBP,CHF,JPY,AUD" />
  </operation>
  <operation type="filter">
    <entry name="MDS_Currency" value="USD,EUR,GBP,CHF,JPY,AUD" />
  </operation>
  <operation type="format">
    <entry name="JTZ" showIn="m" useSeperator="y" decimals="2" />
    <entry name = "Credit" />
    <entry name = "TV Change" showIn="M" useSeperator="Y" />
  </operation>
  <operation type="colorpalette">
    <entry name="default" value="#e8c767,#c07156,#7b6b59,#b9b2a3,#edd79d,#e6b6a4,#cfbd9b,#e0d5bd,#a43725,#dfad22,#aeb0b3,#7b7d80,#c09979" />
  </operation>
</operations>



我们知道失败的原因是什么:

Do we know why it is failing with this error:

无法加载表达式主机程序集。详情:'AUD'是一个意外的令牌。期待白色空间。第36行,第50位。

Failed to load expression host assembly. Details: 'AUD' is an unexpected token. Expecting white space. Line 36, position 50.

< span style ="font-size:small">

问候

Rajaniesh

推荐答案

请提供第36行的内容。

Please provide the contents of line 36.

另请注意,您发布的XML缺少正确的起始XML指令。这是故意的吗?

Also note your posted XML is missing the correct starting XML directive. Was this on purpose?

您发布的代码与您发布的错误和XML有什么关系?

What does the code that you posted have to do with the error and XML you posted?


这篇关于'AUD'是一个意想不到的标记。期待白色空间。 36号线,50号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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