Author: johnmi
Description:
Visiting Wikipedia pages (most) on ZTE T96 mobile phone yields error "Syntax
error: http://xml.org/sax/exception/xml/vc-element" and the page does not
load.
Steps to reproduce:
On ZTE T96 mobile phone (mine was supplied by Telstra Australia) run the
default Web browser (NetFront V3.5).
In the URL field enter test2.wikipedia.org
Actual results:
An error message is displayed on the phone, with only an "OK" legend above
the phone's main button, and pressing the button returns to the URL entry
screen.
Error message:
Syntax error: http://xml.org/sax/exception/xml/vc-element
Address=http://test2.m.wikipedia.org/wiki/Main_Page
Line=15 Column=32
Expected Results:
The page should load.
Other information that might be useful:
According to Firefox 27.0 Page Source viewer on my desktop computer, Line 15
is as follows:
<link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom" />
Other information that might be useful:
On a previous test, (9/23/2013) line 15 was:
<meta name="ResourceLoaderDynamicStyles" content="" />
The error is displayed in an error alert, not in the NetFront browser.
www.wikipedia.org succeeds using the phone's URL method, but most
wikipedia content pages fail with the same SAX error.
Although I used the test2 server for the "Steps to reproduce", I first
noticed the error on the main server, for example:
http://en.wikipedia.org/wiki/Squaring_the_circle
I do not get this error on any Web sites other than Wikipedia content
pages.
I found a page suggesting that a <br/> tag outside of <p> and </p> tags
could cause this. There is one such tag in the page source of
http://en.wikipedia.org/wiki/Squaring_the_circle
This is line 693:
- snip --------------------------
additional terms may apply. By using this site, you agree to the <a href="wikimediafoundation.org/wiki/Terms_of_Use">Terms of Use</a> and <a href="wikimediafoundation.org/wiki/Privacy_policy">Privacy Policy.</a> <br/>
- end snip ---------------------------
This line is outside of any <p> </p> tags, and it contains a <br/> tag.
Hope this helps
John Mills
Version: wmf-deployment
Severity: normal