PyTREX is an open source implementation of TREX written in Python. TREX (Tree Regular Expressions for XML) is a simple but powerful schema language for XML.
| Licenses | BSD Original |
|---|
Recent releases


Changes: This release fixes a bug that prevented multiple child patterns from working inside oneOrMore, optional, zeroOrMore, and mixed.


Changes: Groups of 1 and 3 or more now work properly, and left-over attributes are reported as errors.


Changes: PyTREX now implements the entire TREX specification, except for anonymous type support.


Changes: This release includes support and tests for pattern inclusion, grammar merging (partial), named datatypes, "not", "difference", "choice" in nameclasses, "nsName", "anyName", "notAllowed", namespaces, qnames, trex namespace, and changes to the py file to allow it to be importable.


Changes: Implements concepts in sections 1 through 6 of the TREX tutorial.