2011-10-19 12 views
5

Ho installato Magento. Quando lo apro con eclipse o Zend Studio, mostra una serie di errori relativi all'XML. Non sono abbastanza sicuro del motivo per cui sta accadendo. Qualcuno sa come risolvere questo problema?Errori XML Magento 1.6

I seguenti sono i primi errori. Ma ci sono circa 212 errori e 1225 avvisi.

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

Grazie,

+0

Avere un problema simile con CE 1.9.1 – tzvi

risposta

0

Spiacenti, non è la risposta completa al vostro problema:

  • Hai provato esaminando Finestra> Preferenze> Convalida?

Non so cosa toccare in modo esatto per rimuovere questi errori e avvisi.

La disattivazione del validatore XML dovrebbe fare il trucco, ma suppongo che non sia accettabile in quanto vogliamo che questo validatore funzioni.

Forse qualcuno sa come scrivere una regola (XML Validator> Impostazioni> Aggiungi regola) che rimuoverà gli errori.