Home

MS Base

  • prefix: ms:
  • schema: b:

Categories (Data):

Categories (Governance):

values:

 
 

Schema element "b:Expression"

Read the the explanation for a full overview.

Definitions

<simpleType name="Expression">
  <restriction base="string" />
</simpleType>

Description

The expression results in any kind of computed value. Read the details.

The syntax of conditions mimics any C-like language. You may use other defined expressions by name. Also, the service may offer additional names which produce values.

Services MAY decide to refuse all expressions which it has not predefined itself. Those are run-time errors. Also, they MAY refuse expressions which it cannot be handled fast enough. Changing the accepted syntax must be reflected in —at least a minor— version increment and be documented.

Discussion

no pre-parsed expressions

Many (XML) schemas bend themselves in strange and complex ways to store a parsed version if expressions. That makes using them needlessly complex: a simple expression parser on the receiving side makes it easier to configure to receive data.


mark@overmeer.net      Web-pages generated on 2023-12-19