Closed Bug 776347 Opened 12 years ago Closed 12 years ago

XML error on Gmail with emails in inbox with sender names in right-to-left languages

Categories

(Firefox for Android Graveyard :: General, defect)

Other
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 751861

People

(Reporter: smontagu, Unassigned)

References

()

Details

Opening gmail.com in Fennec nightly I get

XML Parsing Error: not well-formed
Location: https://mail.google.com/mail...........
Line Number 47, Column 11:

 <span dir=rtl><b>דוד משה</b></span>

where "דוד משה" represents the name, in Hebrew, of someone from who I received an email.

dir=rtl without quotes is indeed malformed XML, but there is no problem with the same GMail inbox on desktop firefox.
I also tried entering the URI of the page with the error manually into desktop Firefox (which was logged into the same GMail account). I can't tell if GMail served exactly the same content and headers as it did for mobile, but the inbox displayed without errors.

On the desktop there is an HTTP header

Content-Type:text/html; charset=UTF-8

but the page itself says

<html xmlns="http://www.w3.org/1999/xhtml">
and
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>

(I don't know how to view the HTTP headers in Fennec)

The page is still malformed XML, with dir=rtl without quotes, so clearly desktop Firefox is not using the XML parser to parse it for whatever reason, but Fennec is.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.