Magento 2.2.1 XML Validation issueXML attribute “after” throwing error after upgrade to Magento 2.2After Update to 2.2.1 'href' is not allowedIssue with Customer EAV in Magento 2.2.1Magento 2.2.1: Upgrade from 2.1.6Magento 2.2.1 composer upgrade issue amazon payMagento 2.2.1 currency switcher issueMagento 2 DOM validation exception when in developer modeMagento after upgrading to 2.2 issue coming while editing productMagento 2 Error : what is this error?Element 'block', attribute 'remove': The attribute 'remove' is not allowed. Line: 745

Does trying to charm an uncharmable creature cost a spell slot?

Should I use the words "pyromancy" and "necromancy" even if they don't mean what people think they do?

Does the Reduce option from the Enlarge/Reduce spell cause a critical hit to do 2d4 less damage?

Are strlen optimizations really needed in glibc?

Book featuring a child learning from a crowdsourced AI book

Toroidal Heyacrazy: Rainstorm

Why is there not a willingness from the world to step in between Pakistan and India?

Force SQL Server to use fragmented indexes?

Fantasy Macro Economics: What would Merfolk Trade?

Videos of surgery

Many many thanks

Drawing probabilities on a simplex in TikZ

A first "Hangman" game in Python

Could the UK amend the European Withdrawal Act and revoke the Article 50 invocation?

Why did Lucius make a deal out of Buckbeak hurting Draco but not about Draco being turned into a ferret?

Is a memoized pure function itself considered pure?

Shift lens vs move body?

Is a Centaur PC considered an animal when calculating carrying capacity for vehicles?

Was a star-crossed lover

Are (c#) dictionaries an Anti Pattern?

Dotted background on a flowchart

Did anybody find out it was Anakin who blew up the command center?

Find most "academic" implementation of doubly linked list

Is the Amazon rainforest the "world's lungs"?



Magento 2.2.1 XML Validation issue


XML attribute “after” throwing error after upgrade to Magento 2.2After Update to 2.2.1 'href' is not allowedIssue with Customer EAV in Magento 2.2.1Magento 2.2.1: Upgrade from 2.1.6Magento 2.2.1 composer upgrade issue amazon payMagento 2.2.1 currency switcher issueMagento 2 DOM validation exception when in developer modeMagento after upgrading to 2.2 issue coming while editing productMagento 2 Error : what is this error?Element 'block', attribute 'remove': The attribute 'remove' is not allowed. Line: 745






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I have upgraded Magento version from 2.1.4 to 2.2.1. Upgrade was successfull but once after Upgrade when i open homepage it's showing following error,



1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'body': Character content other than whitespace is not allowed because the content type is 'element-only'.
Line: 408


Can anyone please suggest how to figure out this issue.










share|improve this question






























    3















    I have upgraded Magento version from 2.1.4 to 2.2.1. Upgrade was successfull but once after Upgrade when i open homepage it's showing following error,



    1 exception(s):
    Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'body': Character content other than whitespace is not allowed because the content type is 'element-only'.
    Line: 408


    Can anyone please suggest how to figure out this issue.










    share|improve this question


























      3












      3








      3


      2






      I have upgraded Magento version from 2.1.4 to 2.2.1. Upgrade was successfull but once after Upgrade when i open homepage it's showing following error,



      1 exception(s):
      Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'body': Character content other than whitespace is not allowed because the content type is 'element-only'.
      Line: 408


      Can anyone please suggest how to figure out this issue.










      share|improve this question














      I have upgraded Magento version from 2.1.4 to 2.2.1. Upgrade was successfull but once after Upgrade when i open homepage it's showing following error,



      1 exception(s):
      Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'body': Character content other than whitespace is not allowed because the content type is 'element-only'.
      Line: 408


      Can anyone please suggest how to figure out this issue.







      xml upgrade magento-2.2.1






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 16 '17 at 9:26







      user2520






























          2 Answers
          2






          active

          oldest

          votes


















          2















          Finally, Issue has been fixed. It was custom module having the bug in xml layout (Static text was there).



          checkout cart index instead of <!-- checkout cart index-->






          share|improve this answer
































            0















            This is how I fixed this error: I removed one by one xml files, till I found in which one is the problem, and I found it in one of the extensions. Hope this is helpful for you :)






            share|improve this answer



























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "479"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f201800%2fmagento-2-2-1-xml-validation-issue%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown
























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2















              Finally, Issue has been fixed. It was custom module having the bug in xml layout (Static text was there).



              checkout cart index instead of <!-- checkout cart index-->






              share|improve this answer





























                2















                Finally, Issue has been fixed. It was custom module having the bug in xml layout (Static text was there).



                checkout cart index instead of <!-- checkout cart index-->






                share|improve this answer



























                  2














                  2










                  2









                  Finally, Issue has been fixed. It was custom module having the bug in xml layout (Static text was there).



                  checkout cart index instead of <!-- checkout cart index-->






                  share|improve this answer













                  Finally, Issue has been fixed. It was custom module having the bug in xml layout (Static text was there).



                  checkout cart index instead of <!-- checkout cart index-->







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 30 '17 at 4:11







                  user2520

































                      0















                      This is how I fixed this error: I removed one by one xml files, till I found in which one is the problem, and I found it in one of the extensions. Hope this is helpful for you :)






                      share|improve this answer





























                        0















                        This is how I fixed this error: I removed one by one xml files, till I found in which one is the problem, and I found it in one of the extensions. Hope this is helpful for you :)






                        share|improve this answer



























                          0














                          0










                          0









                          This is how I fixed this error: I removed one by one xml files, till I found in which one is the problem, and I found it in one of the extensions. Hope this is helpful for you :)






                          share|improve this answer













                          This is how I fixed this error: I removed one by one xml files, till I found in which one is the problem, and I found it in one of the extensions. Hope this is helpful for you :)







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Aug 15 at 13:23









                          SaraSara

                          155 bronze badges




                          155 bronze badges






























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f201800%2fmagento-2-2-1-xml-validation-issue%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                              Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                              Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form