发明授权
- 专利标题: Method for validating a document conforming to a first schema with respect to a second schema
- 专利标题(中): 用于根据第二模式验证符合第一模式的文档的方法
-
申请号: US10662799申请日: 2003-09-12
-
公开(公告)号: US07596748B2公开(公告)日: 2009-09-29
- 发明人: Mukund Raghavachari , Oded Shmueli
- 申请人: Mukund Raghavachari , Oded Shmueli
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Michael J. Buchenhorner; Vazken Alexanian
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A method of validating a document structured in accordance with a first schema and with respect to a second schema saves processing time by using information about relationships between the first schema and second schema and the document's conformance to the first schema to determine the document's validity in the second schema. The element type definitions of the XML or other document cast in the first schema are examined to determine if any element conforming to element types in the first schema is always invalid in the second schema. If any content conforming to always invalid element types is present in the document, the document can be immediately invalidated with respect to the second schema without further processing. Any content conforming to element types in the first schema that are subsumed by element types in the second schema can be immediately validated with respect to the second schema.
公开/授权文献
信息查询