[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uddi4j-general
Subject:    [Uddi4j-general] Xerces encoding problem
From:       "Garzon Maldonado, Jesus Javier" <jgarzon () indra ! es>
Date:       2005-09-08 8:02:52
Message-ID: 089088521B9C084BA10CB2E5433864030D5FE0 () MADTORMAIL ! indra ! es
[Download RAW message or body]

Hi all,
 
We're currently working with UDDI4J, JDK 1.5, Xerces 2.6.2 and jUDDI 0.9rc4 (Windows \
XP OS).  
When we try to create a business entity with some special characters (accents, 'ñ', \
etc.) a java.io.UTFDataFormatException exception is thrown because \
org.apache.xerces.parsers.XMLParser class uses by default \
org.apache.xerces.impl.io.UTF8Reader to read XML data sent.   
How can we change default encoding to ISO-8859-1?.
 
Thanks.
 
Javi Garzon
 
 
 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML \
DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; \
charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>Hi \
all,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>We're currently working with UDDI4J, JDK 1.5, 
Xerces 2.6.2 and jUDDI 0.9rc4 (Windows XP OS).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When we try to create a business entity with some 
special characters (accents, 'ñ', etc.)&nbsp;a java.io.UTFDataFormatException 
exception is thrown because org.apache.xerces.parsers.XMLParser class 
uses&nbsp;by default org.apache.xerces.impl.io.UTF8Reader to read XML 
data&nbsp;sent.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How can we change default&nbsp;encoding to 
ISO-8859-1?.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Javi Garzon</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Uddi4j-general mailing list
Uddi4j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/uddi4j-general

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic