Ticket #49 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

Schema directory option setting lost when set 'meter_precision'

Reported by: mno Owned by:
Priority: minor Version: SVN
Keywords: config schema Cc:
Triage Stage: Unreviewed State of Approval: Unnecessary
Attached Patches: None Complexity: Unknown
Compatibility: Unknown Specification: Unnecessary

Description

When seting meter_precision in config, schema directory gets cleared and "xml isn't valid" is received.

If I understood correctly lines 66 and 75 in ows_config.c contains erroneous clearing of schema_dir.

Mike

64 a = xmlTextReaderGetAttribute(r, (xmlChar *) "degree_precision");

65 if (a != NULL) {

66 o->schema_dir = buffer_init();

...

73 a = xmlTextReaderGetAttribute(r, (xmlChar *) "meter_precision");

74 if (a != NULL) {

75 o->schema_dir = buffer_init();

Change History

Changed 19 months ago by ol

  • status changed from new to closed
  • resolution set to fixed

Thanks for this detailled report Mike, fix commited as r309 in trunk

Note: See TracTickets for help on using tickets.