FpML Issues Tracker

587: Validation Rule documentation lists a Namespace – what is its purpose?

February 22, 2008

closed

Minor

Always

Validation Rules

SteveTurner

None

Summary

In 4.4 documentation (e.g. http://www.fpml.org/spec/fpml-4-4-4-wd-3/html/validation-rules/rules-english-shared.html#namespace) a namespace section has been added for the 1st time and has a value of: 'http://www.fpml.org/spec/fpml-4-4-4-wd-3'. What is the purpose of this? It does not correspond to the namespace of the 4.4 release.

Notes:

  • mgratacos

    03/03/08 10:58 am

    This is a mistake. It should correspond to the namespace of the release.

  • SteveTurner

    03/03/08 2:00 pm

    Thanks for the clarification. As part of rule validation how is it envisaged the namespace is used? If messages carry the namespace from an earlier version of FpML what are the implications? Is there any intention for the validation rules to be backwardly compatible? (e.g. A valid 4.2 message should be valid in 4.4)

  • matthewdr

    04/29/08 4:26 pm

    The namespace states the default namespace to be used when evaluating the XPath statements for ‘pre-conditions’ and rules. Before then the namespace used was unspecified – not wildcarded, just unstated.

    If the messages were declared using the namespace from an earlier version of FpML then they would be the earlier version of FpML and the rules for the earlier version would apply. You cannot use namespace from one version and rules from another when the rules have the namespace as part of the rule.

    There is a need to define what the namespace is. I suggest it is named “Default namespace”, so we know what it is for.

  • matthewdr

    04/30/08 3:27 pm

    I discussed the issue with Steven. He is satisfied.

  • Leave an update

    You must be logged in to post an update.