Message

Start date must be earlier or equal to end date

Context
cac:EstimatedDeliveryPeriod
Test
not(cbc:EndDate) or translate(cbc:StartDate,'-','') <= translate(cbc:EndDate,'-','')
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:StartDate
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:EndDate
/ ubl:Waybill / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:StartDate
/ ubl:Waybill / cac:Shipment / cac:Delivery / cac:EstimatedDeliveryPeriod / cbc:EndDate