Thank you for your mail. Avaleo office is closed from December 23 to January 2 were we will address you request. If you have urgent requests it's possible to call the following persons: - From December 23th to December 27th (both days included) please call Niels Dyrnesli on +45 40741496. - From December 28th to January 1 (both days included) please call Anders Kofoed +4529442941 Kind regards Anders Kofoed Avaleo ApS
-----Original Message----- Reply-To: "Jakarta Commons Users List" <[email protected]> Subject: [Urgent] UTF-8 encoding problem Date: Thu, 28 Dec 2006 11:30:07 +0100 From: "DECAFFMEYER MATHIEU" <[EMAIL PROTECTED]> To: <[email protected]> > ------=_NextPartTM-000-4b30d49c-7e57-4ac0-a18f-e52808103457 > Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01C72A6B.24FDE813" > ------_=_NextPart_001_01C72A6B.24FDE813 > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > Hi, > I am using Jakarta Configuration to manipulate some XML files. > I have the following error when I open one of the files : > org.apache.commons.configuration.ConfigurationException: Octet 2 incorrect = > dans la s=E9quence UTF-8 =E0 3-octets. > at > org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration= > .java:620) > at > org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration= > .java:578) > at > org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationD= > elegate.load(XMLConfiguration.java:1045) > at > org.apache.commons.configuration.AbstractFileConfiguration.load(Abstrac= > tFileConfiguration.java:280) > [...] > Caused by: java.io.UTFDataFormatException: Octet 2 incorrect dans la s=E9qu= > ence UTF-8 =E0 3-octets. > at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) > at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) > [...] > The headlines of the file is : > <?xml version=3D"1.0" encoding=3D"UTF-8"?> > <!DOCTYPE configuration [ > <!ENTITY amp "&"> > <!ENTITY lt "<"> > <!ENTITY minus "-"> > ]> > [...] > I have an XML with exactly the same lines at the top, > and I have no problem with this one : > <?xml version=3D"1.0" encoding=3D"UTF-8"?> > <!DOCTYPE configuration [ > <!ENTITY amp "&"> > <!ENTITY lt "<"> > <!ENTITY minus "-"> > ]> > [...] > What do u suggest me to do ? > Thank u for any help ! Will be greatly appreciated ! > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Internet communications are not secure and therefore Fortis Banque Luxembou= > rg S.A. does not accept legal responsibility for the contents of this messa= > ge. The information contained in this e-mail is confidential and may be leg= > ally privileged. It is intended solely for the addressee. If you are not th= > e intended recipient, any disclosure, copying, distribution or any action t= > aken or omitted to be taken in reliance on it, is prohibited and may be unl= > awful. Nothing in the message is capable or intended to create any legally = > binding obligations on either party and it is not intended to provide legal= > advice. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ------_=_NextPart_001_01C72A6B.24FDE813 > Content-Type: text/html; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-= > 1"> > <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.7651.52"> > <TITLE>[Urgent] UTF-8 encoding problem</TITLE> > </HEAD> > <BODY> > <!-- Converted from text/rtf format --> > <BR> > <P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT> > </P> > <P><FONT SIZE=3D2 FACE=3D"Arial">I am using Jakarta Configuration to manipu= > late some XML files.</FONT> > <BR><FONT SIZE=3D2 FACE=3D"Arial">I have the following error when I open on= > e of the files :</FONT> > </P> > <BR> > <P><FONT SIZE=3D2 FACE=3D"Courier New">org.apache.commons.configuration.Con= > figurationException: Octet 2 incorrect dans la s=E9quence UTF-8 =E0 3-octet= > s.</FONT> > <BR> <FONT SIZE=3D2 FACE=3D"Couri= > er New">at org.apache.commons.configuration.XMLConfiguration.load(XMLConfig= > uration.java:620)</FONT> > <BR> <FONT SIZE=3D2 FACE=3D"Couri= > er New">at org.apache.commons.configuration.XMLConfiguration.load(XMLConfig= > uration.java:578)</FONT> > <BR> <FONT SIZE=3D2 FACE=3D"Couri= > er New">at org.apache.commons.configuration.XMLConfiguration$XMLFileConfigu= > rationDelegate.load(XMLConfiguration.java:1045)</FONT></P> > <P> <FONT SIZE=3D2 FACE=3D"Courie= > r New">at org.apache.commons.configuration.AbstractFileConfiguration.load(A= > bstractFileConfiguration.java:280)</FONT> > <BR><SPAN LANG=3D"fr-be"><FONT SIZE=3D2 FACE=3D"Courier New">[...]</FONT></= > SPAN> > </P> > <BR> > <BR> > <BR> > <P><SPAN LANG=3D"fr-be"><FONT SIZE=3D2 FACE=3D"Courier New">Caused by: java= > .io.UTFDataFormatException: Octet 2 incorrect dans la s=E9quence UTF-8 =E0 = > 3-octets.</FONT></SPAN> > <BR><SPAN LANG=3D"fr-be"> <FONT S= > IZE=3D2 FACE=3D"Courier New">at org.apache.xerces.impl.io.UTF8Reader.invali= > dByte(Unknown Source)</FONT></SPAN> > <BR><SPAN LANG=3D"fr-be"> <FONT S= > IZE=3D2 FACE=3D"Courier New">at org.apache.xerces.impl.io.UTF8Reader.read(U= > nknown Source)</FONT></SPAN> > <BR><SPAN LANG=3D"fr-be"> <FONT S= > IZE=3D2 FACE=3D"Courier New">at org.apache.xerces.impl.XMLEntityScanner.loa= > d(Unknown Source)</FONT></SPAN> > <BR><SPAN LANG=3D"fr-be"><FONT SIZE=3D2 FACE=3D"Courier New">[...]</FONT></= > SPAN> > </P> > <BR> > <BR> > <P><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">The headlines of the = > file is :</FONT></SPAN> > </P> > <P><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><?xml version=3D&q= > uot;1.0" encoding=3D"UTF-8"?></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!DOCTYPE configu= > ration [</FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!ENTITY amp &quo= > t;&#x26;"></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!ENTITY lt "= > ;&#x3C;"></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!ENTITY minus &q= > uot;&#45;"></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">]></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">[...]</FONT></SPAN> > </P> > <BR> > <P><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">I have an XML with ex= > actly the same lines at the top,</FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">and I have no proble= > m with this one :</FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><?xml version=3D&= > quot;1.0" encoding=3D"UTF-8"?></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!DOCTYPE configu= > ration [</FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!ENTITY amp &quo= > t;&#x26;"></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!ENTITY lt "= > ;&#x3C;"></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial"><!ENTITY minus &q= > uot;&#45;"></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">]></FONT></SPAN> > <BR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">[...]</FONT></SPAN> > </P> > <BR> > <P><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">What do u suggest me = > to do ?</FONT></SPAN> > </P> > <P><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Thank u for any help = > ! Will be greatly appreciated !</FONT></SPAN> > </P> > <CODE><FONT SIZE=3D3><BR> > <BR> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR> > Internet communications are not secure and therefore Fortis Banque Luxembou= > rg S.A. does not accept legal responsibility for the contents of this messa= > ge. The information contained in this e-mail is confidential and may be leg= > ally privileged. It is intended solely for the addressee. If you are not th= > e intended recipient, any disclosure, copying, distribution or any action t= > aken or omitted to be taken in reliance on it, is prohibited and may be unl= > awful. Nothing in the message is capable or intended to create any legally = > binding obligations on either party and it is not intended to provide legal= > advice.<BR> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR> > </FONT></CODE> > </BODY> > </HTML> > ------_=_NextPart_001_01C72A6B.24FDE813-- > ------=_NextPartTM-000-4b30d49c-7e57-4ac0-a18f-e52808103457 > Content-Type: text/plain; charset=us-ascii > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ------=_NextPartTM-000-4b30d49c-7e57-4ac0-a18f-e52808103457-- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
