Attribute '@schemeID' is required in this context.
The buyer agent’s ram:GlobalID element has no schemeID attribute, although this attribute is required in this context.
schemeID identifies the scheme of the global identifier. Without this attribute, the scheme information required in this XML context is missing.
The required schemeID attribute is missing from the buyer agent’s ram:GlobalID. Add it so the identifier specifies its scheme.
- Add the
schemeIDattribute to the buyer agent’sram:GlobalID. - Generate the invoice again and validate it once more.
Technical details
The rule checks whether the @schemeID attribute is present on ram:GlobalID; it does not check the value’s validity here.
The rule applies to the schemeID attribute of the ram:GlobalID element for the buyer agent.
rule/@context)assert/@test)