gpt4 book ai didi

xml - Magento 1.6 XML 错误

转载 作者:数据小太阳 更新时间:2023-10-29 01:59:30 24 4
gpt4 key购买 nike

我安装了 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 > Preferences > Validation

我不知道要删除这些错误和警告要具体触摸什么。

停用 XML 验证器应该可以解决问题,但我想这是 Not Acceptable ,因为我们希望该验证器运行。

也许有人知道如何编写规则(XML Validator > Settings > Add rule)来消除错误。

关于xml - Magento 1.6 XML 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7829023/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com