Convert::TBX::RNG - Create an RNG to validate a TBX dialect
This module creates RNG files for validating TBX dialects. Currently, the user can generate RNG using XCS files, but in the future there may be functionality for tweaking the core structure.
Creates an RNG representation of this dialect and returns it in a string pointer.
Currently one argument is requried:
which specifies the location of an XCS file which defines the desired dialect.
Returns a pointer to a string containing the TBX core structure (version 2) RNG. This RNG file has been edited to make processing by this module easier, but it still properly validates the core structure of a TBX file.
RNG does not validate IDREF attributes, unlike DTD. Therefore, you will not be able to check that target attributes refer to actual IDs within the file.
Most of the functionality of the produced RNG files matches the TBX Checker exactly; however, some features remain unimplemented in the TBXChecker, and so behavior may not always match.
Currently, nothing is done to check the validity of ref objects; the RNG validates only their core structure.
In the future we may provide functionality to tweak the TBX core structure.
Other features and documentation to help validate TBX documents can be found on our gitHub page.
Nathan Glenn <firstname.lastname@example.org>
This software is copyright (c) 2013 by Alan K. Melby.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.