Ok, so I'm dumbing my testing down more. I have been able to get both the creation and update XML to upload, but here's the oddball catch...I've had to take the time off the
</prov:timestamp> tags.
< <prov:timestamp>2023-08-16T11:27:37</prov:timestamp>
---
> <prov:timestamp>2023-08-16</prov:timestamp>
I'm getting an error in restlet.log:
2023-08-18 09:06:57,966 [http-nio-198.215.54.40-9080-exec-10] ERROR org.nrg.xnat.restlet.resources.SecureResource -
org.postgresql.util.PSQLException: Bad value for type timestamp/date/time: {1}
at org.postgresql.jdbc.TimestampUtils.parseBackendTimestamp(TimestampUtils.java:369)
at org.postgresql.jdbc.TimestampUtils.toTimestamp(TimestampUtils.java:400)
at org.postgresql.jdbc.PgPreparedStatement.setObject(PgPreparedStatement.java:615)
at org.postgresql.jdbc.PgPreparedStatement.setObject(PgPreparedStatement.java:908)
at org.apache.commons.dbcp2.DelegatingPreparedStatement.setObject(DelegatingPreparedStatement.java:529)
at org.apache.commons.dbcp2.DelegatingPreparedStatement.setObject(DelegatingPreparedStatement.java:529)
at org.nrg.xft.db.PoolDBUtils.executePS(PoolDBUtils.java:964)
at org.nrg.xft.db.PoolDBUtils.executeSelectPS(PoolDBUtils.java:493)
at org.nrg.xft.XFTTable.ExecutePS(XFTTable.java:48)
<snip>
Caused by: java.lang.NumberFormatException: Trailing junk on timestamp: 'T23:29:43Z'
at org.postgresql.jdbc.TimestampUtils.parseBackendTimestamp(TimestampUtils.java:359)
... 166 common frames omitted
Digging further...