On Thu, 04 Jun 2009, Theodoropoulos Theodoros wrote:
> Apart from ">", "<" and "@" are there any other 'special chars' that 
> could create a problem while importing into invenio with bibupload?

We usually only escape `<' and `&' when we generate XML streams; see
encode_for_xml() from textutils.py.

> What is the best procedure to safely import batches of records?

When you have your XML file ready, you can run:

   $ /opt/cds-invenio/bin/xmlmarclint /tmp/foo.xml

This will tell you whether the file is fully MARCXML compliant for CDS
Invenio.  `xmlmarclint' uses the same parser as `bibupload', so if you
get no warnings, then the upload process should happen with no
surprises.

Best regards
-- 
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to