Ticket #49 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.