+<!--\r
+ THIS SEEMS TO BE UNUSED. PLEASE VERIFY AND REMOVE THIS FILE FROM OUR SOURCE CONTROL REPOSITORY. \r
+ -->\r
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
<ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb">\r
-<inAuthority>4a6dc8f3-3329-4c5d-a1a8</inAuthority>\r
-<shortIdentifier>connieContactPerson</shortIdentifier>\r
-<refName>urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth)'TestPersonAuth':person:name(connieContactPerson)</refName>\r
-<displayNameComputed>true</displayNameComputed>\r
-<foreName>Connie</foreName>\r
-<surName>ContactPerson</surName>\r
+ <inAuthority>4a6dc8f3-3329-4c5d-a1a8</inAuthority>\r
+ <shortIdentifier>connieContactPerson</shortIdentifier>\r
+ <refName>urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth)'TestPersonAuth':person:name(connieContactPerson)</refName>\r
+ \r
+ <personTermGroupList>\r
+ <personTermGroup>\r
+ <termName>Connie ContactPerson</termName>\r
+ <termPrefForLang>false</termPrefForLang>\r
+ <termDisplayName>Connie ContactPerson</termDisplayName>\r
+ <termStatus>${termStatus}</termStatus>\r
+ <foreName>Connie</foreName>\r
+ <surName>ContactPerson</surName>\r
+ </personTermGroup>\r
+ </personTermGroupList>\r
+ \r
</ns2:persons_common>
\ No newline at end of file
<document name="persons">\r
<ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb">\r
<shortIdentifier>connieContactPerson</shortIdentifier>\r
- <displayNameComputed>true</displayNameComputed>\r
- <foreName>Connie</foreName>\r
- <surName>ContactPerson</surName>\r
+ \r
+ <personTermGroupList>\r
+ <personTermGroup>\r
+ <termName>Connie ContactPerson</termName>\r
+ <termPrefForLang>false</termPrefForLang>\r
+ <termDisplayName>Connie ContactPerson</termDisplayName>\r
+ <termStatus>${termStatus}</termStatus>\r
+ <foreName>Connie</foreName>\r
+ <surName>ContactPerson</surName>\r
+ </personTermGroup>\r
+ </personTermGroupList>\r
+ \r
</ns2:persons_common>\r
</document>\r
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
<document name="persons">\r
<ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb">\r
- <shortIdentifier>debbieDoNothingPerson</shortIdentifier>\r
- <displayNameComputed>true</displayNameComputed>\r
- <foreName>Debbie</foreName>\r
- <surName>DoNothingPerson</surName>\r
+ <shortIdentifier>debbieDoNothingPerson</shortIdentifier>\r
+ \r
+ <personTermGroupList>\r
+ <personTermGroup>\r
+ <termName>Debbie DoNothingPerson</termName>\r
+ <termPrefForLang>false</termPrefForLang>\r
+ <termDisplayName>Debbie DoNothingPerson</termDisplayName>\r
+ <termStatus>${termStatus}</termStatus>\r
+ <foreName>Debbie</foreName>\r
+ <surName>DoNothingPerson</surName>\r
+ </personTermGroup>\r
+ </personTermGroupList>\r
+ \r
</ns2:persons_common>\r
</document>\r
<ns2:organizations_common xmlns:ns2="http://collectionspace.org/services/organization"\r
xmlns:ns3="http://collectionspace.org/services/jaxb">\r
<shortIdentifier>1288047801161</shortIdentifier>\r
- <displayNameComputed>true</displayNameComputed>\r
- <shortDisplayNameComputed>true</shortDisplayNameComputed>\r
- <shortName>Test Organization-1288047801161</shortName>\r
- <longName>Test Organization Name</longName>\r
+\r
+ <orgTermGroupList>\r
+ <orgTermGroup>\r
+ <additionsToName/>\r
+ <termName>Test Organization-1288047801161</termName>\r
+ <termSource/>\r
+ <termSourceID/>\r
+ <termSourceNote/>\r
+ <termLanguage/>\r
+ <termPrefForLang>false</termPrefForLang>\r
+ <termDisplayName>Test Organization Name</termDisplayName>\r
+ <termType/>\r
+ <termStatus/>\r
+ <termQualifier/>\r
+ <termSourceDetail/>\r
+ </orgTermGroup>\r
+ </orgTermGroupList>\r
+\r
<contactNames>\r
<contactName>${person1}</contactName>\r
<contactName>${person2}</contactName>\r
<document name="persons">\r
<ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb">\r
<shortIdentifier>connieContactPerson</shortIdentifier>\r
- <displayNameComputed>true</displayNameComputed>\r
- <foreName>Connie</foreName>\r
- <surName>ContactPersonlity</surName>\r
+ \r
+ <personTermGroupList>\r
+ <personTermGroup>\r
+ <termName>Connie ContactPerson</termName>\r
+ <termPrefForLang>false</termPrefForLang>\r
+ <termDisplayName>Connie ContactPerson</termDisplayName>\r
+ <termStatus>${termStatus}</termStatus>\r
+ <foreName>Connie</foreName>\r
+ <surName>ContactPersonlity</surName>\r
+ </personTermGroup>\r
+ </personTermGroupList>\r
+ \r
</ns2:persons_common>\r
</document>\r
<document name="persons">\r
<ns2:persons_common xmlns:ns2="http://collectionspace.org/services/person" xmlns:ns3="http://collectionspace.org/services/jaxb">\r
<shortIdentifier>debbieDoNothingPerson</shortIdentifier>\r
- <displayNameComputed>true</displayNameComputed>\r
- <foreName>Debbie</foreName>\r
- <surName>Do Nothing Personality</surName>\r
+ \r
+ <personTermGroupList>\r
+ <personTermGroup>\r
+ <termName>Debbie DoNothingPerson</termName>\r
+ <termPrefForLang>false</termPrefForLang>\r
+ <termDisplayName>Debbie DoNothingPerson</termDisplayName>\r
+ <termStatus>${termStatus}</termStatus>\r
+ <foreName>Debbie</foreName>\r
+ <surName>Do Nothing Personality</surName>\r
+ </personTermGroup>\r
+ </personTermGroupList>\r
+ \r
</ns2:persons_common>\r
</document>\r
<document name="orgauthorities">
<ns3:orgauthorities_common xmlns:ns3="http://collectionspace.org/services/organization" xmlns:ns2="http://collectionspace.org/services/jaxb">
<shortIdentifier>${shortIdentifier}</shortIdentifier>
- <displayName>${displayName}</displayName>
<refName>urn:cspace:org.collectionspace.demo:orgauthority:name(${shortIdentifier})'${displayName}'</refName>
<vocabType>OrgAuthority</vocabType>
+
+ <orgTermGroupList>
+ <orgTermGroup>
+ <additionsToName/>
+ <termName>${displayName}</termName>
+ <termSource/>
+ <termSourceID/>
+ <termSourceNote/>
+ <termLanguage/>
+ <termPrefForLang>false</termPrefForLang>
+ <termDisplayName>${displayName}</termDisplayName>
+ <termType/>
+ <mainBodyName>The real official test organization</mainBodyName>
+ <termStatus/>
+ <termQualifier/>
+ <termSourceDetail/>
+ </orgTermGroup>
+ </orgTermGroupList>
+
</ns3:orgauthorities_common>
</document>
<ns3:organizations_common xmlns:ns3="http://collectionspace.org/services/organization" xmlns:ns2="http://collectionspace.org/services/jaxb">
<shortIdentifier>${shortIdentifier}</shortIdentifier>
<refName>urn:cspace:org.collectionspace.demo:orgauthority:name(${authShortIdentifier}):organization:name(${shortIdentifier})</refName>
- <displayNameComputed>true</displayNameComputed>
- <shortDisplayNameComputed>true</shortDisplayNameComputed>
+
+ <orgTermGroupList>
+ <orgTermGroup>
+ <additionsToName/>
+ <termName>2-item-termName</termName>
+ <termSource/>
+ <termSourceID/>
+ <termSourceNote/>
+ <termLanguage/>
+ <termPrefForLang>false</termPrefForLang>
+ <termDisplayName>2-item-termDisplayName</termDisplayName>
+ <termType/>
+ <mainBodyName>The real test official test organization</mainBodyName>
+ <termStatus/>
+ <termQualifier/>
+ <termSourceDetail/>
+ </orgTermGroup>
+ </orgTermGroupList>
+
<mainBodyGroupList>
<mainBodyGroup>
<longName>Test Organization Name</longName>
<inAuthority>${inAuthority}</inAuthority>\r
<shortIdentifier>${shortIdentifier}</shortIdentifier>\r
<refName>urn:cspace:org.collectionspace.demo:organizationauthority:name(${authShortIdentifier}):organization:name(${shortIdentifier})'${name}'</refName>\r
- <displayName>${name}</displayName>\r
- <displayNameComputed>false</displayNameComputed>\r
- <shortDisplayNameComputed>true</shortDisplayNameComputed>\r
+\r
+ <orgTermGroupList>\r
+ <orgTermGroup>\r
+ <additionsToName/>\r
+ <termName>${name}</termName>\r
+ <termSource/>\r
+ <termSourceID/>\r
+ <termSourceNote/>\r
+ <termLanguage/>\r
+ <termPrefForLang>false</termPrefForLang>\r
+ <termDisplayName>${name}</termDisplayName>\r
+ <termType/>\r
+ <mainBodyName>The real test official test organization</mainBodyName>\r
+ <termStatus/>\r
+ <termQualifier/>\r
+ <termSourceDetail/>\r
+ </orgTermGroup>\r
+ </orgTermGroupList>\r
+\r
</ns2:organizations_common>\r
<!-- \r
WARNING: ${itemCSID} does NOT get expanded by XmlReplay. \r
<run controlFile="objectexit/object-exit.xml" testGroup="makeone" />\r
<run controlFile="objectexit/object-exit.xml" testGroup="checkList" />\r
<run controlFile="objectexit/object-exit-display.xml" testGroup="refNameDisplayNameOnly" />\r
-\r
-<!--\r
+<!-- \r
+ -->\r
+ \r
<run controlFile="collectionobject/collectionobject-adv-search.xml" testGroup="advSearchCommonSchema" />\r
<run controlFile="collectionobject/collectionobject-adv-search.xml" testGroup="advSearchExtensionSchema" />\r
<run controlFile="acquisitions/acquisitions.xml" testGroup="makeone" />\r
<run controlFile="acquisitions/acquisitions.xml" testGroup="testList" />\r
<run controlFile="relation/relation.xml" testGroup="makeRelations" />\r
+<!--\r
-->\r
\r
<!-- No - this test is broken\r
<run controlFile="person/person.xml" testGroup="PersonAddRelsDeleteRels" />\r
\r
<run controlFile="location/location-hierarchy.xml" testGroup="HierarchicLocation" />\r
-\r
-<!-- \r
<run controlFile="organization/organization-hierarchy.xml" testGroup="HierarchicOrganization" />\r
+ \r
<run controlFile="batch/batch.xml" />\r
<run controlFile="report/report.xml" />\r
- <run controlFile="vocabulary/vocabulary.xml" testGroup="TestOrder" />\r
<run controlFile="authrefs/authrefs.xml" testGroup="AuthRefs" />\r
+ <run controlFile="vocabulary/vocabulary.xml" testGroup="TestOrder" />\r
<run controlFile="authrefs/authrefsSimple.xml" testGroup="AuthRefsSimple" />\r
<run controlFile="authrefs/authrefsComplex.xml" testGroup="AuthRefsComplex" />\r
<run controlFile="imports/imports.xml" testGroup="importsTestGroup" />\r
+<!-- \r
-->\r
\r
</xmlReplayMaster>\r
// Some other variant on a missing sub-field; quietly
// absorb.
result = "";
- } // Otherwise, e.g., for true OOB indices, propagate the
- // exception.
+ }
+ }
+ // Otherwise, e.g., for true OOB indices, propagate the exception.
+ if (result == null) {
+ throw new RuntimeException("Problem retrieving property {" + xpath
+ + "}:" + ioobe.getLocalizedMessage());
}
- throw new RuntimeException("Problem retrieving property {" + xpath
- + "}:" + ioobe.getLocalizedMessage());
} catch (Exception e) {
throw new RuntimeException("Unknown problem retrieving property {"
+ xpath + "}." + e.getLocalizedMessage());