Faster XML data validation in a programming language with XML datatypes

  • Authors:
  • Kurt Svensson

  • Affiliations:
  • Inobiz AB, Stockholm, Sweden

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

EDI-C is a programming language used in B2B (EDI, WebServices) applications. It is possible to declare XML variables in the language. XML variables are declared in a way similar to structures in C and C++. These variables are accessed through dot-notation. Validation information (facets) can also be declared. The XML structures and their validation values are, at compile time, optimized for fast evaluation and execution in the runtime environment. Usually XSD schema are read and evaluated when an XML document loads -- our method loads and evaluates the XSD schema at compile time. Thus, when executing a program, the XSD schema has already been loaded and evaluated -- i.e., it's no longer necessary to load and evaluate each time the program is executed. This method increases XML processing speed, which is vital for WebServices messaging.