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 ( 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 (also
look at for special character
it won't process if typed normally). For example, informacao becomes


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

Boa sorte!


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

> Hi,
> I tried to create a collection using a metadata.xml file, but when I try =
> use the line command perl -S pmhf, the greenstone gives the
> following message:
> RecPlug: getting directory D:Program Filesgsdlcollectpmhfimport
> RecPlug: found metadata in D:Program
> Filesgsdlcollectpmhfimportmetadata.xml
> RecPlug: ERROR D:Program Filesgsdlcollectpmhfimportmetadata.xml is =
> a well formed metadata.xml file (mismatched tag at line 12, column 6, byt=
> 674 at D:/Program Files/gsdl/bin/windows/perl/lib/XML/ line 168)
> The Metadata.xml file is:
> <?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"no"?>
> <!DOCTYPE DirectoryMetadata SYSTEM
> "">
> <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=
> <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>
> -----------------------------
> Best regards.
> H=E9lio Kuramoto
> _______________________________________________
> greenstone-devel mailing list