Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] xml-export: Inconsistent enconding in export file

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] xml-export: Inconsistent enconding in export file


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: Loris Bennett <>,
  • Subject: Re: [grouper-users] xml-export: Inconsistent enconding in export file
  • Date: Thu, 11 Sep 2008 11:52:50 +0100

Hi Loris,

I think this is the first time it has come up - I`ll add a Jira issue.

Gary

--On 11 September 2008 12:24 +0200 Loris Bennett <> wrote:

Hi,

An import of an export from Grouper gave me the following error:

[java] [Fatal Error] export-cats-and-dogs.xml:145:30: Invalid byte 2
of 3-byte UTF-8 sequence.

Looking at the XML, I see that different encoding is used for the umlaut
in the 'name' attribute of the 'source' tag to that used for the
contents of the 'description' tag.

<source id='fub'
name='Freie Universität Berlin'

class='edu.internet2.middleware.subject.provider.JDBCSourceAdapter'
>
<subjectType name='person'/>
</source>
</subjectSourceMetaData>
</metadata>
<data>

<!-- 'fub' -->
<stem extension='fub'
displayExtension='FU Berlin'
name='fub'
displayName='FU Berlin'
id='148c85b9-9ed8-4721-b33b-65c71025f938'
>
<description>Freie Universit&#228;t Berlin</description>

Replacing the 'ä' with '&#228;' allows the import to succeed.

Is this a known issue?

Loris

--
Dr. Loris Bennett
Computer Centre
Freie Universität Berlin
Berlin, Germany




----------------------
GW Brown, Information Systems and Computing




Archive powered by MHonArc 2.6.16.

Top of Page