Validity-Sensitive Querying of XML Databases

  • Slawomir Staworko
  • Jan Chomicki
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4254)


We consider the problem of querying XML documents which are not valid with respect to given DTDs. We propose a framework for measuring the invalidity of XML documents and compactly representing minimal repairing scenarios. Furthermore, we present a validity-sensitive method of querying XML documents, which extracts more information from invalid XML documents than does the standard query evaluation. Finally, we provide experimental results which validate our approach.


Edit Distance Query Answer XPath Query Valid Answer Semistructured Data 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Abiteboul, S., McHugh, J., Rys, M., Vassalos, V., Wiener, J.L.: Incremental Maintenance for Materialized Views over Semistructured Data. In: International Conference on Very Large Data Bases (VLDB), pp. 38–49 (1998)Google Scholar
  2. 2.
    Aho, A.V., Peterson, T.G.: A Minimum Distance Error-Correcting Parser for Context-Free Languages. SIAM Journal on Computing 1(4), 305–312 (1972)zbMATHCrossRefMathSciNetGoogle Scholar
  3. 3.
    Amer-Yahia, S., Cho, S., Srivastava, D.: Tree pattern relaxation. In: Jensen, C.S., Jeffery, K., Pokorný, J., Šaltenis, S., Bertino, E., Böhm, K., Jarke, M. (eds.) EDBT 2002. LNCS, vol. 2287, pp. 496–513. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  4. 4.
    Arenas, M., Bertossi, L., Chomicki, J.: Consistent Query Answers in Inconsistent Databases. In: ACM Symposium on Principles of Database Systems (PODS) (1999)Google Scholar
  5. 5.
    Balmin, A., Papakonstantinou, Y., Vianu, V.: Incremental Validation of XML Documents. ACM Transactions on Database Systems (TODS) 29(4), 710–751 (2004)CrossRefGoogle Scholar
  6. 6.
    Benedikt, M., Fan, W., Geerts, F.: XPath Satisfiability in the Presence of DTDs. In: ACM Symposium on Principles of Database Systems (PODS) (2005)Google Scholar
  7. 7.
    Bille, P.: Tree Edit Distance, Aligment and Inclusion. Technical Report TR-2003-23, The IT University of Copenhagen (2003)Google Scholar
  8. 8.
    Bohannon, P., Flaster, M., Fan, W., Rastogi, R.: A Cost-Based Model and Effective Heuristic for Repairing Constraints by Value Modification. In: ACM SIGMOD International Conference on Management of Data (2005)Google Scholar
  9. 9.
    Boobna, U., de Rougemont, M.: Correctors for XML Data. In: International XML Database Symposium, pp. 97–111 (2004)Google Scholar
  10. 10.
    Flesca, S., Furfaro, F., Greco, S., Zumpano, E.: Repairs and Consistent Answers for XML Data with Functional Dependencies. In: International XML Database Symposium (2003)Google Scholar
  11. 11.
    Flesca, S., Furfaro, F., Greco, S., Zumpano, E.: Querying and repairing inconsistent XML data. In: Ngu, A.H.H., Kitsuregawa, M., Neuhold, E.J., Chung, J.-Y., Sheng, Q.Z. (eds.) WISE 2005. LNCS, vol. 3806, pp. 175–188. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  12. 12.
    Fuxman, A., Fazli, E., Miller, R.J.: ConQuer: Efficient Management of Inconsistent Databases. In: ACM SIGMOD International Conference on Management of Data (2005)Google Scholar
  13. 13.
    Gottlob, G., Koch, C., Pichler, R.: XPath Processing in a Nutshell. SIGMOD Record 32(2), 21–27 (2003)CrossRefGoogle Scholar
  14. 14.
    Grahne, G., Thomo, A.: Query answering and containment for regular path queries under distortions. In: Seipel, D., Turull-Torres, J.M.a. (eds.) FoIKS 2004. LNCS, vol. 2942, pp. 98–115. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  15. 15.
    Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation, 2nd edn. Addison Wesley, Reading (2001)zbMATHGoogle Scholar
  16. 16.
    Klarlund, A., Schwentick, T., Suciu, D.: XML: Model, Schemas, Types, Logics and Queries. In: Chomicki, J., van der Meyden, R., Saake, G. (eds.) Logics for Emerging Applications of Databases. Springer, Heidelberg (2003)Google Scholar
  17. 17.
    Low, W.L., Tok, W.H., Lee, M., Ling, T.W.: Data Cleaning and XML: The DBLP Experience. In: International Conference on Data Engineering (ICDE), p. 269 (2002)Google Scholar
  18. 18.
    Marx, M.: Conditional XPath, the First Order Complete XPath Dialect. In: ACM Symposium on Principles of Database Systems (PODS), pp. 13–22 (2004)Google Scholar
  19. 19.
    Neven, F.: Automata, Logic, and XML. In: Bradfield, J.C. (ed.) CSL 2002 and EACSL 2002. LNCS, vol. 2471, pp. 2–26. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  20. 20.
    Nierman, A., Jagadish, H.V.: Evaluating Structural Similarity in XML Documents. In: Workshop on the Web and Databases (WebDB), pp. 61–66 (2002)Google Scholar
  21. 21.
    Polyzotis, P., Garofalakis, M.N., Ioannidis, Y.E.: Approximate XML Query Answers. In: ACM SIGMOD International Conference on Management of Data, pp. 263–274 (2004)Google Scholar
  22. 22.
    Selkow, S.M.: The Tree-to-Tree Editing Problem. Information Processing Letters (1977)Google Scholar
  23. 23.
    Shasha, D., Zhang, K.: Approximate Tree Pattern Matching. In: Apostolico, A., Galil, Z. (eds.) Pattern Matching in Strings, Trees, and Arrays, pp. 341–371. Oxford University Press, Oxford (1997)Google Scholar
  24. 24.
    Vardi, M.Y.: The Complexity of Relational Query Languages. In: ACM Symposium on Theory of Computing (STOC), pp. 137–146 (1982)Google Scholar
  25. 25.
    Vllalobos, S.: Consistent Answers to Queries Posed to Inconsistent XML Databases. Master’s thesis, Catholic University of Chile (PUC) (2003) (in Spanish)Google Scholar
  26. 26.
    W3C. XML path language (XPath 1.0) (1999)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Slawomir Staworko
    • 1
  • Jan Chomicki
    • 1
  1. 1.University at Buffalo 

Personalised recommendations