Ticket #110 (new enhancement)

Opened 5 months ago

Last modified 4 months ago

Improve XML parsing error-reporting

Reported by: lwu Owned by: artem
Priority: critical (top) Milestone:
Component: Core Library Version:
Severity: Enhancement Keywords:
Cc: Patch Needs Improvement:
Needs Docmentation: Has Patch?:
Design Decision Needed:

Description

Mapnik's XML parsing has minimal error-reporting facilities.

For example,

<TextSymbolizer name="name" face_name="DejaVu? Sans Book" size="9" fill="black" halo_fill="#DFDBE3"/ allow_overlap="true">

is an obvious error, but the main error output to console is

"### Configuration error: style.xml: read error destroyed singleton".

A line number, at least, should be provided.

Change History

Changed 4 months ago by springmeyer

  • priority set to critical (top)
Note: See TracTickets for help on using tickets.