Re: [Refdb-users] DOI and edition
Status: Beta
Brought to you by:
mhoenicka
From: Stephan G. <st...@ga...> - 2012-01-31 20:29:25
|
Hi! > Unless your mail agent unvoluntarily edited your input file, the "ER" > tag lacks a trailing space. The RIS spec is pretty clear about the > fact that each tag ends with two spaces, a dash, and another > space. The parser does not recognize "ER -" as a tag and reads it as > another line of the preceding M3 field. This does not quite explain why > the "ER -" string is duplicated though, but you should try again > using a correctly terminated RIS entry, i.e. "ER - ". Thanks for your hint with the trailing space, but again, I'm not really a RIS specialist... > I see that the edition information is missing from the DocBook > output. I'll look into this as soon as time permits. I just ran the code through the debugger. In backend-db31.c:879 is the call to get_refdb_volume which itself calls result = dbi_result_get_string(dbires, "refdb_volume"); This call always returns NULL. In comparison, in backend-risx.c:864 is also the call to get_refdb_volume. But if this call fails, it calls get_refdb_edition in the else clause. This call succeeds. So for me it seems that the RIS VL tag will be found in "refdb_edition" and not in "refdb_volume". Hope this helps. Regards, Stephan |