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

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

                              Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                              Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?