An Implementation of the Canonical XML Algorithm

XML 정규화 알고리즘 구현

  • Published : 2003.12.01

Abstract

These days, XML is accepted and used to e commerce market broadly. But by reason of XML document can exist same form logically but several other forms physically, several problems can happen in application that judge effectiveness as physical form such as XML digital signature. Therefore, it is recommending to propose and use canonical XML algorithm to change identical XML document physically equally logically in W3C to solve this problems. We implemented system that nm Canonical XML algorithm that suggested in W3C that can change to mon elaborate regular document. Thus, interoperable with other application that takes W3C recommendation Also, as well as use in digital signature system for web service is useful, use in several system that physical identify is required when it exchanges na document for web service interoperability are considered to be valuable. Moreover, Adding the transformation ability between universal encoding scheme and EUC­KR that is internal encoding scheme should be Canonical XML Algorithm that is suited to internal circumstances, and this should be a foundation technique of international interoperability confirmedness.

현재 XML이 전자 상거래 시장에 널리 수용하여 사용되고 있다. 그러나 XML 문서는 논리적으로 동일하나 물리적으로 여러 다른 형태가 존재할 수 있어, XML 디지털 서명과 같은 물리적 형태로써 유효성을 판단하는 응용 프로그램에서는 문제점이 발생할 수 있다. 따라서 이런 단점을 해결하기 위해 W3C에서는 논리적으로 동일한 XML문서를 물리적으로 동일하게 변환시키도록 XML 정규화(Canonical XML) 알고리즘을 제안하여 사용하도록 권고하고 있다. 본 논문에서는 W3C에서 권고한 XML 정규화 알고리즘을 수행하는 시스템을 설계 및 구현함으로써, 좀 더 정교하고 정규화 된 문서로 변형하여 W3C 표준을 따르는 다른 응용 시스템과의 상호 운용이 가능하다. 또한 웹 서비스를 위한 전자서명 시스템에서의 사용이 용이할 뿐만 아니라, 웹 서비스 상호 운용성을 위한 XML 문서 교환 시 물리적 동일성이 요구되는 여러 시스템에서의 사용이 용이할 것으로 사료된다. 뿐만 아니라 국제적 인코딩 스킴과 국내 인코딩 스킴인 EUC­KR과의 변환기능을 추가함으로써 국내 실정에 맞는 XML 정규화 알고리즘이 될 것이며, 이는 국제적 상호 운용성 확보의 기반 기술이 될 것이다.

Keywords

References

  1. Extensible Markup Language 1.0, http://www.w3.org/TR/REC-xml
  2. XML Signature Syntax and Processing, http://www.w3.org/TR/2001/PR xmldsig core 20010820
  3. Canonical XML Version 1.0, http://www.w3.org/TR/xml-c14n
  4. IBM, The XML Security Suite, http://www.trl.ibm.com/projects/xml/xss4j/docs/dsig.html
  5. Baltimore, KeyTools XML Introductions, http://www.baltimore.com/keytools/xml/index.html
  6. IAIK, XML Signature Library (IXSIL), http://jce.iaik.tugraz.at/products/04_ixsil/index.php
  7. Blake Doumaee, XML Security, McGraw-Hill, 2002
  8. Donald E. Eastlake III, Kitty Niles, Secure XML, Pearson Education, 2002
  9. Steve Graham, Simeon Simeonov, Toufic Boubez, Doug Davis, Glen Daniels, Yuichi Nakamura, Ryo Neyama, Building Web Services with Java, SAMS, 2002
  10. DOM4J 1.4 API, http://www.dom4j.org/javadoc
  11. SOAP Version 1.2 Part 1: Messaging Framework, http://www.w3.org/TR/soap12partl
  12. SOAP Version 1.2 Message Normalization, http://www.w3.org/TR/soap12 nlln
  13. Mark O'Neill, Web Services Security, McGraw-Hill, 2003