Hi all
thx for your help.

I tested also when filling directly an empty string with
DOM_Document::createElement("") -> crashes

I suppose there must be a memory management problem somewhere in our
huge code and using all the different
new libraries (not only xerces) let it cause the crash.

Regards
Sandro

-----Original Message-----
From: David Bertoni [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 29. Mai 2008 03:03
To: [email protected]
Subject: Re: Crash in DOM_Document::createElement() when name an empty
string

Piras Sandro (KSDB 121) wrote:
> Hi Alberto,
> the code is in a try block and I catch the exceptions. So far as I can

> see XMLChar1_0::isValidName() doesn't throw an exception and the crash

> happens there.
Perhaps you're passing in a null pointer, rather than an empty string?

> When avoiding to call createElement() with name empty, would I have 
> the empty-element tag like before (according to the code)?
An element with no children will be serialized as an empty tag.

Dave

Reply via email to