View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004354 | JEDI VCL | 00 JVCL Components | public | 2008-03-06 02:58 | 2008-05-28 13:20 |
Reporter | martinalex | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.33 | ||||
Target Version | Fixed in Version | 3.34 | |||
Summary | 0004354: JvHTMLParser attributes never shown | ||||
Description | The JvHTMLParser does not show any attributes. E.g. when running the JVCL sample JvHtmlParserProj.exe with the sample file ‘sample.htm’ from \jvcl\examples\JvHTMLParser Attributes are never shown For the tag (Line 4 in the sample file) <Table Width="100%" Border=1 BgColor="#ffffcc"> the sample program shows the tag, on tab 4 ‘tags’ <Table Width="100%" Border=1 BgColor="#ffffcc"> But no attributes. It should show Attributes: Width="100%" Border=1 BgColor="#ffffcc" The problem is that in JvHTMLParser.pas procedure TJvHTMLParser.AnalyseString the procedure ParseAttributes(AttributesList, Str3); is called with Str3, but Str3 is always empty. the empty list is passed to FOnKeyFoundEx() The fix is to use Str2 instead ParseAttributes(AttributesList, Str2); Perhaps Str3 could be used if not empty if Str3<>'' then ParseAttributes(AttributesList, Str3) else ParseAttributes(AttributesList, Str2); There was a similar issue in 2006, 0003489, which was closed, because no sample was given. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2008-03-06 02:58 | martinalex | New Issue | |
2008-05-28 13:20 | obones | Status | new => resolved |
2008-05-28 13:20 | obones | Fixed in Version | => Daily / SVN |
2008-05-28 13:20 | obones | Resolution | open => fixed |
2008-05-28 13:20 | obones | Assigned To | => obones |
2008-05-28 13:20 | obones | Note Added: 0014310 |