RE: Can't parse MARC Authority XML files with mx: prefixes in their tags
[email protected] ("Christopher Morgan")
| Newsgroups | perl.perl4lib |
|---|---|
| Message-ID | <0EB4B82C91A143F08661823EACB8EFB4@DellMain> |
Mike,
I tried both of your suggested fixes (changing Name to LocalName, and
running the updated patch), but no luck. I still get no error messages in
the error log, but the program silently fails to print a report. If I
manually remove the "mx:" namespace strings from all the tags, I can process
the files with no problem. (So one quick fix would be to simply run these
records through a quick search and replace routine.)
Regarding the problem name authority files. They're all available on the web
from OCLC's experimental name authority service, at
http://alcme.oclc.org/eprintsUK/index.html
You enter an author name (I entered "Robert Benchley"). Then I clicked on
the first link at http://errol.oclc.org/laf/n50-7168.html
Finally, I clicked on the second link ("XML Record") to get this link:
http://errol.oclc.org/laf/n50-7168.MarcXML All of these have the "mx:"
namespace notation in their tags.
- Chris