phax / phive-rules

A set of preconfigured rules for the phive engine
Other
25 stars 8 forks source link

XSLT Warning PEPPOL-EN16931-UBL.xslt Rule - Function should use xsl:sequence rather than xsl:value-of #3

Closed traker9999 closed 4 years ago

traker9999 commented 4 years ago

Hello,

we are using BDVE for validation of OpenPeppol BIS 3 Invoice and CreditNote. The latest xslt Version leads to a compiler warning:

Warning at function u:slack on line 31 of PEPPOL-EN16931-UBL.xslt:
  SXWN9000  A function that computes atomic values should use xsl:sequence rather than xsl:value-of

The Warning is thrown here: PEPPOL-EN16931-UBL.xslt

We test it using Saxon 10.0 HE. Is there a possible fix for it? Thank you

phax commented 4 years ago

Hi @traker9999 thanks for pinging 👍 Luckily this is just a warning and therefore not blocking the validation of business documents. As I am not the author of these rules may I ask you to report this error directly to them? According to https://github.com/OpenPEPPOL/peppol-bis-invoice-3 you should use the Peppol ServiceDesk (https://openpeppol.atlassian.net/servicedesk/customer/portal/1) to so. Thanks.

traker9999 commented 4 years ago

Thank you for your answer. We will do so. Kind regards