OnceSAXParser:一种高效轻量的XML解析器  被引量:7

OnceSAXParser: An Efficient and Light-weighted XML Parser

在线阅读下载全文

作  者:曹冬磊[1] 田四化[1] 金蓓弘[1] 

机构地区:[1]中国科学院软件研究所软件工程技术中心,北京100080

出  处:《计算机工程》2006年第19期49-50,53,共3页Computer Engineering

基  金:国家"973"计划基金资助项目(2002CB312005);国家"863"计划基金资助项目(2001AA113010)

摘  要:通过优化XML词法和语法处理以及构造轻量级体系结构,实现了支持SAX的高效XML解析器――OnceSAXParser。文中还将OnceSAXParser与目前最流行的XML解析器Xerces进行了对比分析和性能测试,结果显示OnceSAXParser的性能比Xerces平均提高了27%以上。Xerces is the most popular and best performed parser till now. But its architecture is so complicated that it limits its performance. By optimizing lexical and syntax processing for XML, along with constructing the light-weighted architecture, an efficient XML parser- OnceSAXParser is implemented. The paper compares it with Xerces which is a most popular XML parser from the view of structure analysis and performance test. The results of performance tests are given to show that OnceSAXParser is 27% faster than Xerces on the average.

关 键 词:XML解析器 SAX 性能优化 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象