Syntax error in web page loaded in messagepane <browser> raises an error, same url works in Fx

REOPENED
Unassigned

Status

Thunderbird
Message Reader UI
REOPENED
2 years ago
2 years ago

People

(Reporter: drghughes@gmail.com, Unassigned)

Tracking

Trunk
x86_64
Windows

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20160105164030

Steps to reproduce:

1.  Subscribe to the RSS feed http://www.theactuary.com/actuarial-news.xml
2.  Make sure that Thunderbird is set to display the feed as a web page (View - Feed Message Body As - Web Page)
3.  Select a topic to display it, e.g. Insurers and brokers outline ways to help vulnerable customers


Actual results:

Thunderbird produces an error:

XML Parsing Error: not well-formed
Location: http://www.theactuary.com/news/2016/01/insurers-and-brokers-outline-ways-to-help-vulnerable-customers/ 
Line Number 228, Column 70:
                    <a href="http://www.linkedin.com/groups?home=&gid=3751335" target="_blank" title="The actuary on LinkedIn"><img src="/EasySiteWeb/EasySite/StyleData/actuary_General/Images/icon-linkedin.png" alt="YouTube" class="social-icons" /></a>
---------------------------------------------------------------------^


Expected results:

The page should display as it does in Firefox, e.g. http://www.theactuary.com/news/2016/01/insurers-and-brokers-outline-ways-to-help-vulnerable-customers/ in both the preview and a separate tab.

I have tried to get the site owner to fix this error for over two years without success, so could the error checking please be made consistent with that in Firefox so that these pages display.
(Reporter)

Updated

2 years ago
OS: Unspecified → Windows
Hardware: Unspecified → x86_64

Comment 1

2 years ago
Unfortunately, you will have to continue to nag the publisher.  Point them to the validator: http://validator.w3.org/feed/

The error is actually from gecko, as the feed reader requests xml from it, per spec, and valid xml is not being provided.  Comparing it to the http url is not analogous at all.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
(Reporter)

Comment 2

2 years ago
Hi alta88!

Could you please reconsider this.  Here is the source code for the RSS feed article.  All it does is refer to the http URL - there is no separate code.

********

From - Mon, 11 Jan 2016 15:30:00 GMT
X-Mozilla-Status: 0041
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Received: by localhost; Tue, 12 Jan 2016 13:43:38 +1100
Date: Mon, 11 Jan 2016 15:30:00 GMT
Message-Id: <516811@localhost.localdomain>
From: News from The Actuary - all
MIME-Version: 1.0
Subject: Insurers and brokers outline ways to help vulnerable customers
Keywords: News,Page,Health care,GI,Top story
Content-Transfer-Encoding: 8bit
Content-Base: http://www.theactuary.com/news/2016/01/insurers-and-brokers-outline-ways-to-help-vulnerable-customers/
Content-Type: text/html; charset=UTF-8

<html>
  <head>
    <title>Insurers and brokers outline ways to help vulnerable customers</title>
    <base href="http://www.theactuary.com/news/2016/01/insurers-and-brokers-outline-ways-to-help-vulnerable-customers/">
  </head>
  <body id="msgFeedSummaryBody" selected="false">
    The Association of British Insurers (ABI) and the British Insurance Brokers' Association (BIBA) have published a joint Code of Good Practice for the industry to help potentially vulnerable motor and household customers at renewal.
  </body>
</html>

********


Further, if you open the page in Firefox and check the source view, on line 228 it highlights the same error with a red ampersand.  Despite that, Firefox is able to display the page.

Shouldn't Thunderbird do the same?

Thanks
Flags: needinfo?(alta88)

Comment 3

2 years ago
Ah, this isn't the feed url but rather a feed item's web page url (you were clear, it was a fast read).  It is odd, as all that's done is a webNavigation.loadURI() on the messagepane <browser>.  It could be due to appType mail on the docshell, or content policy, for why an Fx <browser> is more lenient (different code path), or maybe some flag.
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(alta88)
Resolution: INVALID → ---
Summary: Parsing error stops page in RSS feed displaying → Syntax error in web page loaded in messagepane <browser> raises an error, same url works in Fx
You need to log in before you can comment on or make changes to this bug.