Timestamp with more flexibility (e.g. nanoseconds, spaces as separators)#294
Timestamp with more flexibility (e.g. nanoseconds, spaces as separators)#294stjugi wants to merge 4 commits into
Conversation
|
So you now parse invalid data? |
|
T is not optional. |
|
This adapter is registered in The old formatter used
Since this PR is about parsing flexibility, is the change to marshalled output intentional? If not, restoring an optional fraction keeps the on-the-wire format stable for downstream consumers. |
|
I reviewed the PR and updated the marshaller to the previous format. |
|
It looks like I misunderstood the whole thing. I do not think this change belongs to the library. If you need to deal with invalid XML data, that should be handled upstream by filtering/transforming the invalid timestamps. |
The parser for time-values is more flexible to accept as well formats like:
Error correction: