// out for check-in, to prevent service tests from failing. Can uncomment to test
// fixes, and also after the issue is resolved, to help detect any regressions.
- // @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class,
- // dependsOnMethods = {"create", "testSubmitRequest"}, groups = {"cspace2578group"})
+ @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class,
+ dependsOnMethods = {"create", "testSubmitRequest"}, groups = {"cspace2578group"})
public void createFromXmlWhitespaceAfterRepeatableGroupTag(String testName) throws Exception {
if (logger.isDebugEnabled()) {
logger.debug(testBanner(testName, CLASS_NAME));
--- /dev/null
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<!--
+ Document : cspace-2578-no-whitespace.xml
+ Created on :
+ Author :
+ Description: Test data for http://issues.collectionspace.org/browse/CSPACE-2578
+-->
+
+<ns2:acquisitions_common xmlns:ns2="http://collectionspace.org/services/acquisition"
+xmlns:ns3="http://collectionspace.org/services/jaxb">
+ <acquisitionFundingList>
+ <!-- Note: no whitespace between acquisitionFunding and its first child element tag -->
+ <acquisitionFunding><acquisitionFundingSource>
+ urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth)'TestPersonAuth':person:name(franFundingSourceOne)</acquisitionFundingSource>
+ </acquisitionFunding>
+ </acquisitionFundingList>
+</ns2:acquisitions_common>
--- /dev/null
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<!--
+ Document : cspace-2578-whitespace.xml
+ Created on :
+ Author :
+ Description: Test data for http://issues.collectionspace.org/browse/CSPACE-2578
+-->
+
+<ns2:acquisitions_common xmlns:ns2="http://collectionspace.org/services/acquisition"
+xmlns:ns3="http://collectionspace.org/services/jaxb">
+ <acquisitionFundingList>
+ <!-- Note: whitespace between acquisitionFunding and its first child element tag -->
+ <acquisitionFunding> <acquisitionFundingSource>
+ urn:cspace:org.collectionspace.demo:personauthority:name(TestPersonAuth)'TestPersonAuth':person:name(franFundingSourceOne)</acquisitionFundingSource>
+ </acquisitionFunding>
+ </acquisitionFundingList>
+</ns2:acquisitions_common>