Re: Special accented characters in Cute Chat's Portuguese XML language file

  •  04-05-2007, 3:55 PM

    Re: Special accented characters in Cute Chat's Portuguese XML language file

    Ok. Thanks!
     
    I tried putting some HTML code for accented characters in the XML file and got this error message when I entered the chat room:
     
     

    Server Error in '/chat' Application.

    Reference to undeclared entity 'ccedil'. Line 216, position 38.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Xml.XmlException: Reference to undeclared entity 'ccedil'. Line 216, position 38.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [XmlException: Reference to undeclared entity 'ccedil'. Line 216, position 38.]
                System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
                System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver, Int32 entityStartLinePos) +447
                System.Xml.XmlTextReaderImpl.ResolveEntity() +210
                System.Xml.XmlLoader.LoadEntityReferenceNode(Boolean direct) +106
                System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +308
                System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +50
                System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +162
                System.Xml.XmlDocument.Load(XmlReader reader) +96
                System.Xml.XmlDocument.Load(String filename) +157
                CuteSoft.Chat.ChatDataManager.GetStrings(String culture) +443
                CuteSoft.Chat.ChatApiImpl.DoGetStrings(String culture) +136
                CuteSoft.Chat.ChatWebUtility.GetStrings(String culture) +175
                CuteSoft.Chat.Impl.ResourceContext.LoadResources(CultureInfo ci) +28
                CuteSoft.Chat.UI.ChatPageBase.Render(HtmlTextWriter writer) +42
                System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +2068006
                System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
                System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896
                
View Complete Thread