Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Firefox XML Parsing Error


Go to End


6 Posts   2578 Views

Avatar
animasola

Community Member, 121 Posts

29 May 2008 at 9:54pm

Edited: 29/05/2008 9:55pm

I need some help. Whenever I view some pages in Firefox, I receive this error message:

But when I use IE or Opera, it is fine. Is anyone familiar with this error?

Avatar
Willr

Forum Moderator, 5523 Posts

29 May 2008 at 10:02pm

You are sending your page as true XHTML so firefox is parsing it and coming up with the error. Easiest way is to remove the xml declaration at the top of themes/yourtheme/Page.ss or work out why '23c5' is an error in the parser!

Avatar
animasola

Community Member, 121 Posts

29 May 2008 at 10:21pm

Thanks!

Avatar
zyko

Community Member, 66 Posts

29 May 2008 at 10:34pm

Hi Willr,

you've got the same problem on one of your sites:

http://www.andyofniall.net/party-at-rose-cottage/

anyone run's into this, becouse this setting is default in ss themes ...

Avatar
Willr

Forum Moderator, 5523 Posts

30 May 2008 at 9:31am

for the next version I will update blackcandy to send it as normal html rather then proper xml since nobody really understands / uses it. For the time being you can just remove the top line of Page.ss - the <? xml bit above the doctype

Avatar
zyko

Community Member, 66 Posts

30 May 2008 at 7:41pm

i did that before, because of havin some troubles with safari and ie6.
utf-8 is default in xhtlm so there's no need to specify it.
instead specifiying sets ie6 into quirks mode with box problems.
and i had additionally some side-effects in safari with it...