An Efficient Validation Method for XML Data Updates

XML 데이타 갱신에 대한 효율적인 유효 검증 기법

  • 이지현 (한국과학기술원 전산학과) ;
  • 박명제 (한국과학기술원 전산학과) ;
  • 정진완 (한국과학기술원 전산학과)
  • Published : 2007.04.15

Abstract

XML is widely used in various applications as the standard for representing and exchanging data on the Web. XML Schema is the standard schema for XML and an XML document generated based on the XML Schema is called 'Valid XML document'. The XML Schema validity should be guaranteed after the XML document is updated. In this paper, we design an efficient method that verifies XML Schema validity before update, and so eliminates unnecessary validations. Also, we propose validation algorithms for each update. In addition, we propose the mapping between XML data and XML Schema and a storage method for XML Schema in order to efficiently extract the schema information for the validation. Finally, we compare the performance of the validation according to the storage methods.

XML은 웹 데이타 표현 및 교환을 위한 표준으로 많은 응용 분야에서 널리 이용되고 있다. XML Schema는 표준 XML 스키마로, 정의된 XML Schema에 의거하여 작성된 XML 문서를 ‘유효한 XML 문서’라고 하며 이러한 XML 문서는 갱신이 된 후에도 XML Schema에 대해 유효함이 보장되어야 한다. 본 논문은 갱신 이전에 갱신과 관련된 부분에 대한 유효 검증을 수행하여 불필요한 유효 검증을 제거한 XML Schema 유효 검증 메커니즘인 ‘예상 갱신 부분 유효 검증 기법’과 갱신 별 유효 검증 알고리즘을 제안한다. 또한 XML 데이타와 XML Schema 간의 매핑 방법과 XML Schema 유효 검증을 지원하기 위해 효율적인 스키마 정보 추출을 제공하는 XML Schema 저장 방법을 제안한다. 마지막으로 실험을 통해 스키마 저장 방법에 따른 갱신 별 유효 검증 성능을 비교한다.

Keywords

References

  1. Extensible Markup Language(XML) Specification, W3C Recommendation, 04 February 2004, http://www.w3.org/TR/REC-xml
  2. D. Suciu, 'Semistructured Data and XML,' Proceeding of The 5th International Conference of Foundations of Data Organization, pp.1-12, 1998
  3. DTD (Data Type Declaration) in XML Specification W3C Recommendation, 04 February 2004, http://www.w3.org/TRiREC-xml
  4. XML Schema, W3C Recommendation, 02 May 2001, http://http://www.w3.org/TR/xmlschema-0/
  5. eXcelon Corporation. Updating XML data. eXcelon 3.0 User Guide, 2001
  6. I. Tatarinov et al, 'Updating XML,' Proceeding of ACM SIGMOD Conference, 2001 https://doi.org/10.1145/375663.375720
  7. XQuery: An XML Query Language W3C Working Draft, 23 July 2004, http://www.w3.org/TR/xquery
  8. Oracle XML DB, Oracle9i XML Database Developer's Guide-Oracle XML DB Release2(9.2), October, 2002
  9. R. Murthy et al, 'XML Schemas in Oracle XML DB,' Proceeding of VLDB Conference, pp.1009-1018, 2003
  10. D. Barbosa et al, Efficient Incremental Validation of XML Documents, Proceeding of ICDE, 2004 https://doi.org/10.1109/ICDE.2004.1320036
  11. Namespace in XML, W3C, http://www.w3.org/TR/REC-xml-names, January 1999
  12. Universal Business Language-Library, approved as an OASIS Committee Specification, http://docs. oasis-open.org/ubl/cs- UBL-2.0/