XStream
  1. XStream
  2. XSTR-116

Cannot parse ISO 8601 date formats

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      ISO 8601 formats cannot be parsed using the current SimpleDateFormat solution used in the standard DateConverter.

      ISO 8601 is the standard format for dates represented in XML (when declared in an XSD as a datetime), so this is fairly important. In fact, it is required if communicating with other "strict" XML-based systems.

      The "jigsaw" webserver by W3C.org contains a class with static methods to parse and create ISO8601 dates (org.w3c.util.DateParser). This was easy to include into the XStream codebase - I have it working locally on my machine, but this needs to be properly integrated into XStream.

        People

        • Assignee:
          Unassigned
          Reporter:
          James Schopp
        • Votes:
          1 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: