An Automatic Generation Method of XML Syntax-Directed Editor

XML 구문지향 편집기의 자동 생성 방안

  • 유재우 (숭실대학교 컴퓨터학부) ;
  • 박호병 (숭실대학교 대학원 컴퓨터학과) ;
  • 조용윤 (숭실대학교 대학원 컴퓨터학과)
  • Published : 2005.06.01

Abstract

While XML is employed in a variety of fields, editing XML document is still hard for the beginners and ordinary individuals. In this paper, we present a syntax-directed editor which is designed to provide unprofessional XML users with easy guides of using XML document. Along with the definition, abstract syntax (data structure of syntax-directed editor) would be explicitly defined. Components of the editor will be projected according to the projected definition of the abstract syntax rule of this paper. Moreover we show that the automatic generation of the abstract syntax rules coming from DTD would enhance the use of XML syntax-directed editor in faster and more precise ways. It could be easier to generate XML syntax-directed editor through a structure of abstract syntax and standard procedure of manufacturing syntax-directed editor.

XML은 다양한 분야에서 널리 사용되고 있지만, 일반 사용자가 XML 문서를 작성하기란 아직 많은 어려움이 있다. 본 논문에서는 일반 사용자도 손쉽게 XML 문서를 작성할 수 있는 XML 구문지향 편집기를 소개하고, 구문지향 편집기의 내부 자료구조인 추상구문을 정의하고, 정의된 추상구문 규칙으로 문서를 편집하기 위한 편집기의 구성요소를 설명한다. 또한 DTD로부터 추상구문 규칙을 자동 생성하는 방법을 제시함으로써 더욱 빠르고 정확하게 XML 구문지향 편집기를 생성하는 방안을 제안한다. 추상구문의 구조와 구문지향 편집기의 작성 절차를 통하여 더욱 용이하게 XML 구문지향 편집기 생성이 가능하다.

Keywords

References

  1. Extensible Markup Language(XML) 1.0, available at http://www.w3.org/TR/REC-xml, 2004
  2. A. A. Khwaja and J. E. Urban, 'Syntax-directed Editing Environments: Issues and Features', ACM-SAC, pp. 230-237, 1993
  3. F. Arefi, C. E. Hughes, and D. A. workman, 'Automatic Generating Visual Syntax-Directed Editors', Communications of the ACM, Vol. 33, No.3, pp. 349-360, March 1990 https://doi.org/10.1145/77481.77487
  4. A. V. Aho, R. Sethi and J. D. Ulman, Compilers: Principles, Techniques and Tools, Addison-Wesley, 1996
  5. L. Allision, 'Syntax Directed Program Editing', Software Practice and Experience, Vol. 13, No. 5, pp. 453-465, May 1983. https://doi.org/10.1002/spe.4380130507
  6. T. W. Reps and T. Teitelbaum, The Synthesizer Generator: A System for Constructing Language-Based Editors, Springer-Verlag, 1989
  7. GrammaTech, The Synthesizer Generator: Specifying an Editing Environment, available at http://www.grarnmatech.com/research/SGspecifying/specifying.html
  8. 신경희, 최종명, 유재우, 'XML 문서 편집을 위한 추상문법', 정보과학회논문지, 제30권, 제 3호, pp. 268-277, April, 2003
  9. 행정자치부, '행정기관의 전자민원서식 표준, available at http://www.mogaha.go.kr/warp/webapp/board/notice/list?bid=106, Dec 2004
  10. Wutka, JAVA DTD Parser, available at http://www.wutka.com/dtdparser.html
  11. VoiceXML Recommendation, available at http://www.w3.org/TR/2004/REC-voicexm120200403 16
  12. TopicMaps.org Authoring Group, available at http://www.topicmaps.org.