No it didn't help. So I had another look.
It looks like XMPSpy doesn't allow ANY spaces or linebreaks in the language element.
So despite what I said and thought, the <title> plays no role in the problem, you can leave that one unchanged, but if the <language></language> element has any spaces it fails:
<language> en</language> fails
<language>
en</language> fails
<language>
en</language> fails
<language>en </language> fails
<language>e n</language> fails
<language>en</language> passes (and makes the file valid)
Are there any rules in the schema used that disallow spaces in that element or that might explain why XMLSpy interprets it like this ?
Pierre
-----Oorspronkelijk bericht-----
Van: Andy Powell
Aan: [log in to unmask]
Verzonden: 12-4-03 9:30
Onderwerp: Re: LOM Test Data
On Sat, 12 Apr 2003, Gorissen,Pierre P.J.B. wrote:
> When I loaded
> http://www.rdn.ac.uk/record/lom/oai:rdn:sosig:916739272-28853 into
> XMLSPy Professional Edition Version 5 rel. 4 I received the same error
> as Howard reported (Mandatory element 'identifier' expected in place
of
> 'language') I looked at the XML and saw that there were a couple of
> empty lines in both the string for the title and the language tag:
Thanks. Is it any better now? I've removed the empty lines...
Andy
--
Distributed Systems, UKOLN, University of Bath, Bath, BA2 7AY, UK
http://www.ukoln.ac.uk/ukoln/staff/a.powell +44 1225 383933
Resource Discovery Network http://www.rdn.ac.uk/
|