首页    期刊浏览 2025年07月14日 星期一
登录注册

文章基本信息

  • 标题:Static Analysis of XML Transformations in Java
  • 本地全文:下载
  • 作者:Christian Kirkegaard ; Anders Møller ; Michael I. Schwartzbach
  • 期刊名称:BRICS Report Series
  • 印刷版ISSN:0909-0878
  • 出版年度:2003
  • 卷号:10
  • 期号:19
  • 出版社:Aarhus University
  • 摘要:XML documents generated dynamically by programs are typically represented as text strings or DOM trees. This is a low-level approach for several reasons: 1) Traversing and modifying such structures can be tedious and error prone; 2) Although schema languages, e.g. DTD, allow classes of XML documents to be defined, there are generally no automatic mechanisms for statically checking that a program transforms from one class to another as intended. We introduce X ACT , a high-level approach for Java using XML templates as a first-class data type with operations for manipulating XML values based on XPath. In addition to an efficient runtime representation, the data type permits static type checking using DTD schemas as types. By specifying schemas for the input and output of a program, our algorithm will statically verify that valid input data is always transformed into valid output data and that no errors occur during processing.
国家哲学社会科学文献中心版权所有