Magento 2 invalid xml Element / attribute not allowed

I am damn sure that xml file is ok, and the syntax / content is definitely ok. but still having this problem.

Most possible reason is: delete that xml file and create that file again with desired contents. also be careful about name space declaration of xml file. 

Also make sure that xml tag and attribute names are in correct case. In Magento, XML are case sensitive. Some editors may make entire file to lower case letter.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s