发明授权
- 专利标题: Applying abstraction to object markup definitions
- 专利标题(中): 将抽象应用于对象标记定义
-
申请号: US10626340申请日: 2003-07-24
-
公开(公告)号: US07774386B2公开(公告)日: 2010-08-10
- 发明人: Heng Chu , Erich S. Magee , Robert C. Sizemore
- 申请人: Heng Chu , Erich S. Magee , Robert C. Sizemore
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Marcia L. Doubet
- 主分类号: G06F7/00
- IPC分类号: G06F7/00 ; G06F17/30
摘要:
Techniques for enabling a validating parser to interpret a schema, where that schema may have been extended to multiple levels, and to perform the validation of a structured document according to the extended schema while still allowing a consumer application to request objects or events that are cast at some different level of the schema (including the base schema). Validating the source document according to an extended (i.e., more specific) schema enables improved detection of syntax errors. At the same time, casting objects and events from the parsed document to a level requested by the consumer application allows the consumer to receive only those objects or events for which it is adapted, without requiring the consumer application to include extra code to deal with objects or events it does not recognize in the parser's output. Preferably, the parser simply discards those objects or events which this consumer is not interested in receiving.
公开/授权文献
- US20050039124A1 Applying abstraction to object markup definitions 公开/授权日:2005-02-17
信息查询