Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: s10
Environment:Win 7, 0.9
Added checkConstraint() to an element. If the input is good, no problem. When the input is bad, the error message doesn't have anything to do with the checkConstraint. I can't tell if the checkConstraint is failing, or if some other bug prevents it from running.
Date: Mon <--- Works fine
Date: XYZ <--- Throws unexpected error
Parse Error: Term('%NL;') - element.Date: Delimiter not found!
Schema context: element.Date Location in file:/C:/Users/jgarriss/Documents/DFDL_Schemas_Email/02_Message_Headers/CheckConstraint.xsd
Data location was preceding byte 6
UTF-8 text starting at byte 0 is: (Date: XYZ
Data (hex) starting at byte 0 is: (0x446174653A2058595A0A)
Expected error: Invalid day of the week. The delimiter is not the problem. It's there and is found if the day of the week is correct.
Here's the schema: