Skip to main content
ExLibris
  • 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.

    PVE_TestingNormalizationRules3.png

    Testing Normalization of Non-Alma Primo VE Records Page
    To test your normalization rules/processes:
    1. Create an input of the following types:

      • 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:

      <record>
          <metadata>
              <qdc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:doc="http://www.lyncode.com/xoai" xmlns:qdc="http://www.openarchives.org/OAI/2.0/qdc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/qdc/ http://www.openarchives.org/OAI/2.0/qdc.xsd">
                  <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:subject>COLLISIONS.</dc:subject>
                  <dc:description>http://archive.org/details/efficientcontact00linm</dc:description>
                  <dc:description>NA</dc:description>
                  <dc:date>1994-03</dc:date>
                  <dc:date>2013-02-27T23:23:12Z</dc:date>
                  <dc:date>2013-02-27T23:23:12Z</dc:date>
                  <dc:date>1994-03</dc:date>
                  <dc:type>Technical Report</dc:type>
                  <dc:identifier>http://hdl.handle.net/10945/28719</dc:identifier>
                  <dc:identifier>ocn640484785</dc:identifier>
                  <dc:identifier>NPS-CS-94-007</dc:identifier>
                  <dc:language>en_US</dc:language>
                  <dc:format>31 p. : ill. ; 28 cm.</dc:format>
                  <dc:format>application/pdf</dc:format>
                  <dc:publisher>Monterey, California. Naval Postgraduate School</dc:publisher>
              </qdc:dc>
          </metadata>
      </record>

      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.

      PVE_SourceRecord_NormTest.png

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

      PVE_NormRecord_NormTest.png

      Example Normalized Record

      You can now perform the following actions:

      • 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.

      • 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?