Open source Java application that will help you test XML file contents
Version: 0.5Gorille is a small Java package designed to let developers of XML processors test the content and names of XML structures in their XML documents. While Gorille ships with test files for both XML 1.0 and the draft XML 1.1, you can create your own configuration files as well.
Operating System: Mac OS X
Gorille uses an XML format to specify lists of characters according to either XML 1.0 conventions (with its BaseChar, Ideographic, CombiningChar, Digit, and Extender productions) or XML 1.1 conventions (NameStartChar, NameChar).
Both forms permit specification of the Char and S production 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. (Gorille 0.4 added functionality to compile these lists into code, avoiding the loading process at startup.)
Gorille performs checking of Names, QName, Name, NMTOKEN, and NMTOKENS, as well as character checking for any of the productions listed above.
This checking is performed by XML parsers as documents are parsed, but Gorille may be useful for checking XML documents generated by programs or to restrict documents to subsets of the characters allowed by XML.
NOTE: Gorille is licensed and distributed under the terms of the Mozilla Public License 1.1 (MPL 1.1)