Opened 17 years ago

Closed 17 years ago

#1772 closed defect (fixed)

KML driver rev20, <description> tag content fools parser

Reported by: darkblueB Owned by: Didge
Priority: normal Milestone: 1.5.0
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: kml
Cc: warmerdam, Mateusz Łoskot

Description

in the KML spec, the content of a <description> tag can be a subset of HTML, using things like <br/>..

When parsing, the KML driver does not understand that it is within a <description> tag, tries to understand the markup as KML tags, and rejects the KML as invalid.

KML 2.1 only requires CDATA blocks for hyperlinks or images in the <description> content.

Change History (2)

comment:1 by warmerdam, 17 years ago

Cc: warmerdam Mateusz Łoskot added
Milestone: 1.5.0
Owner: changed from warmerdam to Didge
Version: unspecifiedsvn-trunk

Jens - over to you.

comment:2 by Didge, 17 years ago

Resolution: fixed
Status: newclosed

I added support for descriptions like that. But tags like <br/> are changed to <br></br>.

Note: See TracTickets for help on using tickets.