Revision 5712
Added by ben leinfelder almost 14 years ago
test/edu/ucsb/nceas/metacattest/NonAsciiCharacterTest.java | ||
---|---|---|
170 | 170 |
String header; |
171 | 171 |
if (emlVersion == EML2_0_1) { |
172 | 172 |
header = testEml_201_Header; |
173 |
} else { |
|
173 |
} else if (emlVersion == EML2_1_0) {
|
|
174 | 174 |
header = testEml_210_Header; |
175 |
} else { // if (emlVersion == EML2_1_1) { |
|
176 |
header = testEml_211_Header; |
|
175 | 177 |
} |
176 | 178 |
|
177 | 179 |
testDocument += header; |
... | ... | |
207 | 209 |
String docType; |
208 | 210 |
if (emlVersion.equals(EML2_0_1)) { |
209 | 211 |
docType = "eml://ecoinformatics.org/eml-2.0.1"; |
210 |
} else { |
|
212 |
} else if (emlVersion.equals(EML2_1_0)) {
|
|
211 | 213 |
docType = "eml://ecoinformatics.org/eml-2.1.0"; |
214 |
} else { //if (emlVersion.equals(EML2_1_1)) { |
|
215 |
docType = "eml://ecoinformatics.org/eml-2.1.1"; |
|
212 | 216 |
} |
213 | 217 |
|
214 | 218 |
String sQuery = ""; |
Also available in: Unified diff
support EML 2.1.1