首页> 外国专利> Method and apparatus for validating propagation of XML constraints to relations

Method and apparatus for validating propagation of XML constraints to relations

机译:用于验证XML约束向关系的传播的方法和装置

摘要

Method and apparatus for validating propagation of XML constraints to functional dependencies when transforming XML to relational data. The method includes steps of accepting variables indicative of XML-based data, determining if one of the variables is unique based on checking the validity of XML keys defining XML constraints and determining if one or more fields in said relational data do not have a null value. The variables are selected from a set of XML keys (Σ), a transformation Rule (R) and a Functional Dependency (φ). One determining step includes substeps of viewing a transformation Rule as a Table Tree and traversing nodes in the Table Tree. The nodes are traversed until an XML key is found at a particular node and then said one of said plurality of variables (in one embodiment identified as x) is determined to be unique when compared to the context of said XML key.
机译:在将XML转换为关系数据时,用于验证XML约束向功能依赖项的传播的方法和设备。该方法包括以下步骤:接受指示基于XML的数据的变量;基于检查定义XML约束的XML密钥的有效性,确定变量之一是否唯一;以及确定所述关系数据中的一个或多个字段是否不具有空值。 。从一组XML键(Σ),转换规则(R)和功能相关性(φ)中选择变量。一个确定步骤包括将变换规则视为表树并遍历表树中的节点的子步骤。遍历节点,直到在特定节点处找到XML密钥为止,然后与所述XML密钥的上下文进行比较时,确定所述多个变量中的一个(在一个实施例中标识为x)是唯一的。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号