Re: [greenstone-devel] Metadata.xml not well formed

From Bethany Letalien
DateTue, 5 Aug 2003 17:00:31 -0500 (CDT)
Subject Re: [greenstone-devel] Metadata.xml not well formed
In-Reply-To (3DB871E13177D61198850000E222F2EB0109B8DF-ebano2-ibict-br)
Helio, you can't use accents in the metadata files like that. Try removing
them. Make it run, then do it again with the accents in place, but use
UNICODE (http://www.unicode.org/). You're set to UTF-8, which is right.
You need to start the statements with &#x and then end them with ; if
you're using the sets at http://www.unicode.org/charts/PDF/U0080.pdf (also
look at http://www.unicode.org/charts/PDF/U0000.pdf for special character
it won't process if typed normally). For example, informacao becomes

informaçõo

I just got through converting Portuguese accents to UNICODE in a
metadata.xml file, so feel free to e-mail me off list as well in either
language. Also, I'd be curious to hear about your work at IBICT....

I can send you a copy of my metadata file if that will help. Also, try
looking at the file in Internet Explorer before running it through
Greenstone.

Boa sorte!

Bethany

On Tue, 5 Aug 2003, [iso-8859-1] H=E9lio Kuramoto wrote:

> Hi,
>=20
> I tried to create a collection using a metadata.xml file, but when I try =
to
> use the line command perl -S import.pl pmhf, the greenstone gives the
> following message:
>=20
>=20
> RecPlug: getting directory D:Program Filesgsdlcollectpmhfimport
> RecPlug: found metadata in D:Program
> Filesgsdlcollectpmhfimportmetadata.xml
> RecPlug: ERROR D:Program Filesgsdlcollectpmhfimportmetadata.xml is =
not
> a well formed metadata.xml file (mismatched tag at line 12, column 6, byt=
e
> 674 at D:/Program Files/gsdl/bin/windows/perl/lib/XML/Parser.pm line 168)
>=20
> The Metadata.xml file is:
> <?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"no"?>
> <!DOCTYPE DirectoryMetadata SYSTEM
> "http://greenstone.org/dtd/DirectoryMetadata/1.0/DirectoryMetadata.dtd">
> <DirectoryMetadata>
> <FileSet>
> <FileName>tesemada</FileName>
> <Description>
> <Metadata name=3D"Title">Fatores interferentes no processo de an=E1=
lise de
> assunto</Metadata>
> <Metadata name=3D"Subject" mode=3D"accumulate">ciencia da
> informac=E3o</Metadata>
> <Metadata name=3D"Subject" mode=3D"accumulate">indexa=E7=E3o</Metad=
ata>
> <Metadata name=3D"Subject" mode=3D"accumulate">an=E1lise de
> assunto</Metadata>
> <Metadata name=3D"Subject" mode=3D"accumulate">tratamento da
> informa=E7=E3o</Metadata>
> </Description>
> </FileSet>
> </DirectoryMetadata>
>=20
> -----------------------------
>=20
> Best regards.
> H=E9lio Kuramoto
>=20
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>=20
>=20