发明申请
US20080313234A1 EFFICIENT XML SCHEMA VALIDATION OF XML FRAGMENTS USING ANNOTATED AUTOMATON ENCODING
失效
使用ANNOTATED AUTOMATON编码的XML片段的有效XML模式验证
- 专利标题: EFFICIENT XML SCHEMA VALIDATION OF XML FRAGMENTS USING ANNOTATED AUTOMATON ENCODING
- 专利标题(中): 使用ANNOTATED AUTOMATON编码的XML片段的有效XML模式验证
-
申请号: US12197592申请日: 2008-08-25
-
公开(公告)号: US20080313234A1公开(公告)日: 2008-12-18
- 发明人: Yao-Ching Stephen CHEN , Fen-Ling Lin , Ning Wang , Guogen Zhang
- 申请人: Yao-Ching Stephen CHEN , Fen-Ling Lin , Ning Wang , Guogen Zhang
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F7/00
- IPC分类号: G06F7/00 ; G06F17/30
摘要:
An XML schema is compiled into an annotated automaton encoding, which includes a parsing table for structural information and annotation for type information. The representation is extended to include a mapping from schema types to states in a parsing table. To validate a fragment against a schema type, it is necessary simply to determine the state corresponding to the schema type, and start the validation process from that state. When the process returns to the state, fragment validation has reached successful completion. This approach is more efficient than a general tree representation. Only the data representation of the schema information is handled, making it much easier than manipulating validation parser code generated by a parser generator. In addition, only one representation is needed for schema information for both document and fragment validation. This approach also provides a basis for incremental validation after update.
公开/授权文献
信息查询