期刊文献+

基于SAX的XML解析异常处理方法 被引量:1

SAX-BASED XML PARSING ERROR HANDLING METHOD
下载PDF
导出
摘要 高级API中的抽象无法细粒度控制解析器与XML数据之间的交互,有时会产生异常,Simple API for XML(SAX)提供了一种易于处理这些异常的方法.在分析SAX工作机制的基础上,作者提出了基于SAX的XML解析异常处理方法,即使在没有直接使用SAX的情况下,该法仍然能细粒度控制解析器与XML数据之间交互而无异常,并在多个实例中得到了验证,为应用程序用户提供了更好的经验. The high-level API can not fine-grained control of data between the XML parser and interactive,will generate an error.Simple API for XML(SAX) to provide an easy-to-use way of dealing with these errors,even without the direct use of SAX,can still be using this method.Analysis of the working mechanism of SAX,the SAX is the basis of the majority of XML processing,and applied in the example,to achieve strict control of the fine-grained.This accumulation of experience,can avoid or smooth reporting error,the application to provide a better user experience.
作者 王炎
出处 《陕西科技大学学报(自然科学版)》 2009年第5期106-109,共4页 Journal of Shaanxi University of Science & Technology
关键词 SAX XML DOM JAXP SAX XML DOM JAXP
  • 相关文献

参考文献5

二级参考文献12

  • 1郭红艳,杨波,金蓓弘.高效DOM实现的技术研究[J].计算机科学,2006,33(6):274-277. 被引量:18
  • 2[7]版主Rice,http://www.wcbteam.com.cn/ndt/bbs/view.asp.2003-01-03
  • 3[8]王晓强.http:∥www2.tw.ibm.com/developer Works,2000-05-05
  • 4World Wide Web Consortium.Extensible markup language (XML) 1.0 [S/OL].3rd Ed.http://www.w3.org/TR/REC-xml/,2004.
  • 5World Wide Web Consortium.Document object model (DOM) [S/OL].http://www.w3.org/DOM/,2005.
  • 6Simple API for XML[S/OL].http://www.saxproject.org/,2004.
  • 7Java Community Process,JSR 173:Streaming API for XML[S/ OL].http://www.jcp.org/en/jsr/detail? id=173/,2004.
  • 8Java API for XML processing [S/OL] .http://java.sun.com/xml/ jaxp/index.jsp.
  • 9<oXygen/> XML Editor[EB/OL].http://www.oxygenxml.com/.
  • 10Altova XML spy 2006 [EB/OL].http://www.altova.com/products/xmlspy/xml_editor.html.

共引文献29

同被引文献3

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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