BRICS Report Series · 2003 · 13 citations · 20 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringAbstract Syntax TreesApplication Programming InterfacesData-flow AnalysisSoftware DesignType CheckingType SystemsRuntime RepresentationStatic Type CheckingXml Data ModelsXml ParsingXml Schema LanguagesXpath
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<small>ACT</small>, 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.
20
Precise analysis of string expressions
2003 · 400 citations
Computing, Computer Science, Natural Language Processing +14
Donald D. Chamberlin · IBM Systems Journal · 2002 · 398 citations
Monotone data flow analysis frameworks
John B. Kam, Jeffrey D. Ullman · Acta Informatica · 1977 · 380 citations
DTD inference for views of XML data
Yannis Papakonstantinou, Victor Vianu · 2000 · 220 citations
Typechecking for XML transformers
Tova Milo, Dan Suciu, Victor Vianu · 2000 · 156 citations · Full text