I have downloaded a RIS file in which there is no space after the final
"ER -"
With the current version of ris_parser.inc, which determine the tag by searching for " - ", this causes the ER tag not to be recognised, and the node is therefore not created.
According to the RIS spec, biblio's behaviour is correct. But the patch I will attach to the next comment fixes this behaviour by searching for " -" (note the absence of the final space). The extra resulting space should be take out by the subsequent trim(), so hopefully this fix is OK.
Comments
Comment #1
egfrith commentedComment #2
egfrith commentedComment #3
rjerome commentedLooks good, I just adjusted the start position to reflect the fact that there is one less character in the search string...
I've committed it to CVS.
Ron.
Comment #4
egfrith commentedThanks for the quick response! The amended fix works fine.