Frontiers of tractability for typechecking simple XML transformations

  • Authors:
  • Wim Martens;Frank Neven

  • Affiliations:
  • Hasselt University and Transnational University of Limburg, Agoralaan, Building D, B-3590 Diepenbeek, Belgium;Hasselt University and Transnational University of Limburg, Agoralaan, Building D, B-3590 Diepenbeek, Belgium

  • Venue:
  • Journal of Computer and System Sciences
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Typechecking consists of statically verifying whether the output of an XML transformation is always conform to an output type for documents satisfying a given input type. We focus on complete algorithms which always produce the correct answer. We consider top-down XML transformations incorporating XPath expressions and abstract document types by grammars and tree automata. By restricting schema languages and transformations, we identify several practical settings for which typechecking can be done in polynomial time. Moreover, the resulting framework provides a rather complete picture as we show that most scenarios cannot be enlarged without rendering the typechecking problem intractable. So, the present research sheds light on when to use fast complete algorithms and when to reside to sound but incomplete ones.