-
公开(公告)号:US20080235251A1
公开(公告)日:2008-09-25
申请号:US11997115
申请日:2006-07-27
申请人: Oded Shmueli , Sharon Krisher
发明人: Oded Shmueli , Sharon Krisher
IPC分类号: G06F17/30
CPC分类号: G06F17/2247 , G06F17/2725
摘要: The present invention relates to a method, and system for implementing the method, for performing incremental validation of an XML document with respect to XML Schema key and keyref constraints, and handling the semantics dictated by the XML Schema specification. Several operations are defined that change the content of a document, i.e., add or remove nodes, or change the value of existing nodes. The present invention verifies whether performing such an operation would violate key or keyref constraints, and allows changing the document only if the operation maintains the validity of the document with respect to the constraints. The verification traverses only the parts of the document that may be affected by the change operation, and not the whole document. The invention maintains, in an efficient manner, data structures that hold information relevant to the validation of key and keyref constraints.
摘要翻译: 本发明涉及一种用于实现该方法的方法和系统,用于针对XML Schema密钥和keyref约束执行XML文档的增量验证,以及处理由XML Schema规范规定的语义。 定义了改变文档的内容,即添加或删除节点或改变现有节点的值的若干操作。 本发明验证是否执行这样的操作将违反密钥或密钥对约束,并且只有当操作维持文档相对于约束的有效性时才允许更改文档。 验证仅遍历可能受更改操作影响的文档的部分,而不是整个文档。 本发明以有效的方式保持了数据结构,其保存与关键和关键参数约束的验证相关的信息。
-
公开(公告)号:US07912871B2
公开(公告)日:2011-03-22
申请号:US11997115
申请日:2006-07-27
申请人: Oded Shmueli , Sharon Krisher
发明人: Oded Shmueli , Sharon Krisher
CPC分类号: G06F17/2247 , G06F17/2725
摘要: The present invention relates to a method, and system for implementing the method, for performing incremental validation of an XML document with respect to XML Schema key and keyref constraints, and handling the semantics dictated by the XML Schema specification. Several operations are defined that change the content of a document, i.e., add or remove nodes, or change the value of existing nodes. The present invention verifies whether performing such an operation would violate key or keyref constraints, and allows changing the document only if the operation maintains the validity of the document with respect to the constraints. The verification traverses only the parts of the document that may be affected by the change operation, and not the whole document. The invention maintains, in an efficient manner, data structures that hold information relevant to the validation of key and keyref constraints.
摘要翻译: 本发明涉及一种用于实现该方法的方法和系统,用于针对XML Schema密钥和keyref约束执行XML文档的增量验证,以及处理由XML Schema规范规定的语义。 定义了改变文档的内容,即添加或删除节点或改变现有节点的值的若干操作。 本发明验证是否执行这样的操作将违反密钥或密钥对约束,并且只有当操作维持文档相对于约束的有效性时才允许更改文档。 验证仅遍历可能受更改操作影响的文档的部分,而不是整个文档。 本发明以有效的方式保持了数据结构,其保存与关键和关键参数约束的验证相关的信息。
-