Revision 4478
Added by daigle about 16 years ago
test/edu/ucsb/nceas/metacattest/NonAsciiCharacterTest.java | ||
---|---|---|
173 | 173 |
header = testEml_210_Header; |
174 | 174 |
} |
175 | 175 |
|
176 |
testDocument = testDocument + header + |
|
177 |
"<dataset scope=\"document\"><title>" + title + "</title>" + |
|
178 |
testEmlCreatorBlock; |
|
176 |
testDocument += header; |
|
177 |
|
|
178 |
// if this is an EML 2.1.0 or later document, the document level access is |
|
179 |
// before the dataset element. |
|
180 |
if (emlVersion == EML2_1_0) { |
|
181 |
testDocument += getAccessBlock("public", true, true, false, false, false); |
|
182 |
} |
|
183 |
testDocument += "<dataset scope=\"document\"><title>" + title + "</title>" |
|
184 |
+ testEmlCreatorBlock; |
|
179 | 185 |
|
180 | 186 |
testDocument += testEmlContactBlock; |
181 |
testDocument += getAccessBlock("public", true, true, false, false, false); |
|
187 |
|
|
188 |
// if this is an EML 2.0.1 or earlier document, the document level access is |
|
189 |
// inside the dataset element. |
|
190 |
if (emlVersion != EML2_1_0) { |
|
191 |
testDocument += getAccessBlock("public", true, true, false, false, false); |
|
192 |
} |
|
182 | 193 |
testDocument += "</dataset>"; |
183 | 194 |
testDocument += "</eml:eml>"; |
184 | 195 |
|
Also available in: Unified diff
Add EML 2.1.0 access scenarios