Skip to content

[BR-63] fails if multiple URIUniversalCommunication are present #369

@JannickWeisshaupt

Description

@JannickWeisshaupt

The rule [BR-63] fails with the following error
Error processing schematron validation Schematron rules for EN16931 (CII). Error is A sequence of more than one item is not allowed as the first argument of fn:normalize-space() ("EM", "EM")
when multiple URIUniversalCommunication are present as follows:

                <ram:URIUniversalCommunication>
                    <ram:URIID schemeID="EM">seller@email.de</ram:URIID>
                </ram:URIUniversalCommunication>
                                <ram:URIUniversalCommunication>
                    <ram:URIID schemeID="EM">seller2@email.de</ram:URIID>
                </ram:URIUniversalCommunication>

The problematic line seems to be
normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID) != ''

Here is an example invoice
en16931_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions