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

    Publishing mechanism creating invalid MARCXML

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    We have a large number of invalid MARCXML records being generated by the publishing mechanism (available via OAI). There are two problems:

    1) Leader being incorrectly output.

    The leader field in the original records in Aleph contain ^ to signify spaces. The publishing mechanism is converting these to whitespace, and converting multiple spaces to a single space.
    01084nam^^2200325^1^4500 is output as <marc:leader>01084nam 2200325 1 4500</marc:leader>

    2) Control fields appearing after Datafields.

    The MARCXML schema requires all control fields to appear before any datafields. The Aleph record has control fields that appear after datafields.

    How do we maintain the formatting of the leader field during publishing?

    Resolution:
    My XML editor was "pretty-printing" the XML, so I missed the extra spaces, sorry.

    We discovered that the problem we were having is unrelated to this -- so we can close this item.


    • Article last edited: 10/8/2013