#497 HTML comment parse problem

Bug
closed-fixed
SciTE (626)
2
2013-06-12
2006-11-03
RickDog
No

SciTE
Version 1.71, Aug 20 2006 20:17:16
WinXP SP2

The following comment is not parsed correctly, doesn't
understand namespaces:

<html>
<head>
<title>HTML Comment Parsing Bug</title>
</head>
<body>
<!-->
&nbsp;
<?XML:NAMESPACE
PREFIX=RPT /><RPT:CURRENTSECTION>1</RPT:CURRENTSECTION>
&nbsp;of
<RPT:TOTALSECTIONCOUNT>1</RPT:TOTALSECTIONCOUNT>
&nbsp;
<-->
</body>

Discussion

  • Philippe Lhoste

    Philippe Lhoste - 2006-11-07

    Logged In: YES
    user_id=2556

    Problematic code is at line 684 of LexHTML.cxx: when finding
    <? we might enter the SCE_H_XMLSTART state unless we are in
    some states, mostly script comments. But it doesn't test
    against the SCE_H_COMMENT state...

     
  • Neil Hodgson

    Neil Hodgson - 2006-11-08
    • priority: 5 --> 2
    • assigned_to: nobody --> nyamatongwe
    • status: open --> open-accepted
     
  • Neil Hodgson

    Neil Hodgson - 2006-11-08

    Logged In: YES
    user_id=12579

    I won't be working on this myself but will accept a patch.

     
  • Neil Hodgson

    Neil Hodgson - 2013-06-12

    Fix included with [#1447].

     

    Related

    Bugs: #1447

  • Neil Hodgson

    Neil Hodgson - 2013-06-12
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks