Typechecking for XML transformers
作者:
Highlights:
•
摘要
We study the typechecking problem for XML (eXtensible Markup Language) transformers: given an XML transformation program and a DTD for the input XML documents, check whether every result of the program conforms to a specified output DTD. We model XML transformers using a novel device called a k-pebble transducer, that can express most queries without data-value joins in XML-QL, XSLT, and other XML query languages. Types are modeled by regular tree languages, a robust extension of DTDs. The main result of the paper is that typechecking for k-pebble transducers is decidable. Consequently, typechecking can be performed for a broad range of XML transformation languages, including XML-QL and a fragment of XSLT.
论文关键词:
论文评审过程:Received 1 November 2000, Revised 1 January 2002, Available online 13 February 2003.
论文官网地址:https://doi.org/10.1016/S0022-0000(02)00030-2