Page 1 of 1

CumulusRealtime error in my new Asus EeePC

Posted: Thu 10 Jun 2010 6:27 pm
by meteotortosa
Hi my friends,
i just buy a new Asus EeePC and if i try to get http://www.meteotortosa.cat/cumulus (Cumulus Realtime folder) I only get "Loading data..."

In all my others computer, it works fine. What can I do?

Thanks,
Lluís

P.D.: I try with Google Chrome and IE 8

Re: CumulusRealtime error in my new Asus EeePC

Posted: Thu 10 Jun 2010 6:46 pm
by steve
It's not specific to your EeePC. You have 8-bit characters in your XML; you probably haven't saved the file as UTF-8. If you use the error console in Firefox, it shows you the error:

Error: Unhandled Error in Silverlight 2 Application Invalid character in the given encoding. Line 6, position 14. at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.FinishPartialValue()
at System.Xml.XmlTextReaderImpl.get_Value()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream)
at CumulusRealtime.Page.wc_OpenReadCompleted(Object sender, OpenReadCompletedEventArgs e)
at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e)
at System.Net.WebClient.OpenReadOperationCompleted(Object arg)
Source File: http://www.meteotortosa.cat/cumulus/Cum ... ltime.html
Line: 0

Displaying the XML file in Firefox gives:

Code: Select all

XML Parsing Error: not well-formed
Location: http://www.meteotortosa.cat/cumulus/CumulusRealtime.xml
Line Number 6, Column 14:	<gustlabel>R�fega</gustlabel>
                    --------------------^

Re: CumulusRealtime error in my new Asus EeePC

Posted: Thu 10 Jun 2010 7:01 pm
by meteotortosa
A lot of thanks Steve !!!
:clap: