2

Closed

XmlException - Reference to undeclared entity 'rsquo'. Line 5, position 14.

description

Reference to undeclared entity 'rsquo'. Line 5, position 14.

Class: System.Xml.XmlException

File: MC.Phone.Ads.Stregy.RemoteAdProviderStregy.ParseXml(String xml)

Stacktrace:

0at System.Xml.XmlTextReaderImpl.Throw(Exception e)
1 at System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver, Int32 entityStartLinePos)
2 at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
3 at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
4 at System.Xml.XmlTextReaderImpl.FinishPartialValue()
5 at System.Xml.XmlTextReaderImpl.get_Value()
6 at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
7 at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
8 at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
9 at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
10 at System.Xml.Linq.XDocument.Parse(String text)
11 at MC.Phone.Ads.Strategy.RemoteAdProviderStrategy.ParseXml(String xml)
12 at MC.Phone.Ads.Strategy.RemoteAdProviderStrategy.<>c__DisplayClass21.b__12(String xmlString)
13 at Microsoft.Phone.Reactive.AnonymousObserver1.Next(T value)
14 at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
15 at Microsoft.Phone.Reactive.AnonymousObservable1.AutoDetachObserver.Next(T value)
16 at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
17 at Microsoft.Phone.Reactive.Observable.<>c__DisplayClass2b62.<>c__DisplayClass2b8.
18 at Microsoft.Phone.Reactive.AnonymousObserver
1.Next(T value)
19 at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(T value)
20 at Microsoft.Phone.Reactive.AnonymousObservable
1.AutoDetachObserver.Next(T value)
21 at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(T value)
22 at System.Action
1.Invoke(T obj)
23 at Microsoft.Phone.Reactive.AnonymousObserver1.Next(T value)
24 at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
25 at Microsoft.Phone.Reactive.AnonymousObservable1.AutoDetachObserver.Next(T value)
26 at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
27 at System.Action1.Invoke(T obj)
28 at Microsoft.Phone.Reactive.AnonymousObserver
1.Next(T value)
29 at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(T value)
30 at Microsoft.Phone.Reactive.AnonymousObservable
1.AutoDetachObserver.Next(T value)
31 at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(T value)
32 at System.Action
1.Invoke(T obj)
33 at Microsoft.Phone.Reactive.AnonymousObserver1.Next(T value)
34 at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
35 at Microsoft.Phone.Reactive.AnonymousObservable1.AutoDetachObserver.Next(T value)
36 at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
37 at Microsoft.Phone.Reactive.Observable.<>c__DisplayClass2b62.<>c__DisplayClass2b8.
38 at Microsoft.Phone.Reactive.AnonymousObserver
1.Next(T value)
39 at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(T value)
40 at Microsoft.Phone.Reactive.AnonymousObservable
1.AutoDetachObserver.Next(T value)
41 at Microsoft.Phone.Reactive.AbstractObserver1.OnNext(T value)
42 at Microsoft.Phone.Reactive.Observable.<>c__DisplayClass2b6
2.<>c__DisplayClass2b8.
43 at Microsoft.Phone.Reactive.AnonymousObserver1.Next(T value)
44 at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
45 at MC.Phone.Ads.Rx.ObservableResource.<>c__DisplayClassa.<>c__DisplayClassc.b__7(IAsyncResult iar)
46 at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClass1d.b__1b(Object state2)
Closed Apr 3, 2013 at 6:19 PM by mkamonster
Related to invalid Xml, not the control.

comments

mkamonster wrote Apr 3, 2013 at 6:19 PM

Any entity declarations need to be valid xml, not just valid html.