[CODE4LIB] Leader in MarcXML Files ( Record Length )

2012-06-29 Thread Sullivan, Mark V
All, I received a question regarding a software library I have created and released as open source. The record length in the leader ( positions 0-4 ) was not being calculated correctly when writing as MarcXML. However, this raises a more philosophical and larger question. What is the

Re: [CODE4LIB] Leader in MarcXML Files ( Record Length )

2012-06-29 Thread Reese, Terry
Family Chair for Innovative Library Services 121 Valley Library Corvallis, OR 97331 541.737.6384 From: Sullivan, Mark V Sent: 6/29/2012 6:52 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] Leader in MarcXML Files ( Record Length

Re: [CODE4LIB] Leader in MarcXML Files ( Record Length )

2012-06-29 Thread Devon
When writing MARC XML, you should use zeros. The following document [1] says you can use blanks, but the schema [2] uses a pattern that indicates digits should be used. When reading MARC XML, you should just ignore whatever is in those positions. [1]

Re: [CODE4LIB] Leader in MarcXML Files ( Record Length )

2012-06-29 Thread Walker, David
Library Services California State University 562-355-4845 -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Sullivan, Mark V Sent: Friday, June 29, 2012 6:52 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] Leader in MarcXML Files ( Record

Re: [CODE4LIB] Leader in MarcXML Files ( Record Length )

2012-06-29 Thread Reese, Terry
Corvallis, OR 97331 541.737.6384 From: Devon Sent: 6/29/2012 7:09 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] Leader in MarcXML Files ( Record Length ) When writing MARC XML, you should use zeros. The following

Re: [CODE4LIB] Leader in MarcXML Files ( Record Length )

2012-06-29 Thread Sullivan, Mark V
...@oregonstate.edu] Sent: Friday, June 29, 2012 10:14 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] Leader in MarcXML Files ( Record Length ) If im writing marcxml from scratch, I agree. If I'm converting it from marc, i print out the length value from the record more for historical

Re: [CODE4LIB] Leader in MarcXML Files ( Record Length )

2012-06-29 Thread Kyle Banerjee
On Fri, Jun 29, 2012 at 7:04 AM, Reese, Terry terry.re...@oregonstate.eduwrote: I wouldn't. One of the benefits of marcxml is that you are not constrained by marcs record length issues. Deciding to calculate that value would add an arbitrary length limitation to the format (in my opinion).