-
公开(公告)号:US07240279B1
公开(公告)日:2007-07-03
申请号:US10176143
申请日:2002-06-19
CPC分类号: G06F17/2247 , G06F17/272
摘要: Evaluating a source document for compliance with a rule set that represents contextual guidelines to which the source document must conform. The rule set comprises a rule node that includes a context that is compared to the source document to identify candidate nodes for further evaluation. Each rule node also includes a descendant pattern node that includes a pattern matching expression representing at least one aspect of the contextual guidelines to which the source document must conform. Preferably a match between a candidate node and the pattern matching expression indicates a nonconformance to the contextual guideline(s), and a predefined action is initiated. Predefined actions include reporting the nonconformance, and automatically repairing the nonconformance through script code.
摘要翻译: 评估源文档是否符合规范集,该规则集表示源文档必须符合的上下文指导原则。 规则集包括规则节点,其包括与源文档进行比较以识别用于进一步评估的候选节点的上下文。 每个规则节点还包括后代模式节点,其包括表示源文档必须符合的上下文指南的至少一个方面的模式匹配表达式。 优选地,候选节点和模式匹配表达式之间的匹配指示与上下文指南的不一致,并且启动预定义的动作。 预定义的操作包括报告不合格,并通过脚本代码自动修复不合格。