Menu

#794 sidekick: should reparse when the edit mode changes.

closed-fixed
nobody
None
5
2007-03-18
2007-01-24
No

XML 2.0.5 ErrorList 1.4.2 jEdit 4.3pre8

The XML plugin will display the error "Content not allowed in prolog" for files that are not XML files. The error is not cleared when switching modes.

To replicate, open a new buffer and type some text. Switch the buffer mode to Java to get the error.

Discussion

  • Alan Ezust

    Alan Ezust - 2007-02-20
    • summary: XML Plugin "Content not allowed in prolog" error --> sidekick: should reparse when the edit mode changes.
     
  • Alan Ezust

    Alan Ezust - 2007-02-20

    Logged In: YES
    user_id=935841
    Originator: NO

    The error is only cleared when you parse again. it is not cleared when you switch the modes.
    Perhaps if SideKick initiated a reparse when you switch modes, this would solve your problem?
    in any case, that's a sidekick feature request, not an XML plugin bug.

     
  • Daniel Johnson

    Daniel Johnson - 2007-02-21

    Logged In: YES
    user_id=1244815
    Originator: YES

    The XML plugin lists errors for files that are not XML. Thats not a bug?

     
  • Alan Ezust

    Alan Ezust - 2007-03-18
    • status: open --> closed-fixed
     
  • Alan Ezust

    Alan Ezust - 2007-03-18

    Logged In: YES
    user_id=935841
    Originator: NO

    XML plugin parses whatever you tell it to, and if you change the mode to HTML, it shouldn't parse the buffer in the first place, but instead the HTML parser should be the one requested by sidekick.

    Fixed in SideKick plugin svn rev # 9162.

     

Log in to post a comment.