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*/