Problems constructing a proper core-site.xml

I am trying to set up dist storage to a private (internal S3-like) object store but having problems constructing a proper core-site.xml file.

<?xml version="1.0"?>
<configuration>
   <property>
       <name>fs.dremioS3.impl</name>
       <description>The FileSystem implementation. Must be set to com.dremio.plugins.s3.store.S3FileSystem</description>
       <value>com.dremio.plugins.s3.store.S3FileSystem</value>
   </property>
   <property>
       <name>fs.s3a.access.key</name>
       <description>AWS access key ID.</description>
       <value>ABCDEFGHIJKLMNOP</value>
   </property>
   <property>
       <name>fs.s3a.secret.key</name>
       <description>AWS secret key.</description>
       <value>12344556788901234455678890</value>
   </property>
   <property>
       <name>fs.s3a.aws.credentials.provider</name>
       <description>The credential provider type.</description>
       <value>org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider</value>
   </property>
   <property>
       <name>fs.s3a.endpoint</name>
       <value>test.objstore.domain.com</value>
   </property>
   <property>
       <name>fs.s3a.path.style.access</name>
       <value>true</value>
   </property>
   <property>
       <name>fs.s3a.signing-algorithm</name>
       <value>S3SignerType</value>
   </property>
   <property>
       <name>fs.s3a.paging.maximum</name>
       <value>999</value>
   </property>
</configuration>

And this is what I get when trying to start Dremio:

2020-03-10 18:25:34,642 [main] ERROR org.apache.hadoop.conf.Configuration - error parsing conf core-site.xml
com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
 at [row,col,system-id]: [1,6,"file:/opt/dremio/conf/core-site.xml"]
	at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:634) ~[woodstox-core-5.2.1.jar:5.2.1]
	at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:504) ~[woodstox-core-5.2.1.jar:5.2.1]
	at com.ctc.wstx.sr.BasicStreamReader.readPIPrimary(BasicStreamReader.java:4008) ~[woodstox-core-5.2.1.jar:5.2.1]
	at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2138) ~[woodstox-core-5.2.1.jar:5.2.1]
	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1179) ~[woodstox-core-5.2.1.jar:5.2.1]
	at org.apache.hadoop.conf.Configuration$Parser.parseNext(Configuration.java:3277) ~[hadoop-common-3.2.0-dremio-201911062242240641-139525f.jar:na]
	at org.apache.hadoop.conf.Configuration$Parser.parse(Configuration.java:3071) ~[hadoop-common-3.2.0-dremio-201911062242240641-139525f.jar:na]
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2964) [hadoop-common-3.2.0-dremio-201911062242240641-139525f.jar:na]
	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2925) [hadoop-common-3.2.0-dremio-201911062242240641-139525f.jar:na]
	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2805) [hadoop-common-3.2.0-dremio-201911062242240641-139525f.jar:na]
	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1365) [hadoop-common-3.2.0-dremio-201911062242240641-139525f.jar:na]
	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1337) [hadoop-common-3.2.0-dremio-201911062242240641-139525f.jar:na]
	at com.dremio.service.spill.SpillServiceImpl.<clinit>(SpillServiceImpl.java:56) [    dremio-services-spill-4.1.7-202002220604270180-54f278ec.jar:4.1.7-202002220604270180-54f278ec]
	at com.dremio.dac.daemon.DACDaemonModule.build(DACDaemonModule.java:396) [    dremio-dac-backend-4.1.7-202002220604270180-54f278ec.jar:4.1.7-202002220604270180-54f278ec]
	at com.dremio.dac.daemon.DACDaemon.<init>(DACDaemon.java:174) [dremio-dac-backend-4.1.7-202002220604270180-54f278ec.jar:4.1.7-202002220604270180-54f278ec]
	at com.dremio.dac.daemon.DACDaemon.newDremioDaemon(DACDaemon.java:287) [    dremio-dac-backend-4.1.7-202002220604270180-54f278ec.jar:4.1.7-202002220604270180-54f278ec]
	at com.dremio.dac.daemon.DremioDaemon.main(DremioDaemon.java:103) [    dremio-dac-daemon-4.1.7-202002220604270180-54f278ec.jar:4.1.7-202002220604270180-54f278ec]
2020-03-10 18:25:34,643 [main] ERROR ROOT - Dremio is exiting. Failure while starting services.

Anyone have any advice as to what I could try to get this configured correctly?

This is what I have in dremio.conf:

paths: {
  # the local path for dremio to store data.
  local: ${DREMIO_HOME}"/data"

  # the distributed path Dremio data including job results, downloads, uploads, etc
  #dist: "pdfs://"${paths.local}"/pdfs"
  dist: "dremioS3://test.objstore.domain.com/dds/accel"
}

I should add that I am able to successfully connect to the bucket when set up as a data source within Dremio.

Well, looks like I had malformed xml with some extra whitespace on the first line. Dremio is able to start up now.