Getting Started with the Formal Semantics

The formal semantics of XQuery has three components: a dynamic semantics, a static semantics, and normalization rules. The dynamic semantics specifies precisely the relationship between input data, an XQuery expression, and output data. The static semantics specifies precisely the relationship between the type of the input data, an XQuery expression, and the type of the output data. The dynamic and static semantics are related by the important type soundness theorem. The normalization rules transform full XQuery into a small core language, which is easier to define, implement, and optimize. The dynamic and static semantics are defined in terms of the core language.

The XQuery formal semantics describes ...

Get XQuery from the Experts: A Guide to the W3C XML Query Language now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.