You are not logged in.
Pages: 1
I've been getting XML errors when visiting a certain site, and through the course of events, I'm fairly sure my setup is the problem. While trying to visit this blender video tutorial site, in firefox I get:
XML Parsing Error: not well-formed
Location: http://www.screencast.com/users/Neal/folders/Flash/media/1eba4927-e9e7-405d-9353-8eda7b0ba067
Line Number 87, Column 44:
if ( boundsWidth > originalWidth && boundsHeight > originalHeight ||
-------------------------------------------^
and in Chrome I get:
This page contains the following errors:
error on line 87 at column 44: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.
and Epiphany works fine. Also, the site loads perfectly on other machines. Does anyone else on Arch have this problem? Is there an xml parser in the wrong?
Offline
Is your system fully up to date? I don't see any problems with Firefox or vimprobable2 (webkit).
Offline
What version of firefox do you use. When I use to use ubuntu, I would always have a unstable firefox release and get that, but it works fine in my browser
Last edited by cesura (2010-02-04 04:12:46)
Offline
I get the same error here with Firefox. The source seems to be malformatted.
Even Python says so:
#!/usr/bin/env python
from urllib import urlopen
from xml.dom.minidom import parseString
h = urlopen('http://www.screencast.com/users/Neal/folders/Flash/media/1eba4927-e9e7-405d-9353-8eda7b0ba067')
txt = h.read()
h.close
try:
parseString(txt)
except:
print "lolwut?"
else:
print "looks good"
Which OS and browser are you using on the other machines that render it "correctly"? Invalid XML is invalid... there's nothing OS specific about it. Either the server is using the user agent to alter the content (in which case the admins should be smacked with a NYC phonebook), or the other OS/browser is ignoring malformatted XML.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I get the same error here with Firefox. The source seems to be malformatted.
Even Python says so:
#!/usr/bin/env python from urllib import urlopen from xml.dom.minidom import parseString h = urlopen('http://www.screencast.com/users/Neal/folders/Flash/media/1eba4927-e9e7-405d-9353-8eda7b0ba067') txt = h.read() h.close try: parseString(txt) except: print "lolwut?" else: print "looks good"
Which OS and browser are you using on the other machines that render it "correctly"? Invalid XML is invalid... there's nothing OS specific about it. Either the server is using the user agent to alter the content (in which case the admins should be smacked with a NYC phonebook), or the other OS/browser is ignoring malformatted XML.
It's going to be how the browser interprets it. If it works fine with mine, then it's obviously not a problem in the code, rather, a problem with the setup of the browser.
EDIT: Or my browser enjoys incorrect code. xD
Last edited by cesura (2010-02-04 04:26:38)
Offline
I don't see how XML could be invalid in both Firefox and Python by sheer coincidence. XML is very clearly specified and has been for a long time. I doubt that errors would suddenly appear now, and definitely not in completely unrelated parsers.
I want to see if we're getting the same source. Post the output of the following.
#!/bin/bash
wget -O test 'http://www.screencast.com/users/Neal/folders/Flash/media/1eba4927-e9e7-405d-9353-8eda7b0ba067'
md5sum test
Output
fbe90c12f810064303373eab1e5c7098 test
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Offline
I fscking knew it. Someone hand me the phone book.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Offline
Xyne wrote:I fscking knew it. Someone hand me the phone book.
haha
Haha. Good call, Xyne:
c5a12b3a8ed20ace2bbd6e4d71f16056 test
Furthermore:
4334d6b43a6c641cdd770a0145712f16 test
And looking at the second file, when downloaded, it actually properly loads. So what is going on here?
Offline
Bah, the content seems to be dynamic so the md5sum is meaningless:
c55e0d11328fc9753c583a51326680bb test
Here's what I see: http://pastebin.com/m9ecb049
Someone who can see the page can save that and check if their browser renders it.
Last edited by Xyne (2010-02-04 04:53:29)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Yeah, I was noticing that, that it was dynamic. Also, I noticed that the first download actually worked fine, but also its missing css, etc. Maybe the issue is in the css or related/linked javascript files? I'll post a screenshot when possible.
http://i46.tinypic.com/zxw77k.png
Last edited by majiq (2010-02-04 05:00:20)
Offline
Yeah, I was noticing that, that it was dynamic. Also, I noticed that the first download actually worked fine, but also its missing css, etc. Maybe the issue is in the css or related/linked javascript files? I'll post a screenshot when possible.
I doubt it. CSS just puts arranges things in an order to display. If it doesn't exist, it ignores it. It could be javascript, because of it being client-side, it might render the output differently in each browser.
BTW, just for fun:
d14aaa42e676a996506459160a0e8225
Last edited by cesura (2010-02-04 05:02:22)
Offline
I fscking knew it. Someone hand me the phone book.
I hope I had nothing to do with this.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Interesting note: If I switch my default user agent to IE6, it works. Other interesting note: The only stuff in the code about IE6 has to do with the css style. This makes me think that it's the way the server reacts to the user agent.
My User Agent according to http://whatsmyuseragent.com/:HTTP_USER_AGENT:Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100121 Namoroka/3.6
The User Agent that worked (thanks to the User Agent Switcher): HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
What is the string of someone for whom it properly renders?
Offline
What is the string of someone for whom it properly renders?
Lynx/2.8.7dev.9 libwww-FM/2.14 SSL-MM/1.4.1
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
majiq wrote:What is the string of someone for whom it properly renders?
Lynx/2.8.7dev.9 libwww-FM/2.14 SSL-MM/1.4.1
....lynx? Really? Lynx? I should have seen that coming.
For sake of comparison, could someone who's using the latest version of firefox and is able to load the site correctly please post their useragent?
Offline
fsckd wrote:majiq wrote:What is the string of someone for whom it properly renders?
Lynx/2.8.7dev.9 libwww-FM/2.14 SSL-MM/1.4.1
....lynx? Really? Lynx? I should have seen that coming.
For sake of comparison, could someone who's using the latest version of firefox and is able to load the site correctly please post their useragent?
There you go:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100124 Arch Linux Firefox/3.6 (Swiftfox)
Offline
I had the similar problem with other sites. I've solved it by changing general.useragent.extra.firefox value from Namoroka/3.6 to Firefox/3.5 and everything works now as before
Last edited by svacko (2010-02-23 22:20:36)
Offline
I had the similar problem with other sites. I've solved it by changing general.useragent.extra.firefox value from Namoroka/3.6 to Firefox/3.5 and everything works now as before
thanks for your solution.
Offline
Pages: 1