hello,

I saw the nam of  foo.xml in the log.

more /opt/invenio/var/log/bibsched_task_28.log
2012-04-20 17:39:36 --> Task #28 started.
2012-04-20 17:39:36 --> Input file 
'/opt/invenio/var/tmp/IHEP-PHOTO-HIST-2012-002_2012-04-20_17:39:31', input mode 
'r
eplace_or_insert'.
2012-04-20 17:39:36 --> Error: Cannot parse MARCXML file.
2012-04-20 17:39:36 --> Exiting.
2012-04-20 17:39:36 --> Task #28 finished. [ERROR]

the file '/opt/invenio/var/tmp/IHEP-PHOTO-HIST-2012-002_2012-04-20_17:39:31' is 
empty.

ls -l /opt/invenio/var/tmp/IHEP-PHOTO-HIST-2012-002_2012-04-20_17:39:31
-rw-r--r-- 1 apache apache 0 Apr 20 17:39 
/opt/invenio/var/tmp/IHEP-PHOTO-HIST-2012-002_2012-04-20_17:39:31

I saw nothing when I ran the command
# /opt/invenio/bin/xmlmarclint 
/opt/invenio/var/tmp/IHEP-PHOTO-HIST-2012-002_2012-04-20_17\:39\:31 

Does it mean that the input XML file is invalid?  if so, what should modify ?

I am a beginner of invenio, please help.

Thank you very much!!
Regards,
Lanxin

________________________________________
From: Tibor Simko
Sent: 20 April 2012 16:25
To: Lanxin Ma
Cc: project-invenio-general (Invenio users)
Subject: Re: my submitssion faild

On Fri, 20 Apr 2012, Lanxin Ma wrote:
> more bibsched_task_28.err
> 2012-04-20 17:39:36 --> Error: Cannot parse MARCXML file.

Seems like the input XML file is invalid.  You can check whether the
file is XML conform via:

  $ xmllint foo.xml

and whether it is MARCXML conform via:

  $ /opt/invenio/bin/xmlmarclint foo.bar

Here, `foo.xml' is the name of your input file that the submission
system generated.  You can find it in `bibsched_task_28.log'.

If it is not conform, please check its content and your submission
conversion templates.

Best regards
--
Tibor Simko

Reply via email to