You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by David --- <da...@yahoo.fr> on 2004/03/12 23:21:10 UTC

invalid byte 2 () of a 2-byte sequence. transcode problem ???

Hello,
I'm getting this strange error while using transcode
on the followin code. The xml file am using is the
sample personal.xml file.

for (int i=0; i <= AttrCount; i++)
{
const XMLCh* AttributeName  = attr.getQName(i);
const XMLCh* AttributeType  =
attr.getType(AttributeName);
const XMLCh* AttributeValue =
attr.getValue(AttributeName);

std::cout  << "Name: " <<
XMLString::transcode(AttributeName)<< std::endl;
 
>Message: An exception occurred!
Type:UTFDataFormatException, Message:invalid byte 2 ()
of a 2-byte sequence.



	

	
		
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org