Abstract
Jose Meseguer is one of the earliest contributors in the area of Algebraic Specification. In this paper, which we are happy to dedicate to him on the occasion of his 65th birthday, we use ideas and methods coming from that area with the aim of presenting an approach for the specification of the structure of classes of XML documents and for reasoning about them. More precisely, we specify the structure of documents using sets of constraints that are based on XPath and we present inference rules that are shown to define a sound and complete refutation procedure for checking satisfiability of a given specification using tableaux.
This work has been partially supported by funds from the Spanish Ministry for Economy and Competitiveness (MINECO) and the European Union (FEDER funds) under grant COMMAS (ref. TIN2013-46181-C2-1-R, TIN2013-46181-C2-2-R) and from the Basque Project GIU12/26, and grant UFI11/45.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
The least equivalence relation satisfying that if f is a morphism in the diagram and \(f(n) = n'\), then \(n\equiv n'\).
- 2.
To be more precise there are nodes \(m_1, m_2\), such that \(m_1//m_2\) holds in p, \(h_p(m_1)=n_1\) and \(h_p(m_2)=n_2\).
References
Albors, J., Navarro, M.: SpecSatisfiabilityTool: a tool for testing the satisfiability of specifications on XML documents. In: Proceedings of PROLE 2014, EPTCS, vol. 173, pp. 27–40 (2015)
Alpuente, M., Ballis, D., Falaschi, M.: Automated verification of web sites using partial rewriting. Softw. Tools Technol. Transf. 8, 565–585 (2006)
Benedikt, M., Fan, W., Geerts, F.: XPath satisfiability in the presence of DTDs. JACM 55, 2 (2008)
Benedikt, M., Koch, C.: XPath leashed. ACM Comput. Surv. 41, 1 (2008)
Bidoit, N., Colazzo D.: Testing XML constraint satisfiability. In: Proceedings of the International Workshop on Hybrid Logic (HyLo 2006), ENTCS, vol. 174(6), pp. 45–61 (2007)
Habel, A., Pennemann, K.H.: Correctness of high-level transformation systems relative to nested conditions. Math. Struct. Comput. Sci. 19(2), 245–296 (2009)
Habel A., Radke H.: Expressiveness of graph conditions with variables. In: International Colloquium on Graph and Model Transformation GraMoT 2010, ECEASST, vol. 30 (2010)
Hähnle, R.: Tableaux and related methods. In: Robinson, J.A., Voronkov, A. (eds.) Handbook of Automated Reasoning, pp. 100–178. Elsevier, Amsterdam (2001)
Jelliffe, R.: Schematron, Internet Document. http://xml.ascc.net/resource/schematron/
Kilpelainen, P., Mannila, H.: Ordered and unordered tree inclusion. SIAM J. Comput. Arch. 24(2), 340–356 (1995)
Miklau, G., Suciu, D.: Containment and equivalence for a fragment of XPath. JACM 51(1), 2–45 (2004)
Nentwich, C., Emmerich, W., Finkelstein, A., Ellmer, E.: Flexible consistency checking. ACM Trans. Softw. Eng. Methodol. 12(1), 28–63 (2003)
Navarro, M., Orejas, F.: A refutation procedure for proving satisfiability of constraint specifications on XML documents. In: SCSS 2014, EasyChair EPiC series, vol. 30, pp. 47–61 (2014)
Orejas, F.: Symbolic graphs for attributed graph constraints. J. Symb. Comput. 46(3), 294–315 (2011)
Orejas, F., Ehrig, H., Prange, U.: A logic of graph constraints. In: Fiadeiro, J.L., Inverardi, P. (eds.) FASE 2008. LNCS, vol. 4961, pp. 179–198. Springer, Heidelberg (2008)
Orejas, F., Ehrig, H., Prange, U.: Reasoning with graph constraints. Formal Asp. Comput. 22(3–4), 385–422 (2010)
World WIDE WEB CONSORTIUM: XML path language (XPath) recommendation (1999). http://www.w3c.org/TR/XPath/
World WIDE WEB CONSORTIUM: XSL transformations (XSLT). W3C recommendation version 1.0 (1999). http://www.w3.org/TR/xslt
World WIDE WEB CONSORTIUM: XML schema part 0: Primer. W3C recommendation (2001). http://www.w3c.org/XML/Schema
World WIDE WEB CONSORTIUM: XQuery 1.0 and XPath 2.0 formal semantics. W3C working draft (2002). http://www.w3.org/TR/query-algebra/
WORLD WIDE WEB CONSORTIUM: XML path language (XPath) 2.0 (2007)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Navarro, M., Orejas, F., Pino, E. (2015). Satisfiability of Constraint Specifications on XML Documents. In: Martí-Oliet, N., Ölveczky, P., Talcott, C. (eds) Logic, Rewriting, and Concurrency. Lecture Notes in Computer Science(), vol 9200. Springer, Cham. https://doi.org/10.1007/978-3-319-23165-5_25
Download citation
DOI: https://doi.org/10.1007/978-3-319-23165-5_25
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-23164-8
Online ISBN: 978-3-319-23165-5
eBook Packages: Computer ScienceComputer Science (R0)