Message

StartTime must be before EndTime

Context
cac:EstimatedDeliveryPeriod
Test
not(cbc:StartDate) or not(cbc:StartTime) or not(cbc:EndDate) or not(cbc:EndTime) or dateTime((cbc:EndDate),(cbc:EndTime)) >= dateTime((cbc:StartDate),(cbc:StartTime))
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:StartDate
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:StartTime
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:EndDate
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:EndTime