• DocumentCode
    3268956
  • Title

    Efficient incremental validation of XML documents

  • Author

    Barbosa, Denilson ; Mendelzon, Alberto O. ; Libkin, Leonid ; Mignet, Laurent ; Arenas, Marcelo

  • Author_Institution
    Toronto Univ., Ont., Canada
  • fYear
    2004
  • fDate
    30 March-2 April 2004
  • Firstpage
    671
  • Lastpage
    682
  • Abstract
    We discuss incremental validation of XML documents with respect to DTDs and XML schema definitions. We consider insertions and deletions of subtrees, as opposed to leaf nodes only, and we also consider the validation of ID and IDREF attributes. For arbitrary schemas, we give a worst-case n log n time and linear space algorithm, and show that it often is far superior to revalidation from scratch. We present two classes of schemas, which capture most real-life DTDs, and show that they admit a logarithmic time incremental validation algorithm that, in many cases, requires only constant auxiliary space. We then discuss an implementation of these algorithms that is independent of, and can be customized for different storage mechanisms for XML. Finally, we present extensive experimental results showing that our approach is highly efficient and scalable.
  • Keywords
    XML; computational complexity; formal specification; formal verification; tree data structures; ID attribute; IDREF attribute; XML schema definition; arbitrary schema; constant auxiliary space; incremental XML document validation; leaf node; linear space algorithm; logarithmic time incremental validation algorithm; storage mechanism; subtree; Tree graphs; XML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2004. Proceedings. 20th International Conference on
  • ISSN
    1063-6382
  • Print_ISBN
    0-7695-2065-0
  • Type

    conf

  • DOI
    10.1109/ICDE.2004.1320036
  • Filename
    1320036