加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Magento 1.6 XML错误

发布时间:2020-12-16 23:27:47 所属栏目:百科 来源:网络整理
导读:我安装了Magento.当我用 eclipse或Zend Studio打开它时,它会显示一堆与 XML相关的错误.我不太清楚为什么会这样.任何人都知道如何解决这个问题? 以下是前几个错误.但是大约有212个错误和1225个警告. ------------------------------------------------------
我安装了Magento.当我用 eclipse或Zend Studio打开它时,它会显示一堆与 XML相关的错误.我不太清楚为什么会这样.任何人都知道如何解决这个问题?

以下是前几个错误.但是大约有212个错误和1225个警告.

--------------------------------------------------------------------------------------
Description Resource    Path    Location    Type
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/Api/etc line 111    XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/Catalog/etc line 956    XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/CatalogInventory/etc    line 76 XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/Checkout/etc    line 571    XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/Customer/etc    line 252    XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/Directory/etc   line 64 XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/GiftMessage/etc line 88 XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl.xml    /Magento/app/code/core/Mage/Sales/etc   line 871    XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'binding' is not valid with respect to its type,'NCName'.  wsdl2.xml   /Magento/app/code/core/Mage/Api/etc line 167    XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'wsdl:binding' is not valid with respect to its type,'NCName'. wsi.xml /Magento/app/code/core/Mage/Api/etc line 290    XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'wsdl:binding' is not valid with respect to its type,'NCName'. wsi.xml /Magento/app/code/core/Mage/Catalog/etc line 1531   XML Problem
cvc-attribute.3: The value '{{var wsdl.handler}}Binding' of attribute 'name' on element 'wsdl:binding' is not valid with respect to its type,'NCName'. wsi.xml /Magento/app/code/core/Mage/CatalogInventory/etc    line 107    XML Problem

谢谢,

解决方法

对不起,不是您问题的完整答案:

>你试过调查Window>偏好>验证?

我不知道触摸什么来删除这些错误和警告.

停用XML验证器应该可以做到这一点,但我想这是不可接受的,因为我们希望这个验证器运行.

也许有人知道如何编写将删除错误的规则(XML Validator> Settings> Add rule).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读