On Tue, Nov 18, 2003 at 02:31:59PM -0600, Bryan Baldus wrote:
> When I ran Lint on a file of records, one of the errors I received was "250:
> Subfield _b is not allowed."
Sorry for the delay. This indeed looks like a bug in MARC::Lint. In case
you are curious MARC::Lint's rules are obtained in an interesting way (which
was devised by Colin Campbell).
In the MARC::Record distribution you'll find a file etc/specs which is
a program which reads a particular page that LC publishes, and then writes
out an updated version of Lint.pm. This allows the rules to be updated
(as LC updates them), by simply.
% cd etc/
% GET http://www.loc.gov/marc/bibliographic/ecbdlist.html > file.html
% ./specs file.html > Lint.pm
Unfortunately, it looks like specs is somehow not getting the 250 $b properly.
Which means it's probably not getting others properly as well. I'll look into
it.
Thanks for taking the time to report it.
//Ed