Changeset 195 for src/fe/fe_filter.c

Show
Ignore:
Timestamp:
01/21/10 22:19:43 (2 years ago)
Author:
ol
Message:

Use PostGIS 1.5 GeomFromGML to parse GML instead of TinyOWS one. Add check_schema and check_valid_geom config properties to allow to bypass schema and is_valid check, cf #44.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/fe/fe_filter.c

    r191 r195  
    4040    assert(fe != NULL); 
    4141 
    42     fe->sql = NULL; 
     42    fe->sql = buffer_init(); 
    4343    fe->error_code = FE_NO_ERROR; 
    4444 
     
    5656    if (fe->sql != NULL) 
    5757        buffer_free(fe->sql); 
    58  
     58     
    5959    free(fe); 
    6060    fe = NULL; 
     
    443443    xmlInitParser(); 
    444444    LIBXML_TEST_VERSION  
    445     fe->sql = buffer_init(); 
    446445 
    447446    xmldoc = xmlParseMemory(xmlchar->buf, xmlchar->use);