Hi Folks,
It is my understanding that if calendarCheckPolicy="lax" then any leading
and/or trailing whitespace around a date value is ignored. That is not the
behavior that I am getting. I get this error message:
Parse Error: Convert to Date (for xs:date): Failed to parse ' 1970-11-06 ' at
character 13.
Here's my DFDL schema:
<xs:element name="SimpleDataFormat">
<xs:complexType>
<xs:sequence>
<xs:element name="Birthday" type="xs:date"
dfdl:calendarCheckPolicy="lax"
dfdl:calendarFirstDayOfWeek="Sunday"
dfdl:calendarDaysInFirstWeek="5"
dfdl:calendarTimeZone="UTC+6"
dfdl:calendarPatternKind="implicit"
dfdl:calendarLanguage="en"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
Why am I getting the above error message?
/Roger