Re: [greenstone-users] Tool for editing METADATA.XML

From Gavin Spomer
DateThu, 18 Oct 2007 08:13:43 -0700
Subject Re: [greenstone-users] Tool for editing METADATA.XML
Tom=C3=A1=C5=A1,

I believe Arthur is correct, you should be fine editing with Wordpad
instead of Notepad.

To test this theory, I downloaded a sample of one of my metadata.xml
files to a PC. (my server is SuSE Linux) I opened the metadata.xml fi=
le
in Notepad, added some carriage returns and then saved a copy of it. =
I
then opened the original metadata.xml file in Wordpad, added some
carriage returns and saved a copy. I then opened both the Notepad and
Wordpad saved copies on my Linux server with the vi editor. The Notep=
ad
file showed the special ^M characters where I had added carriage
returns. (as I expected) The Wordpad looked just fine.

I imagine this is what is not allowing Greenstone to parse the file,
although since you are hand editing this file, be wary of typos too.
After all you're human, right? :)

- Gavin

>>> "Arthur R. Belanger" <arthur.belanger@yale.edu> 10/18/07 6:04 AM =
>>>
Sometimes wordpad works better. I have not tried it as I don't run g=
sdl
on a pc.

Tom=C3=A1=C5=A1 Fiala wrote:
> Hello all,
>=20
> does anyone know a software which can edit metadata.xml ? I tried t=
o=20
> edit it in notepad, but after it greenstone writes "could not parse=
=20
> metadata.xml."
>=20
> Thanks for any suggestions !
>=20
> Sincerely,
>=20
> Tomas Fiala
>=20
>=20
>
---------------------------------------------------------------------=
---
>=20
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

--=20
Arthur Belanger
Medical Library System Manager
ITS Academic Media & Technology
Yale University
PO Box 208065
New Haven, CT 06520-8065

(203) 785-6928
(203) 737-2859, fax

mailto:Arthur.Belanger@Yale.Edu
http://www.yale.edu/its/about/amt
http://info.med.yale.edu/library