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

Reply via email to