Last modified: 2014-03-02 02:01:58 UTC
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
http://en.wikipedia.org/wiki/NetFront http://www.zte.com.au/telstra/T96.htm
NOTE: the line with the <br/> tag in http://en.wikipedia.org/wiki/Squaring_the_circle now occurs at line number 703
Looks like NetFront is trying to parse HTML with a XML parser which isn't going to work. NetFront 3.5 was born in 2008 but still this behaviour is strange. At the Telstra site, I get: "This site is for Australia and New Zealand customers only. All other countries are blocked."
Hello Max Thank you for your time. I guess the hardware is not important - it's a "feature phone" running some kind of java engine. So wikimedia does not use XML, and this might be an issue for the NetFront developers? Thanks again John Mills
Update The phone will load "wikipedia.org" and says its Address is "http://www.wikipedia.org" for m.wikipdeia.org the phone fails with the SAX error, saying the URL is http://en.m.wikipedia.org/wiki/Main_Page Opera Mini 7.1 will load all the wikipedia pages fine, so that is my workaround. If that satisfies your criteris I am happy for you to close the bug. But I'm happy to run a few tests also. John Mills
This seems no longer to be happening. I don't know whether it was the changes I tried in my mobile settings (Netfront Settings and Google "format for mobile"). But I did notice this difference between two tests of the mobile and plain versions of wikipedia.org: mobile: "wgULSAcceptLanguageList":[] plain: "wgULSAcceptLanguageList":["en-us"] Thanks for your help. John Mills