Attribute '@schemeID' is required in this context.
The required schemeID attribute is missing from ram:GlobalID.
The schemeID attribute identifies the scheme to which the global identifier in ram:GlobalID belongs.
The seller’s global identifier in ram:GlobalID has no schemeID. Add this attribute to identify the scheme of the identifier.
- Find
ram:GlobalIDinSellerTradeParty. - Add the
schemeIDattribute to the element. - Generate the invoice again and validate it once more.
<ram:GlobalID>123456</ram:GlobalID>
<ram:GlobalID schemeID="…">123456</ram:GlobalID>
Technical details
The test checks whether the schemeID attribute is present in the ram:GlobalID context.
The rule applies to ram:GlobalID in the seller details SellerTradeParty.
rule/@context)assert/@test)