The use of schemas makes an XML-based application more reliable, since they contribute to avoid failures by defining the specific format for the data that the application manipulates. In practice, when an application evolves, new requirements for the data may be established, raising the need of schema evolution. In some cases the generation of a schema is necessary, if such schema does not exist. To reduce maintenance and reengineering costs, automatic evolution of schemas is very desirable. However, there are no algorithms to satisfactorily solve the problem. To help in this task, this paper introduces a search-based approach that explores the correspondence between schemas and context-free grammars. The approach is supported by a tool, named EXS. Our tool implements algorithms of grammatical inference based on LL(1) Parsing. If a grammar (that corresponds to a schema) is given and a new word (XML document) is provided, the EXS system infers the new grammar that: i) continues to generate the same words as before and ii) generates the new word, by modifying the original grammar. If no initial grammar is available, EXS is also capable of generating a grammar from scratch from a set of samples.
Publié le : 2012-08-10
Classification:  XML-based applications; DTD; LL parsing,  68N30
@article{cai1009,
     author = {Julio Cesar Teodoro Silva; Department of Informatics, Federal University of Paran\'a, CP 19081, CEP 81531-970 Curitiba-PR and Aurora Trinidad Ramirez Pozo; Department of Informatics, Federal University of Paran\'a, CP 19081, CEP 81531-970 Curitiba-PR and Silvia Regina Vergilio; Department of Informatics, Federal University of Paran\'a, CP 19081, CEP 81531-970 Curitiba-PR and Martin A. Musicante; Department of Informatics and Applied Mathematics, Federal University of Rio Grande do Norte, CP 1647, CEP 59000-000 Natal-RN},
     title = {Search-Based Evolution of XML Schemas},
     journal = {Computing and Informatics},
     volume = {28},
     number = {1},
     year = {2012},
     language = {en},
     url = {http://dml.mathdoc.fr/item/cai1009}
}
Julio Cesar Teodoro Silva; Department of Informatics, Federal University of Paraná, CP 19081, CEP 81531-970 Curitiba-PR; Aurora Trinidad Ramirez Pozo; Department of Informatics, Federal University of Paraná, CP 19081, CEP 81531-970 Curitiba-PR; Silvia Regina Vergilio; Department of Informatics, Federal University of Paraná, CP 19081, CEP 81531-970 Curitiba-PR; Martin A. Musicante; Department of Informatics and Applied Mathematics, Federal University of Rio Grande do Norte, CP 1647, CEP 59000-000 Natal-RN. Search-Based Evolution of XML Schemas. Computing and Informatics, Tome 28 (2012) no. 1, . http://gdmltest.u-ga.fr/item/cai1009/