Frontiers of tractability for typechecking simple XML transformations

作者:

Highlights:

摘要

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.

论文关键词:XML,XSLT,Tree transformations,Typechecking,Unranked tree transducers,Complexity

论文评审过程:Received 29 December 2004, Revised 3 January 2006, Available online 17 November 2006.

论文官网地址:https://doi.org/10.1016/j.jcss.2006.10.005