From d8dbe5b148ac1d96b1844173df44869b95780726 Mon Sep 17 00:00:00 2001 From: Olivier Courtin Date: Mon, 5 Nov 2012 22:06:50 +0100 Subject: [PATCH] still related to #19 and ns_prefix removing --- src/wfs/wfs_describe.c | 8 +++++--- src/wfs/wfs_get_capabilities.c | 2 -- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wfs/wfs_describe.c b/src/wfs/wfs_describe.c index 92f7b670..51a56b33 100644 --- a/src/wfs/wfs_describe.c +++ b/src/wfs/wfs_describe.c @@ -165,7 +165,7 @@ void wfs_describe_feature_type(ows * o, wfs_request * wr) int wfs_version; list_node *elemt, *ln; list *ns_prefix, *typ; - buffer *namespace; + buffer *namespace, *typename; assert(o); assert(wr); @@ -242,8 +242,10 @@ void wfs_describe_feature_type(ows * o, wfs_request * wr) /* Describe each feature type specified in the request */ for (elemt = wr->typename->first ; elemt ; elemt = elemt->next) { fprintf(o->output, "\n"); wfs_complex_type(o, wr, elemt->value); diff --git a/src/wfs/wfs_get_capabilities.c b/src/wfs/wfs_get_capabilities.c index 1b08dd81..783cc4e7 100644 --- a/src/wfs/wfs_get_capabilities.c +++ b/src/wfs/wfs_get_capabilities.c @@ -268,8 +268,6 @@ static void wfs_feature_type_list(ows * o) for (s = 0; s < ln->layer->depth; s++) fprintf(o->output, " "); fprintf(o->output, " "); - buffer_flush(ln->layer->ns_prefix, o->output); - fprintf(o->output, ":"); buffer_flush(ln->layer->name, o->output); fprintf(o->output, "\n"); }