A Java app designed to test XML file content, with open-source code available.
Gorille uses an XML format to specify lists of characters based on XML 1.0 conventions (with BaseChar, Ideographic, CombiningChar, Digit, and Extender productions) or XML 1.1 conventions (NameStartChar, NameChar). Both forms permit the specification of the Char and S productions for content characters and whitespace. The package includes sample lists for both XML 1.0 and XML 1.1, as well as an ASCII-only version of XML 1.0.
The latest update for Gorille, version 0.4, added functionality to compile these lists into code, avoiding the loading process at startup. The package performs checking of Names, QName, Name, NMTOKEN, and NMTOKENS, as well as character checking for any of the productions listed above.
While XML parsers perform this checking as documents are parsed, Gorille may be useful for checking XML documents generated by programs or to restrict documents to subsets of the characters allowed by XML. It is important to note that Gorille is licensed and distributed under the terms of the Mozilla Public License 1.1 (MPL 1.1).
Version 0.5: N/A