Skip to main content

Refinement Correction Strategy for Invalid XML Documents and Regular Tree Grammars

  • Conference paper
Database and Expert Systems Applications (DEXA 2014)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 8644))

Included in the following conference series:

  • 1171 Accesses

Abstract

It was shown that real-world XML documents often contain errors that make their processing complicated or impossible. Having a potentially invalid XML document, our goal is to find its structural corrections with respect to a provided schema represented in DTD or XSD languages. In this paper we propose several improvements of algorithms we introduced earlier, extend our model to support the full expressive power of regular tree grammars and we still guarantee that all the minimal corrections are found regardless the extent of document invalidity. According to experiments, our new correction algorithm outperforms the existing ones by more than two times, achieves near linear execution times in practice and works successfully on documents of sizes up to two orders of magnitude higher than those assumed so far.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Amavi, J., Bouchou, B., Savary, A.: On Correcting XML Documents with Respect to a Schema. The Computer Journal (2013); 10.1093/comjnl/bxt006

    Google Scholar 

  2. Bouchou, B., Cheriat, A., Ferrari, M.H., Savary, A.: Integrating Correction into Incremental Validation. In: BDA (2006)

    Google Scholar 

  3. Bray, T., Paoli, J., Sperberg-McQueen, C.M., Maler, E., Yergeau, F.: Extensible Markup Language (XML) 1.0, 5th edn. (2008), http://www.w3.org/TR/xml/

  4. Fallside, D.C., Walmsley, P.: XML Schema Part 0: Primer, 2nd edn. (2004), http://www.w3.org/TR/xmlschema-0/

  5. 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)

    Chapter  Google Scholar 

  6. Mlynkova, I., Toman, K., Pokorny, J.: Statistical Analysis of Real XML Data Collections. In: Proceedings of the 13th International Conference on Management of Data, vol. 6, pp. 20–31 (2006)

    Google Scholar 

  7. Murata, M., Lee, D., Mani, M., Kawaguchi, K.: Taxonomy of XML Schema Languages using Formal Language Theory. ACM Transactions on Internet Technology 5(4), 660–704 (2005)

    Article  Google Scholar 

  8. Staworko, S., Chomicki, J.: Validity-Sensitive Querying of XML Databases. In: Grust, T., Höpfner, H., Illarramendi, A., Jablonski, S., Fischer, F., Müller, S., Patranjan, P.-L., Sattler, K.-U., Spiliopoulou, M., Wijsen, J. (eds.) EDBT 2006. LNCS, vol. 4254, pp. 164–177. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  9. Svoboda, M., Mlýnková, I.: Correction of Invalid XML Documents with Respect to Single Type Tree Grammars. In: Fong, S. (ed.) NDT 2011. CCIS, vol. 136, pp. 179–194. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  10. Svoboda, M., Mlýnková, I.: An Incremental Correction Algorithm for XML Documents and Single Type Tree Grammars. In: Benlamri, R. (ed.) NDT 2012, Part I. CCIS, vol. 293, pp. 235–249. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  11. Tan, Z., Zhang, Z., Wang, W., Shi, B.: Computing Repairs for Inconsistent XML Document Using Chase. In: Dong, G., Lin, X., Wang, W., Yang, Y., Yu, J.X. (eds.) APWeb/WAIM 2007. LNCS, vol. 4505, pp. 293–304. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Svoboda, M., Holubová (Mlýnková), I. (2014). Refinement Correction Strategy for Invalid XML Documents and Regular Tree Grammars. In: Decker, H., Lhotská, L., Link, S., Spies, M., Wagner, R.R. (eds) Database and Expert Systems Applications. DEXA 2014. Lecture Notes in Computer Science, vol 8644. Springer, Cham. https://doi.org/10.1007/978-3-319-10073-9_25

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-10073-9_25

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-10072-2

  • Online ISBN: 978-3-319-10073-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics