retrieve an exception while parsing special characters

E

Elmar

hi,

i want to parse a xml-file which has e.g.
the following tag.

<entity file="abc.wav" text="A B C" duration="400"/>

if it is defined like shown above everything works fine, what means,
that StartElement-method and the EndElement-method is called and
i can retrieve the parsed informations.

but if i change the line that special chars a in the text-element (here
a char #234 and a char #233 is used)
<entity file="abc.wav" text="í systém" duration="0"/>
then i get an access violation.

does anybody know what the reason could be ??
the exception happens in a library that i cannont debug!

thanx in advance for help

greets elmar
 
E

Elmar

hi,

i want to parse a xml-file which has e.g.
the following tag.

<entity file="abc.wav" text="A B C" duration="400"/>

if it is defined like shown above everything works fine, what means,
that StartElement-method and the EndElement-method is called and
i can retrieve the parsed informations.

but if i change the line that special chars a in the text-element (here
a char #234 and a char #233 is used)
<entity file="abc.wav" text="í systém" duration="0"/>
then i get an access violation.

does anybody know what the reason could be ??
the exception happens in a library that i cannont debug!

thanx in advance for help

greets elmar


I forgot an important information!!!!!!

I am working with the EXPAT-Parser !!!
 
K

Karl Heinz Buchegger

Elmar said:
I forgot an important information!!!!!!

I am working with the EXPAT-Parser !!!

Then you should contact the people that made that parser
and tell them that they have a bug in it.
 
T

titancipher

Latin1 is not UTF8. It is possible your XML file is not UTF8 encoded.
On windows, notepad can be used to save a file as UTF8 (use save-as and
change the encoding).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top