Skip to main content

A lightweight XML schema validator written in pure Python

Project description

minixsv is a lightweight XML schema validator written in “pure” Python.

Currently a subset of the XML schema standard is supported.

minixsv is based on genxmlif, a generic XML interface class, which currently supports minidom, elementtree or 4DOM/pyXML as XML parser Other parsers can be adapted by implementing an appropriate derived interface class.

minixsv provides a simple programming interface (API) for validation of schema and XML input files. Parser or validation errors will raise exceptions.

After successful validation minixsv provides the input XML tree with the following changes:
  • Whitespaces inside strings are automatically normalized/collapsed as specified in the XML schema file.
  • Default/Fixed attributes are automatically inserted if not specified in the input file.
  • The “post validation” XML tree can be accessed using genxmlif or the contained original interface (minidom, elementtree or 4DOM/pyXML).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
minixsv-0.9.0-py2.4.egg (184.8 kB) Copy SHA256 hash SHA256 Egg 2.4
minixsv-0.9.0-py2.5.egg (183.3 kB) Copy SHA256 hash SHA256 Egg 2.5
minixsv-0.9.0.tar.gz (81.2 kB) Copy SHA256 hash SHA256 Source None
minixsv-0.9.0.win32.exe (159.4 kB) Copy SHA256 hash SHA256 Windows Installer any (99.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page