• DocumentCode
    917786
  • Title

    Static analysis of XML transformations in Java

  • Author

    Kirkegaard, Christian ; MØller, Anders ; Schwartzbach, Michael I.

  • Author_Institution
    Dept. of Comput. Sci., Aarhus Univ., Denmark
  • Volume
    30
  • Issue
    3
  • fYear
    2004
  • fDate
    3/1/2004 12:00:00 AM
  • Firstpage
    181
  • Lastpage
    192
  • Abstract
    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 XACT, 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 schemes for the input and output of a program, our analysis algorithm will statically verify that valid input data is always transformed into valid output data and that the operations are used consistently.
  • Keywords
    Java; XML; formal specification; formal verification; program diagnostics; Java; XML document; XML transformation; language constructs; markup language; requirement specification; static analysis; static type checking; Algorithm design and analysis; Computer languages; Humans; Java; Markup languages; Runtime; Tree data structures; Vocabulary; Web services; XML;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2004.1271173
  • Filename
    1271173