在给定关系模式的属性集及其函数依赖最小覆盖集的基础上,提出一种基于模式图的规范化XML模式设计方法。定叉了模式图,在模式图中增加了Keys的描述信息,给出由函数依赖集构造模式图的算法。该模式图独立于具体的XML模式语言,经分析证明,所设计的模式满足XNF。
Given attribute set and minimum cover set of functional dependencies over one relational schema, a new method for designing normalized XML schemas based on schema graph is proposed. It starts by defining a new data model called SG (Schema Graph), which contains information about Keys as its specifications and is independent of concrete schema definition language such as DTD ( Document Type Definition) or XML Schema. Then an algorithm for constructing SG based on mini- mum cover of functional dependencies over relational schema is presented. Peculiarities of SG are analyzed, which shows that XML schemas derived from SG are in XNF.