Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Testing Normalization Rules for External Data Sources

    Return to menu

    The Testing Normalization of non-Alma Primo VE Records page allows you to test your normalization rules prior to loading either Dublin Core (DC), generic XML, MARCXML, or binary MARC records into Primo VE from an external data source.

    Before you begin testing, you must create test files and any normalization rules/processes that you want to test with this tool.


    Testing Normalization of Non-Alma Primo VE Records Page
    To test your normalization rules/processes:
    1. Create an input file. The following formats are supported:

      • XML file (oai_dc or qdc format) that contains a single DC record

      • XML file (generic XML format) that contains one or more generic XML records.

      • MARCXML file that contains one or more MARC21 records.

      • Binary MARC file that contains one or more MARC21 records.

      For example:

              <qdc:dc xmlns:dc="" xmlns:doc="" xmlns:qdc="" xmlns:xsi="" xsi:schemaLocation="">
                  <dc:title>Efficient contact determination between geometric models</dc:title>
                  <dc:creator>Lin, Ming C.</dc:creator>
                  <dc:creator>Manocha, Dinesg</dc:creator>
                  <dc:contributor>Naval Postgraduate School (U.S.).</dc:contributor>
                  <dc:contributor>Computer Science</dc:contributor>
                  <dc:type>Technical Report</dc:type>
                  <dc:format>31 p. : ill. ; 28 cm.</dc:format>
                  <dc:publisher>Monterey, California. Naval Postgraduate School</dc:publisher>

      Additional example files: oneGenericRecord.xml, via_export_incr_upload_files.xml, extented_dublin_core_one_record.xml, oai_dc - one record.xml, one_record_testing_external.xml, qdc - one record.xml, and MARC_record.xml.

      The following characters must be escaped when not part of the markup text:

      • Ampersand (&) – use &amp;

      • Left angle bracket (<) – use &lt;

      For example: <dc:subject>Engineering &amp; Technology</dc:subject>

    2. Open the Testing Normalization of non-Alma Primo VE Records page (Configuration Menu > Discovery > Loading Records from External Data Sources > Test Normalization Rules).

    3. Select the format of the test records from the Select record type field: DC or Generic XML.

    4. In the Browse for file field, select your test file.

    5. Select one of the following test options:

      • Normalization rule - Select this option and then select the rule that you want to test from the Normalization rule drop-down list. For more information, see Creating DC Normalization Rules.

      • Normalization process - Select this option and then select a normalization rule process from the Normalization process drop-down list. For more information, see Creating a Normalization Rule Process.

    6. Click Run test. If the test file is valid, the record will appear in the Source Record section.


      DC Example - Source Record


      MARC Example - Source Record
    7. Review the record in the Normalized Record section to make sure that your source record has been normalized correctly.


      DC Example - Normalized Record


      MARC Example - Normalized Record

      You can now perform the following actions for source records:

      • (DC only) Test other scenarios quickly by modifying the source record in the Source Record section:

        1. Click Actions > Edit File.

        2. Modify the source record.

        3. Click Test.

      • (DC only) Save a copy of the modified source record. Click Download and save the record to a file.

      • Run further normalization tests on the current record. Go to step 4.

      • Reload the original file or a different file. Go to step 3.

    • Was this article helpful?