Hi Samuele, I'm using a python script to export data to marcxml format, definitely need to update it to translate the character. Thanks for the tip on the invenio utility.
Regards, Allan. On Thu, Jan 17, 2013 at 12:47 PM, Samuele Kaplun <[email protected]>wrote: > Dear Allan, > > In data giovedì 17 gennaio 2013 12:39:16, Allan Oware ha scritto: > > Hi Ferran, > > I've found out a "&" character in a tag value was the cause of the error, > > not the presence of empty tag values (seems like that was solved in > v1.0.1). > > Doing away with "&" isnt feasible since url fields (web url and intranet > > url) all contain the "&" character. > > > > Any thoughts, or should i consider upgrading to the latest invenio ? > > how do you generate your XML? Values in subfields should be well escaped in > order to be compatible with XML. For this reason you should translate any: > > '&' -> '&' > '<' -> '<' > > If you use Python there is a utility in Invenio to do that: > > from invenio.textutils import encode_for_xml > > Best regards, > Samuele > > -- > Samuele Kaplun > Invenio Developer ** <http://invenio-software.org/> > >

