Hi Dave, I created the Jira issue XERCESC-1806, but was not able to assign it to you. Regards Sandro
-----Original Message----- From: David Bertoni [mailto:[EMAIL PROTECTED] Sent: Montag, 2. Juni 2008 19:39 To: [email protected] Subject: Re: Crash in DOM_Document::createElement() when name an empty string Piras Sandro (KSDB 121) wrote: > Hi Dave, > yes, it compiles.. at least the Sun compiler version 5.3 I'm actually > using. Uggh. I just noticed that you're using the deprecated DOM, which gone in 3.0. I think you'd be better off by spending your time porting to the new DOM. > > I copied the code from our project in a single sourcefile and without > all the object oriented stuff only to see how it works. Like in the > project, calling DOM_Document::createElement("") generates a core > file, the same when calling DOM_Document::createElement(name) when > name contains an empty string, it doesn't throw an exception.. I tried > filling name with a space -> name = " ", then createElement() throws > an exception. It's definitely a regression, due to some performance enhancement work that assumed isValidName() would never be passed a string of length 0. Can you please file a Jira issue and assign it to me? Dave
