DDMSence (pronounced "dee-dee-em-Essence") is an open source Java API which supports the DoD Discovery Metadata Specification (DDMS). It can transform XML DDMS Resource records into a Java object model (using XOM and Xerces), allowing them to be manipulated or traversed within the context of a Java environment. DDMSence also performs logical validation of rules which are not coded into the DDMS schema (such as the validation of longitude/latitude values).
Components created with this library maintain an underlying XOM element structure, which provides latent avenues for future improvement, based on XOM's support of XPath, XInclude, and XSLT. However, you do not need to have any experience with XOM to get started with this library.
DDMSence comes with a complete set of JUnit tests, and code coverage was aided by EclEmma. It is being released under the GNU Lesser General Public License (LGPL).
Brian Uri! is a software engineer at FGM, Inc. in Reston, Virginia. He has been a member
of the DoD Metadata Registry development team since 2004, and a technical lead on the project since 2006.
DDMSence grew out of the author's desire to gain more practical XML Schema experience, to write something useful which had never been done before, and an
unusually large amount of free time.