Opened 17 years ago
Closed 17 years ago
#1787 closed defect (fixed)
kml driver rev22, description tag can still fail with embedded HTML tags
Reported by: | darkblueB | Owned by: | Didge |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.0 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | kml |
Cc: | Mateusz Łoskot, warmerdam |
Description
in some parsing contexts, the parser can be derailed by legal HTML tags inside of a kml <description> tag.
test file enclosed. To verify that the test file is valid XML, run an Expat engine example app, like outline.c and observe there is no error.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | soc_min.kml added |
---|
comment:1 by , 17 years ago
Cc: | added |
---|---|
Milestone: | → 1.5.0 |
Owner: | changed from | to
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The code calculated the depth wrong, which leaded to a negativ depth. And therefor the code for printing the structure ended in a (nearly) endless loop. I fixed it and will commit it soon. Thanx for your tests!