Project

General

Profile

« Previous | Next » 

Revision 6018

only include accessfileid when it is not toplevel

View differences:

src/edu/ucsb/nceas/metacat/Eml210SAXHandler.java
1428 1428
		}
1429 1429

  
1430 1430
		String currentDocId = null;
1431
		String accessFileId = docid;
1431
		String accessFileId = null;
1432 1432
		String permOrder = accessSection.getPermissionOrder();
1433 1433
		if (topLevel) {
1434 1434
			currentDocId = docid;
1435 1435
		} else {
1436 1436
			currentDocId = accessSection.getDataFileName();
1437
			accessFileId = docid;
1437 1438
			// for subtree should specify the
1438 1439
			if (subSectionId == null) {
1439 1440
				throw new SAXException("The subsection is null");

Also available in: Unified diff