Extracting Difference between Regular Tree Grammars
Extracting Difference between Regular Tree Grammars
复制标题
提取正则树语法之间的差异
DOI:
10.1145/2480362.2480527
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
Kazuma Horie and Nobutaka Suzuki
中科院分区:
文献类型:
--
作者:
泉 朝子;玉本 英夫;横山 洋之;中村隆文,藤村純,小郷克文,樋口裕子,津高健太郎,和田友孝,岡田博美;Kazuma Horie and Nobutaka Suzuki
An XML document is usually stored with its schema so that the structural consistency of the document is ensured. In general, schemas are continuously updated according to changes in real world. Thus, we have to precisely know how a schema is updated to keep the validity of the XML documents. In order to know how a schema is updated, we need to extract the difference between "old" and "new" schemas. However, schemas are recently becoming larger and more complex, thus it becomes more difficult to know how a schema is updated. In this paper, we consider the problem of extracting the difference between regular tree grammars, a popular formal model of XML schema languages. We first show that the problem is NP-hard. Then we give a sufficient condition under which the problem can be solved efficiently, and present a polynomial-time algorithm for solving the problem under the sufficient condition. Finally, we show some experimental results.