Skip Navigation Links » Forums » Jiffycms HTML Editor V1.x » General-Questions » Re-htmlfileUnknown-runtime
  • List of posts 
    htmlfile:Unknown runtime error
    htmlfile:Unknown runtime error
    Not top poster.
    Joined on 03 Feb 2010
    Total posts: 6
    Reply

    Hi,

    If I go to html edit view and type in something the editor doesn't like (for instance </br> instead of </br >Wink2 then switch back to design view, visual studio gives this error: "htmlfile: Unknown runtime error".


    Re: htmlfile:Unknown runtime error
    Forum moderator
    Not top poster.
    Joined on 06 Jan 2009
    Total posts: 210
    Reply

    Hi, are you able to repo this on the online samples and let me know how you did it. I tried your sample closing br element and I get expected behavior, that is either it's corrected or removed all together since it becomes a closing tag without a matching start element and also an element that is not specified in the default xhtml schema.

    Thanks,




    Alessandro Zifiglio
    Jiffycms.net
    We are now on twitter! Follow us for the latest.
    Re: htmlfile:Unknown runtime error
    Not top poster.
    Joined on 03 Feb 2010
    Total posts: 6
    Reply

    No.  It doesn't happen on the online demo. But it does happen for me every time.  It stops working here: "a._warningsLog.innerHTML=e"

    e = the message that is supposed to show in the error log (i.e. "### Error:No matching start tag for '</br>'   
    Referenced on line 4, position 8 of internal entity '#document'")

    If I click "ignor" on the error, the popup that asks me if I want to view the error log comes up.  If I click on view error log, it is blank.

    I am using the editor in a project that uses a master page and the editior is inside the edit template of a listview.  It is declared like this:

    < cc1 : Editor ID ="Editor2" runat ="server" PostbackAllFormData ="true" ShowHtmlMarkupErrorLog >

    </ cc1 : Editor >

    I am using version 2.0.1.1