Why is my XML file not rendered properly in Firefox?

firefox, xml

Solution

Finally found the solution for me. When Firebug is enabled it seems Firefox renders the XML file wrongly. When it is off, XML files are rendered properly.

Problem

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

Original source