作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (2): 37-39. doi: 10.3969/j.issn.1000-3428.2011.02.013

• 软件技术与数据库 • 上一篇    下一篇

混合型GML解析器的研究与实现

董学敏a,李 岩a,b   

  1. (华南师范大学a. 计算机学院;b. 空间信息技术与应用研究中心,广州 510631)
  • 出版日期:2011-01-20 发布日期:2011-01-25
  • 作者简介:董学敏(1984-),男,硕士研究生,主研方向:空间信息技术,图形图像处理;李 岩,教授
  • 基金资助:
    国家自然科学基金资助项目(60842007);广东省百项工程基金资助项目(2002B32101);广东省重点引导基金资助项目(2004B32501001, 2005B30801006)

Research and Implementation of Mixed GML Parser

DONG Xue-min a, LI Yana, b   

  1. (a. School of Computer; b. Spatial Information Research Center, South China Normal University, Guangzhou 510631, China)
  • Online:2011-01-20 Published:2011-01-25

摘要: 根据XML文档与GML文档的数据特征差别,剖析拉DOM和StAX混合解析方法的原理,结合GML的数据特征及应用操作需求,探讨实现混合型方案的可行性,提出一种具有拉DOM功能和StAX优势的混合型解析方法。实验结果表明,该方法对解析大数据量的GML文档效果明显,能满足GML文档解析过程中的复杂空间操作。

关键词: StAX方法, 拉DOM, GML语言, 解析器

Abstract: According to the different characteristics of the XML and GML document, this paper parses the principle of the pull DOM and Streaming API for XML(StAX). Combining with the data characteristics of GML and the requirements of application operations, it discusses the feasibility of the mixed scheme, and presents a mixed parsing approach including pull DOM function and StAX advantage. Experimental results show that the method can parse GML document of great capacity efficiently and support complex spatial application operations during the parsing process.

Key words: Streaming API for XML(StAX), pull DOM, Geography Markup Language(GML), parser

中图分类号: