The following definitions are added to the XQuery static context (documented in Section 2.1.1 Static Context XQ30):
[Definition:
Revalidation mode, which may be strict
, lax
, or skip
,
is a component of the static context that controls the behavior of the
upd:revalidate
operation.
]
Support for each of the three revalidation modes is implementation-defined; however, an implementation must support at least one of the three revalidation modes. If a [4.1 Revalidation Declaration] specifies a revalidation mode that is not supported by the current implementation, a static error is raised [err:XUST0026].
The table of static context components Section C.1 Static Context Components XQ30 is augmented with the following new row:
Component: Revalidation mode
Default initial value: lax
.
Can be overwritten or augmented by an implementation: Overwritable (implementation defined.)
Can be overwritten or augmented by prolog: Overwritable using a prolog declaration.
Can be overwritten or augmented by expressions: No.
Consistency rules: Must be strict
, lax
, or skip
.