Semantics, Types and Effects for XML Updates

  • Authors:
  • Michael Benedikt;James Cheney

  • Affiliations:
  • Oxford University Computing Laboratory,;Laboratory for Foundations of Computer Science, University of Edinburgh,

  • Venue:
  • DBPL '09 Proceedings of the 12th International Symposium on Database Programming Languages
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The W3C recently released the XQuery Update Facility 1.0, a Candidate Recommendation for an XML update language. It appears likely that this proposal will become standard. XQuery has been equip- ped with a formal semantics and sound type system, but there has been little work on static analysis or typechecking of XML updates, and the typing rules in the current W3C proposal appear unsound for "transform" queries that perform embedded updates. In this paper, we investigate the problem of schema alteration , or synthesizing an output schema describing the result of an update applied to a given input schema. We review regular expression type systems for XQuery, present a core language and semantics for W3C-style XML updates, and develop an effect analysis and schema alteration, which can be used as the basis for sound typechecking for queries involving "transform".