Generated resource maps contain invalid representation of xsd:date
For example, the resource map:
contains an entry:
There are two problems with this:
- The type should be dateTime
- The timezone offset should include a colon, i.e. "-07:00" instead of "-0700"
Issue 1 can be corrected in the foresite library:
#1 Updated by Ben Leinfelder almost 10 years ago
- Status changed from New to In Progress
Reworking the foresite library. I took out the use of SimpleDateFormat because that doesn't provide the correct serialization of timezone for the xsd:dateTime type.
The resulting rdf fragment is now:
Note that partial seconds are now included which I believe is still valid for xsd:dateTime since it came directly from javax.xml.bind.DatatypeConverter.printDateTime().
Will need to include this in the foresite project and make the change available as an official (non-SNAPSHOT) release.
#2 Updated by Ben Leinfelder almost 10 years ago
Looks like Dave is a committer: