The DAGConverter class converts NSIL DAGs to Metacards.
the ResultDAGConverter converts Metacards to NSIL DAGs.
Both have incomplete mappings between the NSIL and Metacard datatypes. Metacards use DCMI type terms (see http://artifacts.codice.org/content/repositories/releases/org/codice/alliance/docs/1.4.1/docs-1.4.1-documentation.html#_datatype).
Identify the proper mapping between NSIL and DCMI type terms and add these mappings to the DAG converters. DCMI to NSIL mapping will be a little tricky since “Text” can map to many NSIL types. There’s a method to analyze the metacard to identify the proper type. Expand it to support all types that correspond to DCMI text.