Approximate XML structure validation technical report

Comparing XML documents with XML grammars, also known as XML document and grammar validation, is useful in various scenarios and applications such as: XML document classification, document transformation, grammar evolution, XML retrieval, and the selective dissemination of information. While exact (...

وصف كامل

محفوظ في:
التفاصيل البيبلوغرافية
المؤلف الرئيسي: Tekli, Joe (author)
مؤلفون آخرون: Chbeir, Richard (author), Traina, Caetano Jr. (author), Traina, Agma J. M. (author), Fileto, Renato (author)
التنسيق: article
منشور في: 2014
الوصول للمادة أونلاين:http://hdl.handle.net/10725/5881
http://libraries.lau.edu.lb/research/laur/terms-of-use/articles.php
https://www.semanticscholar.org/paper/Approximate-XML-Structure-Validation-Technical-%E2%80%93-Tekli-Chbeir/252b2b3540c90966d6591e26c7534fdb391db945
الوسوم: إضافة وسم
لا توجد وسوم, كن أول من يضع وسما على هذه التسجيلة!
الوصف
الملخص:Comparing XML documents with XML grammars, also known as XML document and grammar validation, is useful in various scenarios and applications such as: XML document classification, document transformation, grammar evolution, XML retrieval, and the selective dissemination of information. While exact (Boolean) XML validation has been extensively investigated in the literature, the more general problem of approximate (similarity-based) XML validation, i.e., document-grammar similarity evaluation, has not yet received strong attention. In this paper, we propose an original method for measuring the structural similarity between an XML document and an XML grammar (DTD or XSD), considering their most common operators that designate constraints on the existence, repeatability and alternativeness of XML elements/attributes (e.g., ?, *, MinOccurs, MaxOccurs, etc.). Our approach exploits the concept of tree edit distance, introducing a novel edit distance recurrence and dedicated algorithms to effectively compare XML documents and grammar structures, modeled as ordered labeled trees. Our method also inherently performs exact validation by imposing a maximum similarity threshold (minimum edit distance) on the returned results. We implemented a prototype and conducted several experiments on large sets of real and synthetic XML documents and grammars. Results underline our approach’s effectiveness in classifying similar documents with respect to predefined grammars, accuratly detecting document and/or grammar modifications, and performing document and grammar relevance ranking. Time and space analysis were also conducted. This technical report contains only proofs, computation examples, and several experimental results.