An XML Document Processor Generator using Object-oriented Attribute Grammar

객체지향 속성 문법을 이용한 XML 문서 처리기 생성기

  • Published : 2004.02.01

Abstract

An XML document processor should process the XML documents according to their purposes and semantics. It is very hard to automatically generate an XML document processor with DTD, because it does not provide the semantic information. In this paper, we introduce an XML document processor generator and a method for specifying semantics using the object-oriented attribute grammar. The XML document processor generator will reduce costs and efforts in developing XML document processors.

XML 문서 처리기는 XML 문서를 문서의 목적과 의미에 맞게 처리할 수 있어야 한다. XML의 DTD는 문서의 구조적인 정보만 제공하고 의미 정보는 제공하지 않기 때문에 문서 처리기를 자동적으로 생성하기 어렵다. 본 논문에서는 객체지향 속성 문법을 이용해서 XML 문서의 의미 정보를 기술하는 방법과 XML 문서 처리기를 자동적으로 생성할 수 있는 생성기를 소개한다. 문서 처리기 생성기는 문서처리기를 작성해야 하는 개발자의 시간과 노력을 감소시켜줄 것이다.

Keywords

References

  1. Extensible Markup Language (XML), http://www.w3.org/XML/
  2. Vector Markup Language (VML), http://www.w3.org/TR/NOTE-VML
  3. Scalable Vector Graphics (SVG), http://www.w3.org/Graphics/SVG
  4. Resource Description Framework (RDF), http://www.w3.org/RDF
  5. XML Protocol Activity, http://www.w3.org/2000/xp/
  6. Greg K. Badros, 'JavaML: A Markup Language for Java Source Code,' In 9th WWW Conf., 2000, available at http://www.cs.washington.edu/homes/gjb/JavaML/
  7. The Simple API for XML (SAX), http://www.saxproject.org
  8. Document Object Model (DOM), http://www.w3.org/DOM/
  9. Donald E. Knuth, 'Semantics of context-free languages,' In Math Systems Theory, pp. 127-145, 1968 https://doi.org/10.1007/BF01692511
  10. Jukka Paakki, 'Attribute Grammar Paradigms -- A High-level Methodology in Language Implementation,' In ACM Computing Surveys, Vol. 27, No. 2, pp. 197-255, 1995 https://doi.org/10.1145/210376.197409
  11. Kai Koskimies, 'Object-Orientation in Attribute Grammars,' In Attribute Grammars, Applications and Systems, LNCS 545, Springer-Verlag, pp. 297-329, 1991 https://doi.org/10.1007/3-540-54572-7_11
  12. Stephen C. Johnson, 'Yacc: Yet Another Compiler-Compiler', In Computing Scinece Technical Report 32, AT&T Bell Labs, Murray Hill(NJ), 1975
  13. Jos Warmer and Hans Van Vliet, Processing SGML documents, In Electronic Publishing, Vol. 4, No. 1, pp. 3-26, 1991
  14. Giuseppe Psaila, Stefano Crespi-Reghizzi, 'Adding Semantics to XML,' In WAGA99, 1999, available at www-rocq.inria.fr/oscar/waga99.html
  15. Sun, 'Java Architecture for XML Binding,' available at http://java.sun.com/xml/jaxb/
  16. XML Schema, http://www.w3.org/XML/Schema
  17. Erich Gamma, et.al. Design Patterns, Addison-Wesley Pub., 1995