Skip to content

Commit

Permalink
Fixing attribute vocabulary not allowed in WMS 1.1.1 (#4447).
Browse files Browse the repository at this point in the history
  • Loading branch information
Schpidi committed Sep 7, 2012
1 parent ab427ac commit 42515e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapwms.c
Expand Up @@ -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*/
Expand Down

0 comments on commit 42515e6

Please sign in to comment.