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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Amavi, J., Bouchou, B., Savary, A.: On Correcting XML Documents with Respect to a Schema. The Computer Journal (2013); 10.1093/comjnl/bxt006
Bouchou, B., Cheriat, A., Ferrari, M.H., Savary, A.: Integrating Correction into Incremental Validation. In: BDA (2006)
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/
Fallside, D.C., Walmsley, P.: XML Schema Part 0: Primer, 2nd edn. (2004), http://www.w3.org/TR/xmlschema-0/
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)
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)
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)
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)
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)
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)
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)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)