SDC:R0057

R0057: If an SDC SERVICE PROVIDER requires safety information to be transmitted from an SDC SERVICE CONSUMER for a MESSAGE exchange, then the SDC SERVICE PROVIDER SHALL define XPath expressions for mdpws:SafetyContextDef/mdpws:Selector with an XPath root node that is equal to the pm:Mdib ELEMENT of that SDC SERVICE PROVIDER in the current MDIB version.

  • R0057 defines the XPath root node as MDPWS does not define the root.
  • Setting the XPath root node to pm:Mdib for the mdpws:SafetyContextDef/mdpws:Selector “./Your-XPath-Here” is equal to applying the following XPath expression to any XML infoset that contains the type pm:Mdib:“//Mdib[1]/Your-XPath-Here”, where Mdib[1] is referencing the first pm:Mdib element to be the root for the given XPath expression.

From chapter 7. SDC Participant Model Binding