Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006527 [JEDI VCL] 00 JVCL Components major always 2016-09-27 10:51 2016-09-27 14:20
Reporter tas View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version Daily / GIT
Summary 0006527: TJvHTMLParser
Description Doesn't parse correct.

This is html example text:

<body>Paragraph</body>


The problem occurs when tags starting with the same symbol and one of them have length 1 (for example tag )
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0021400)
tas (reporter)
2016-09-27 10:56

Example html text:

<'body'><'b'>Paragraph<'/b'><'/body'>


The problem occurs when tags starting with the same symbol and one of them have length 1 (for example tag 'b')
(0021401)
tas (reporter)
2016-09-27 14:20

fixed:

change
  J := StrFind(StartTag1, Str, J);

to

  if trim(StartTag2) = '' then
    J := StrFind(StartTag1, Str, J)
  else
  begin
    J1 := J;
    J := StrFind(StartTag1 + ' ', Str, J);
    if J = 0 then
    begin
     J := J1;
     J := StrFind(StartTag1 + '>', Str, J);
    end;
  end;

- Issue History
Date Modified Username Field Change
2016-09-27 10:51 tas New Issue
2016-09-27 10:53 tas Issue Monitored: tas
2016-09-27 10:53 tas Issue End Monitor: tas
2016-09-27 10:56 tas Note Added: 0021400
2016-09-27 14:20 tas Note Added: 0021401


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker