1. binaryCalendarRep being set to binarySeconds gave an error that EPOCH
   was not set. No default to unix as the standard seems to imply.
   2. Setting the Epoch to  1970-01-01T00:00:00.0000 as per the standard is
   rejected. The  *calendarPattern*  seems to be  yyyy-MM-dd'T'HH:mm:ssSSSS
   without the last decimal point. Yet ISO8601 seems to have the decimal point
   for milliseconds.
   3. Also since this is binarySeconds, there should be no milliseconds
   since they do not exist.
   4. Setting the calendarPattern="yyyy-MM-dd'T'HH:mm:ss", does not seem to
   change the XML output. I even tried to use  "yyyy-MM-dd'T'HH:mm:", no
   change BIG problem.


*SCHEMA*:
   <xs:annotation>
        <xs:appinfo source="http://www.ogf.org/dfdl/";>
            <!-- Set common defaults -->
            <dfdl:format
                calendarPatternKind="implicit"
                binaryCalendarRep="binarySeconds"
                binaryCalendarEpoch="1970-01-01T00:00:00"
...
      <xs:simpleType name="DateTime" dfdl:lengthKind="explicit"
dfdl:length="4">
        <xs:restriction base="xs:dateTime" />
      </xs:simpleType>
...
                    <xs:element name="Time_Last"           type="DateTime"
/>


*OUTPUT - XML*
    <Time_Last>2018-08-21T17:26:00.000000</Time_Last>

*SCHEMA*: edited:
calendarPatternKind="implicit"
binaryCalendarRep="binarySeconds"
binaryCalendarEpoch="1970-01-01T00:00:00"

*calendarPatternKind="explicit"*
*calendarPattern="yyyy-MM-dd'T'HH:mm:ss"*

*No change in the output!*
    <Time_Last>2018-08-21T17:26:00.00*0000*</Time_Last>

Reply via email to