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:
<title>
<string>
Librarians Index to the Internet : Women
</string>
</title>
<language>
en
</language>
(the exact layout will probably be list in this plain text mail, but it is just to give you an idea).
When I removed the extra spaces and linebreaks in the title and language element:
<title>
<string>Librarians Index to the Internet : Women</string>
</title>
<language>en</language>
And re-validated, XMLSPy reported the file to be valid.
So it looks like a XMLSpy problem with spaces and linebreaks ?
Pierre Gorissen
IT Consultant
Fontys University of Professional Education
Educational Development Department
P.O. Box 347
NL-5600 AH Eindhoven
The Netherlands
Phone: +31-(0)877 879 369
Fax: +31-(0)877 875 822
Mail: [log in to unmask]
Web: http://www.fontys.nl/
-----Oorspronkelijk bericht-----
Van: Andy Powell
Aan: [log in to unmask]
Verzonden: 11-4-03 17:52
Onderwerp: Re: LOM Test Data
On Fri, 11 Apr 2003, Noble Howard wrote:
> XML SPY
There are certainly inconsistencies in the way different tools validate
XML documents - due to fairly recent changes in the XML schema spec.
My understanding is that the W3C validator is the *best* at
interpretting
the current state of the XML and XML schema specifications. But I could
be wrong.
I'm not sure what you can do about it :-(
Andy.
|