From 42515e61850ee0bc9cf6a16ebb00092b454bce3b Mon Sep 17 00:00:00 2001 From: Stephan Meissl Date: Fri, 7 Sep 2012 14:04:36 +0200 Subject: [PATCH] Fixing attribute vocabulary not allowed in WMS 1.1.1 (#4447). --- mapwms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapwms.c b/mapwms.c index 39916adab8..e3e78397ad 100644 --- a/mapwms.c +++ b/mapwms.c @@ -1976,7 +1976,7 @@ void msWMSPrintKeywordlist(FILE *stream, const char *tabspace, /* find out if there's a vocabulary list set */ vocabularylist = msOWSLookupMetadata(metadata, namespaces, vocname); - if ( vocabularylist ) { + if ( vocabularylist && nVersion >= OWS_1_3_0 ) { tokens = msStringSplit(vocabularylist, ',', &ntokens); if ( tokens && ntokens > 0 ) { /* In order to do malloc only once, the length of the metadata*/