Efficient inclusion for a class of XML types with interleaving and counting

作者:

Highlights:

摘要

Inclusion between XML types is important but expensive, and is much more expensive when unordered types are considered. We prove here that inclusion for XML types with interleaving and counting can be decided in polynomial time in the presence of two important restrictions: no element appears twice in the same content model, and Kleene star is only applied to disjunctions of single elements.Our approach is based on the transformation of each such content model into a set of constraints that completely characterizes the generated language. We then reduce inclusion checking to constraint implication. We exhibit a quadratic algorithm to perform inclusion checking on a RAM machine.

论文关键词:XML,Regular expressions,Subtyping,XML Schema

论文评审过程:Available online 22 October 2008.

论文官网地址:https://doi.org/10.1016/j.is.2008.10.001