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.

Source Distributions (99.7 kB view hashes)

Uploaded source

minixsv-0.9.0.tar.gz (81.2 kB view hashes)

Uploaded source

Built Distributions

minixsv-0.9.0.win32.exe (159.4 kB view hashes)

Uploaded any

minixsv-0.9.0-py2.5.egg (183.3 kB view hashes)

Uploaded 2 5

minixsv-0.9.0-py2.4.egg (184.8 kB view hashes)

Uploaded 2 4

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page