###
DOI:
Journal of Software:2008.19(10):2728-2738

高性能的XML解析器OnceXMLParser
金蓓弘,曹冬磊,任鑫,余双,戴蓓洁
(中国科学院 软件研究所,北京 100190;中国科学院 软件研究所,北京 100190; 中国科学院 研究生院,北京 100049)
A High Performance XML Parser OnceXMLParser
JIN Bei-Hong,CAO Dong-Lei,REN Xin,YU Shuang,DAI Bei-Jie
()
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 3602   Download 4093
Received:July 30, 2007    Revised:February 25, 2008
> 中文摘要: XML(extensible markup language)解析器是分析、处理XML文档的基础软件.研究高性能验证型XML解析器的实现.开发了支持3种解析模型的XML解析器OnceXMLParser,该解析器通过了严格的XML兼容性测试和API兼容性测试.OnceXMLParser具有轻量级体系结构并进行了多方面的性能优化,包括高效的词法分析、基于统计分析的自动机实现、合理的资源分配策略以及语言层次上的优化.性能测试结果表明,OnceXMLParser具有出色的解析性能.
Abstract:An XML (extensible markup language) parser is the fundamental software for analyzing and processing XML documents. The implementation of a high performance full-validating XML parser is studied in this paper. This research develops a OnceXMLParser which supports three kinds of parsing models. It passes the rigorous XML conformance testing and API (application programming interface) conformance testing. OnceXMLParser adopts light-weighted architecture and is optimized on many aspects including efficient lexical analysis, statistical automaton implementation, reasonable resource allocation strategies and some fine tunings on language level. Performance testing results show that OnceXMLParser has outstanding parsing efficiency.
文章编号:     中图分类号:    文献标志码:
基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant No.2004AA112010 (国家高技术研究发展计划(863)); the National Basic Research Program of China under Grant No.2002CB312005 (国家重点基础研究发展计划(973)) Supported by the National High-Tech Research and Development Plan of China under Grant No.2004AA112010 (国家高技术研究发展计划(863)); the National Basic Research Program of China under Grant No.2002CB312005 (国家重点基础研究发展计划(973))
Foundation items:
Reference text:

金蓓弘,曹冬磊,任 鑫,余 双,戴蓓洁.高性能的XML解析器OnceXMLParser.软件学报,2008,19(10):2728-2738

JIN Bei-Hong,CAO Dong-Lei,REN Xin,YU Shuang,DAI Bei-Jie.A High Performance XML Parser OnceXMLParser.Journal of Software,2008,19(10):2728-2738