Project

General

Profile

« Previous | Next » 

Revision 2924a377

Added by Katja Luther almost 3 years ago

accept only abcd schema in biocaseQuery

View differences:

cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/occurrence/bioCase/BioCaseQueryServiceWrapper.java
111 111
                for(int i=0;i<supportedSchemasList.getLength();i++){
112 112
                    Node supportedSchema = supportedSchemasList.item(i);
113 113
                    if(supportedSchema instanceof Element){
114
                        schemaVersion = ((Element) supportedSchema).getAttribute("namespace");
114
                        String temp = ((Element) supportedSchema).getAttribute("namespace");
115
                        if (temp.contains("abcd")){
116
                            schemaVersion = temp;
117
                        }
115 118
                    }
116 119
                }
117 120
            }

Also available in: Unified diff