Efficient static analysis of XML paths and types
read more
Citations
Automating Separation Logic with Trees and Data
Semantic subtyping with an SMT solver
Set-theoretic foundation of parametric polymorphism and subtyping
SPARQL query containment under RDFS entailment regime
Reasoning about XML with temporal logics and automata
References
Graph-Based Algorithms for Boolean Function Manipulation
Model checking
Design and Synthesis of Synchronization Skeletons Using Branching-Time Temporal Logic
Results on the propositional μ-calculus
XML Path Language (XPath) Version 1.0
Related Papers (5)
Frequently Asked Questions (18)
Q2. What are the contributions in "Efficient static analysis of xml paths and types" ?
The authors present an algorithm to solve XPath decision problems under regular tree type constraints and show its use to statically typecheck XPath queries. To this end, the authors prove the decidability of a logic with converse for finite ordered trees whose time complexity is a simple exponential of the size of a formula. Building on these results, the authors describe a practical, effective system for solving the satisfiability of a formula.
Q3. What have the authors stated for future works in "Efficient static analysis of xml paths and types" ?
Finally, there are a number of interesting directions for further research that build on ideas developed here: extending XPath to restricted data values comparisons that preserves this complexity, for instance data values on a finite domain, and integrating related work on counting [ 8 ] to their logic. The authors also plan on continuing to improve the performance of their implementation.
Q4. What is the expressive decidable logic used in XHTML?
specifically the weak monadic second-order logic of two successors (WS2S) [9], is one of the most expressive decidable logic used when both regular types and queries [2] are under consideration.
Q5. What is the reason why the lemma holds?
As the tree and the number of subformulas are finite, the satisfaction derivation is finite hence only a finite number of unfolding is necessary to prove that the tree satisfies the formula, which is what the lemma states.
Q6. What is the essence of the results?
The essence of their results lives in a sub-logic of the alternation free modal µ-calculus (AFMC) with converse, some syntactic restrictions on formulas, without greatest fixpoint, and whose models are finite trees.
Q7. What is the function that stops the selection of a node?
To preserve semantics, the translation of p[q] stops the “selecting navigation” to those nodes reached by p, then filters them depending on whether q holds or not.
Q8. What is the meaning of cycle free formulas?
Given a tree, if a formula ϕ is cycle free, then every node of the tree will be tested a finite number of time against any given subformula of ϕ.
Q9. What is the main result of the paper?
The main result of their paper is a sound and complete algorithm for the satisfiability of decision problems involving regular tree types and XPath queries with a tighter 2O(n) complexity in the length of a formula.
Q10. What is the translation function for XPath?
5. The translation function, noted “A→JaKχ”, takes an XPath axis a as input, and returns its Lµ translation, parameterized by the Lµ formula χ given as parameter.
Q11. what formalisms exist for describing types of XML documents?
The following hold for an XPath expression e and a Lµ formula ϕ denoting a set of focused trees, with ψ = E→JeKϕ:1. JψK∅ = SeJeKJϕK∅ 2. ψ is cycle-free 3. the size of ψ is linear in the size of e and ϕSeveral formalisms exist for describing types of XML documents (e.g. DTD, XML Schema, Relax NG).
Q12. how do the authors add a triple to a type?
The algorithm proceeds in a bottom-up approach, repeatedly adding new triples until a satisfying model is found (i.e. a triple whose first component is a type implying the formula), or until nomore triple can be added.
Q13. What is the function that checks whether a formula is produced?
To check a formula ϕ, their algorithm builds satisfiable formulas out of some subformulas (and their negation) of ϕ, then checks whether ϕ was produced.
Q14. What are the main directions for further research?
there are a number of interesting directions for further research that build on ideas developed here: extending XPath to restricted data values comparisons that preserves this complexity, for instance data values on a finite domain, and integrating related work on counting [8] to their logic.
Q15. What is the important factor in the analysis of XHTML?
For the XHTML case, the authors observe that the time needed is more important, but it remains practically relevant, especially for static analysis operations performed only at compile-time.
Q16. What did previous work show that XPath decision problems are complicated?
Previous works [28, 3] showed that including general comparisons of data values from an infinite domain may lead to undecidability.
Q17. What type of tests can be used to check the XPath equival?
The tests use XPath expressions shown on Fig. 12 (where “//” is used as a shorthand for “/desc-or-self::*/”) and XML types shown on Table 1.
Q18. What is the main difference between the two approaches?
The approach only deals with emptiness of XPathexpressions without reverse axes, whereas their approach solves the more general problem of containment, including reverse axes.