rapidxml/ptree parser does not ignore empty TextSymbolizers #2253

Closed
springmeyer opened this Issue May 23, 2014 · 0 comments

1 participant

@springmeyer
Mapnik member

This is properly ignored:

<TextSymbolizer face-name="DejaVu Sans Book"></TextSymbolizer>

But not:

<TextSymbolizer face-name="DejaVu Sans Book"><![CDATA[]]></TextSymbolizer>

Leading to an expression parsing error:

Failed to parse expression: "" in style 'labels' in TextSymbolizer of 'tests/data/good_maps/empty_text_symbolizer.xml'
@springmeyer springmeyer added this to the Mapnik 2.3.0 milestone May 23, 2014
@springmeyer springmeyer added the xml label May 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment