Posted 19 years ago by painetraine
Avatar
I am getting this error occassionlly and was wondering why it might be occurring.

Thanks,

Top Level Exception
Type: System.ApplicationException
Message: The MarkupLabel text was not in XML format:

An error occurred while parsing EntityName. Line 1, position 45.
Source: ActiproSoftware.WinUICore
Stack Trace: at ActiproSoftware.MarkupLabel.MarkupLabel._1()
at ActiproSoftware.MarkupLabel.MarkupLabel.set_Text(String value)
at _10._1(String )
at _9._7()
at _9._1(Object , EventArgs )
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr
idEvent, IntPtr dwTime)

Comments (3)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Most likely there is an ampersand (&) character in your XML, which in XML starts an entity. You should HTML escape your text content that you set to the info tip to be sure it's ok. Then put your formatting tags around the escaped text.


Actipro Software Support

Posted 19 years ago by painetraine
Avatar
So are you saying this is coming from some bad data in the tooltip (infotip) text? I was looking in the XML language definition file but it sounds like I'm looking in the wrong place.

Thanks
Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yep... the MarkupLabel control is used in the popups. It might be a member list item description tip since there seems to be a timer involved in your stack trace.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.