This form embeds an xs:schema in the XForms document and validates typed fields through Saxon-Forms.
xs:schema
Try invalid values (for example, orderId not matching AAA-1234, or a non-date in orderDate) and submit.
orderId
AAA-1234
orderDate