oriol / validation-tools

2 stars 0 forks source link

UBL Mapping for BII2-T01-R014 contains an XPath error #6

Closed phax closed 9 years ago

phax commented 9 years ago

The expression (xs:decimal(cbc:LineExtensionAmount)) = (round(sum((xs:decimal(/ubl:Order/cac:OrderLine/cac:LineItem/cbc:LineExtensionAmount)) * 10 * 10) div 100) has one opening bracket too much after sum. It should be:

(xs:decimal(cbc:LineExtensionAmount)) = (round(sum(xs:decimal(/ubl:Order/cac:OrderLine/cac:LineItem/cbc:LineExtensionAmount)) * 10 * 10) div 100)

oriol commented 9 years ago

Should be fixed now

phax commented 9 years ago

thanks :)