RELAX NG Compact to regular syntax conversion library
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rnc2rng
tests
.coveragerc
.gitignore
.travis.yml
AUTHORS
MANIFEST.in
README.rst
setup.cfg
setup.py
test.py

README.rst

RELAX NG Compact to RELAX NG conversion library

https://travis-ci.org/djc/rnc2rng.svg?branch=master https://coveralls.io/repos/djc/rnc2rng/badge.svg?branch=master&service=github

Is what it says on the tin. Dependencies:

  • Python 2.x (tested with 2.6, 2.7)
  • Python 3.x (tested with 3.3, 3.4, 3.5)
  • rply

Feedback welcome on GitHub.

History

rnc2rng was originally written by David Mertz in 2003 and published as part of a collection of files around RELAX NG on his site into the Public Domain. Hartmut Goebel published it as a package on PyPI to make it easier to access. It was mirrored on GitHub by Dustin J. Mitchell in 2010 after he fixed some bugs. Timmy Zhu forked his repository and contributed further enhancements. Recently, I (Dirkjan Ochtman) was interested in playing with RELAX NG Compact and started making further updates. I asked Hartmut for maintainership on PyPI and received it. While I cannot promise many updates, I should be responsive to bug reports and (especially!) pull requests.

How to install

The usual should work:

$ sudo pip install .

Getting started

$ python -m rnc2rng test.rnc > test.rng

License

All of the code is released into the Public Domain.