Analysis of XML schema usage

Track: Core Technologies, Metadata and Semantics, Deploying XML

Audience Level: High Level/Technical view

Time: Wednesday, November 16 16:00

Author: Ralf Lammel, Microsoft Corporation

Author: Stan Kitsis, Microsoft Corporation

Author: Dave Remy, Microsoft Corporation

Keywords: XML Schema, Software Metrics, Software Analysis, Language Usage, XSD Features, XML Schema organization, XML Data binding, McCabe, Grammar Metrics


XML schema analysis aims to extract quantitative and qualitative information from actual XML schemas. To this end, XML schemas are measured through systematic algorithms, on the basis of the intrinsic feature model of the XSD language. XML schema analysis is a derivative of software analysis (program analysis) and of software code metrics, in particular. The present article introduces essential concepts of XML schema analysis and applies them to the important problem of understanding XML schema usage in practice. Analyses for feature counts, idiosyncrasy counts, size metrics, complexity metrics, and XML schema styles are executed on a large corpus of real-world XML schemas.