Why XML file is not rendered properly in Firefox?

25,167

Solution 1

Finally found the solution.When firebug is on it seems firefox renders the XML file wrongly.When it is off, XML files are rendered properly.

Solution 2

for me, It turns out that some sort of Skype add-on was the problem. Great detective work. It's odd how that click-to-call extension creates such random issues...

just disable skype click-to-call add-on, after that Firefox showing row xml

Solution 3

In my case, XML page was displaying blank and when I View Page Source (option available when you right click on the page or by pressing Ctrl+U), the complete XML is there.

It was solved when I disabled Awesome Screenshot add-on.

I suggest that you try deactivating add-ons one-by-one!

Solution 4

Try disabling all Firefox extensions, then reload the XML and see if the XML is once again displayed as a tree. If so, re-enable them one by one until your xml loses its styling.

For me it was the the Adobe Acrobat 18.0.8 "Convert current web page to an Adobe PDF file" addon in Firefox Quantum 59.0.2 (64-bit).

Once disabled, refreshing the page made resulted in good looking XML tree. Enabling that addon would revert the XML to plain text without tags immediately without a refresh.

Solution 5

For me, it comes from AdBlocker Ultimate (in version 2.26 at least)

But apparently there's a long list of plugins that modify that including (in some versions at least): - Skype call on click - Avira - Kaspersky

And yes the problem occurs with content served with Content-Type: application/xml

Share:
25,167
Vivek S
Author by

Vivek S

School:CEOA matriculation Higher Secondary School,Madurai. College:PSG College of Technology,Coimbatore. Company:Global Analytics,Chennai. Interested in Linux,Apache,Mysql,Python,Django,Jquery,Javascript,Facebook-apps,Chrome-extensions

Updated on July 09, 2022

Comments

  • Vivek S
    Vivek S almost 2 years

    I am using Firefox to read XML files, but it is not rendering the XML file properly. What could be the problem? I’m posting the XML sample below:

     <?xml version="1.0" encoding="utf-8"?><ExtPostTransaction><TransactionInfo><UserID>us</UserID><Password>pwd</Password><ServiceCode>1010</ServiceCode><TransactionID>T20120518091833</TransactionID></TransactionInfo></ExtPostTransaction>
    

    My Firefox shows it as:

    uspwd1010T20120518091833
    

    I am expecting this:

    <ExtPostTransaction>
      <TransactionInfo>
        <UserID>us</UserID>
        <Password>pwd</Password>
        <ServiceCode>1010</ServiceCode>
        <TransactionID>T20120518091833</TransactionID>
      </TransactionInfo>
    </ExtPostTransaction>