Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Publishing mechanism creating invalid MARCXML

    Publishing mechanism creating invalid MARCXML

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • 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
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Publishing for authorities
      • Publishing OAI_MARC_P_XML format has no flag for "deleted" records
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved