Closed Tpendrup closed 9 years ago
Copy from the other forum:
Yes. It is the assert that are failing as if there actual where a calculation error.
But it as a very simple example with only one TaxSubtotal group.
BII2-T10-R058; [flag]=fatal; [Description]=[BII2-T10-R058]-Invoice total without VAT MUST be equal to the sum of VAT category taxable amounts; [test]=((cac:TaxTotal[cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID = 'VAT']/cbc:TaxAmount) and (round(xs:decimal(sum(cac:TaxTotal//cac:TaxSubtotal/cbc:TaxableAmount)) 10 \ 10) div 100 = (xs:decimal(cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount)
Can you provide me with some samples where this rule is not working?
Hello.
Try this example. As I wrote it validates OK on windows and linux. But it fails in our AIX environments.
/thomas
From: Oriol Bausa [mailto:notifications@github.com] Sent: 15. oktober 2015 08:32 To: oriol/validation-tools validation-tools@noreply.github.com Cc: Thomas Jørgensen thj@evenex.com Subject: Re: [validation-tools] Problems with the new validation package on AIX. (#10)
Can you provide me with some samples where this rule is not working?
— Reply to this email directly or view it on GitHubhttps://github.com/oriol/validation-tools/issues/10#issuecomment-148294608.
<?xml version="1.0" encoding="utf-8"?>
This instance only fires a warning in the environments I have. Cannot test in AIX though.
@Tpendrup Can you elaborate a bit on the XSLT library that you are using on AIX. Thanks
On AIX we have tried "Saxon9-9.2.1.5" and "SaxonHE9-6-0-7J" . Both versions works fine on Linux and Windows.
I have left a note with MySupply in Denmark - to see if they have an AIX system we can use to verify the problem.
I potentially has something to do with the IBM JDK used on AIX compared to the Oracle JDK...
Good news. The issue is solved by updating our 2009 JAVA.6 (IBM jre) with the latest fixes,. Thank you all.
Thank you for your comments!
Hello We have tried to run the new 3.1 PEPPOL schematrons on our system (AIX 5.3 wpar on 7.1 lpar). We found a problem in "BIIRULES-UBL-T10.xsl" that fails on this rule: "[BII2-T10-R058]-Invoice total without VAT MUST be equal to the sum of VAT category taxable amounts; " When we run the same validation on the same document on Windows and Linux we get no errors. We have tried different versions of Saxon9 and Java on all environments with the same result:
Does anybody have any idea about what the problem might be.
You can find the testfile here: https://joinup.ec.europa.eu/community/pid/topic/problems-new-validation-package-aix