期刊文献+

高效DOM实现的技术研究 被引量:18

Research on High Performance DOM Implementation
下载PDF
导出
摘要 DOM是目前为止唯一成为W3C正式标准的XML解析模型。本文充分考虑了DOM模型的特点,设计并实现了一个高性能的支持DOM的XML解析器OnceDOMParser。为了提高DOM实现的性能,我们采用用户堆提高对象管理的效率,减少对象在JVM中创建的数量,并采取了数据的延迟装载策略。OnceDOMParser经过了严格的XML兼容性测试和DOM API兼容性测试,多方面的性能测试表明OnceDOMParser性能优越,其平均吞吐量比目前最流行的XML解析器Xerces高43.7%左右。 DOM is the only XML processing model recommended by W3C. In this paper, we design and implement a high performance DOM compatible XML parser: OnceDOMParser, based on the thorough analysis of DOM model. For better efficiency, OnceDOMParser introduces user heap to manage the XML data, which reduces the creation of the JVM objects. Besides we adopt lazy load strategy for DOM data. OnceDOMParser has passed the rigorous XML conformance tests and DOM API tests. And various performance tests have proved its excellent performance. It gains about 43. 7% higher throughput than that of Xerces2.6. 2.
出处 《计算机科学》 CSCD 北大核心 2006年第6期274-277,共4页 Computer Science
基金 国家973项目(编号2002CB312005) 国家863项目(编号2001AA113010)的资助。
关键词 XML解析器 DOM 延迟加载 XML parser, DOM, Lazy load
  • 相关文献

参考文献13

  • 1W3C. Extensible Markup Language (XML)1.0. http://www.w3.org/TR/1998/REC-xml-19980210,1998
  • 2W3C. Extensible Markup Language (XML)1. 1. http://www.w3. org/TR/2004/REC-xm1ll-20040204, 2004
  • 3W3C. Document Object Model. http://www. w3. org/DOM/
  • 4The Apache XML Project: Crimson. http://xml. apache. org/crimson/
  • 5The Apache XML Project: Xerces Java 2. http://xml.apache.org/xerces2-j/
  • 6OnceDOMParser详细设计报告.软件工程技术中心技术文档,2005
  • 7OnceStAXParser详细设计报告.软件工程技术中心技术文档,2005
  • 8Java Community Process. JSR 173: Streaming API for XML. http://jcp.org/en/jsr/detail? id=173
  • 9Java API for XML Processing. http://java. sun. com/xml/jaxp/index. jsp
  • 10Venners R Inside the Java Virtual Machine. (Second Edition),2003

同被引文献122

引证文献18

二级引证文献98

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部