Skip to main content

A python plist xml validator

Project description

validate_plist_xml

This python module will validate Apple XML Plist files

By default configured to check files with the following extensions: ('.recipe', '.plist', '.profile')

Example:

$ python3 validate_plist_xml.py 
XML Syntax Error in: ./test/bad/example-bad-xml-tags.recipe
Opening and ending tag mismatch: BAD_TAG line 4 and dict, line 15, column 8 (example-bad-xml-tags.recipe, line 15)
Failed DTD Validation: ./test/bad/example-bad-dtd.recipe
Element dict content does not follow the DTD, expecting (key , (array | data | date | dict | real | integer | string | true | false))*, got (key astring key string key dict key string key array ), line 4
2 errors found in 3 plist xml files

Project details


Download files

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

Source Distribution

validate-plist-xml-0.0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

validate_plist_xml-0.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file validate-plist-xml-0.0.2.tar.gz.

File metadata

  • Download URL: validate-plist-xml-0.0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for validate-plist-xml-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ce8bcfdd94a7064acb60650565614e5bcfbf59aa4c4686dc5ffbc65f5af71d0b
MD5 74f0c018566d5244ed94cccab51d01c0
BLAKE2b-256 4a8a77c23d78f54402165522e3ca6479a4b846c3edab3f4f844bf79f8414a5b2

See more details on using hashes here.

File details

Details for the file validate_plist_xml-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: validate_plist_xml-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for validate_plist_xml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b90c43193e3ad3ac1e21b63bc3f7cbba1541778f8239aebcbf2d36a32b3815f0
MD5 82deacd1d355837f8e993fe38fbe1dd3
BLAKE2b-256 51cf02721dbfa4f3e339c043bba03eabdfbccc383ac6b75a640a401bc23ba50e

See more details on using hashes here.

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