One other thing you might also want to check is make sure that the null
character is placed to mark the end of the string.

Keith

On Dec 12, 2007 10:39 AM, David Bertoni <[EMAIL PROTECTED]> wrote:

> Minh Thang Dang wrote:
> > Hi all,
> >
> > I want to parse some MPEG-7 metadata. I load the metadata file into a C
> string (char *) and use the following code to parse it. However, it causes
> an error which crashes the application. I cannot even know what error it is.
> Can you help me please.
>
> Did you take a look at the sample applications to see how they are
> structured?  Off the top of my head, I would suggest you make sure you're
> catching exceptions, and that you've enabled exception handling, but those
> are just guesses.
>
> You should run your application in a debugger, to see where the crash
> occurs.  Unfortunately, you haven't provided nearly enough information for
> anyone to determine if you have a bug in your code, or there's something
> wrong in Xerces-C.
>
> Dave
>

Reply via email to