57beta: How to View XML in Browser?

Discuss building things with or for the Mozilla Platform.
Locked
User avatar
MarkRH
Posts: 1357
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

57beta: How to View XML in Browser?

Post by MarkRH »

With 55.0.3 I can view XML contents directly in the browser, even in clean profile. With 57, it's either blank or a single line of numbers or something.

Site: http://census.daybreakgames.com/xml/get/eq2/

55.0.3:
Image

57:
Image

So far no luck finding an extension to help with it. It did find a JSON viewer http://census.daybreakgames.com/json/get/eq2/ but sometimes easier to read the XML. Anyway, I'm just trying to get my beta install as close to my normal one and I've found many extensions that replace the functionality of my Legacy ones. The XML thing was just a basic Firefox behavior. Hmmm.. Well, suppose I can use the Web Developer interface to view the code.
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: 57beta: How to View XML in Browser?

Post by Brummelchen »

its server error
from chromium:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
the tree is an internal chromium function. (as you noticed in v55)

no firefox fault.
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: 57beta: How to View XML in Browser?

Post by RobertJ »

.
Moving to builds since beta is not a release.

.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
morat
Posts: 6394
Joined: February 3rd, 2009, 6:29 pm

Re: 57beta: How to View XML in Browser?

Post by morat »

XML Pretty Print Online Tool
http://www.samltool.com/prettyprint.php
User avatar
MarkRH
Posts: 1357
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: 57beta: How to View XML in Browser?

Post by MarkRH »

Well, I filed a bug concerning it: https://bugzilla.mozilla.org/show_bug.cgi?id=1404266
morat
Posts: 6394
Joined: February 3rd, 2009, 6:29 pm

Re: 57beta: How to View XML in Browser?

Post by morat »

I just tested the XML file in Fx Portable Release 56.0 and Fx Portable Beta 57.0b3.

http://census.daybreakgames.com/xml/get/eq2/

Same result in both versions. The pages look normal like your image for Fx 55.0.3.
User avatar
MarkRH
Posts: 1357
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: 57beta: How to View XML in Browser?

Post by MarkRH »

OK, with a clean profile it looks normal. So, some setting or extension is causing it. Hmmm...

Now it's working with my normal profile. What gives? Very interesting.
User avatar
MarkRH
Posts: 1357
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: 57beta: How to View XML in Browser?

Post by MarkRH »

The Hover Zoom+ extension is causing it: https://addons.mozilla.org/en-US/firefo ... src=search

With Imagus enabled instead, it views the XML files normally. https://addons.mozilla.org/en-US/firefo ... us/?src=ss
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: 57beta: How to View XML in Browser?

Post by Brummelchen »

thank you for feedback. nevertheless chromium and also fireox 58 do not show a formatted xml content. so at least its still a server error.
User avatar
MarkRH
Posts: 1357
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: 57beta: How to View XML in Browser?

Post by MarkRH »

It's not a server error. Well, maybe with some specific ones. But the correct MIME type is being sent. Works in IE11 and Google Chrome. Works in 57beta as long as that one extension isn't enabled (for me). Anyway, it's been duplicated by others here https://bugzilla.mozilla.org/show_bug.cgi?id=1404266
isaacschemm
Posts: 270
Joined: January 20th, 2015, 12:29 pm

Re: 57beta: How to View XML in Browser?

Post by isaacschemm »

It's true that the server is not sending any style information. Firefox applies some on its own when that happens (which is most of the time.)
Locked