微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Magento 1.6 XML错误

我安装了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).

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。