On this page, the most important parts of the MOM-CA source code project are described.
my/betterFORM
betterFORM is an XForms processor bundled with the eXist Native XML database. Normally, the betterFORM XForms processor is just used in MOM-CA for user interface development. The cooperation project Virtuelles deutsches Urkundennetzwerk, above that, implemented a betterFORM extension for MOM-CA, namely an XForms control for XML Mixed Content edition. The code is located in my/betterFORM. See the MOM-CA compiling and deployment guide on how to compile and integrate a custom betterFORM version into MOM-CA.
my/eXist/src
my/eXist/extensions/module/srcMOM-CA uses and in some parts extends and patches the eXist application server. The source code extending or patching eXist is located under my/eXist. eXist provides an interface to write custom XQuery modules with which one can extend the standard XQuery function-set and the eXist XQuery function extensions. Following this interface, MOM-CA implements two new XQuery modules:
- an XQuery Excel module for the conversion of Excel sheets into XML
- an XQuery minify module to minify JavaScript and CSS resources
Besides these two new modules, there are patches and extensions implemented for some existing eXist XQuery modules:
- the eXist SQL module is extended with the possibility to dynamically load an SQL driver
- the eXist XSL-FO module is extended with a server-side font cache machanism
- the eXist image module needs some fixes related to the image cropping feature
Two eXist core XQuery modules are patched as well:
- the eXist text XQuery module is extended with a function to compute text differences. The function forms the basis for the XML version difference tool.
- the eXist validation XQuery module is extended with a custom XRX XML validation error handler for user-friendly validation reports.
See the MOM-CA compiling and deployment guide on how to compile a custom eXist XQuery module into an eXist instance.
my/XRX/src/mom
my/XRX/src/coremy/XRX/src/core and my/XRX/src/mom contain the XRX source code of the MOM-CA platform.
The section XRX++ development gives detailed information about the XRX source code.
See the MOM-CA compiling and deployment guide on how to compile and deploy XRX source code into an eXist instance.