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).

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念