DOM_Document::createElement() crashed instead to throw exection when called
with an empty string because of XMLChar1_0::isValidName()
--------------------------------------------------------------------------------------------------------------------------------------
Key: XERCESC-1806
URL: https://issues.apache.org/jira/browse/XERCESC-1806
Project: Xerces-C++
Issue Type: Bug
Components: DOM
Affects Versions: 2.5.0
Environment: Sun Solaris 2.8
Reporter: Sandro Piras
Hi all
I'm trying to "migrate" some old C++ Code from Xerces 1.7.0 to Xerces 2.5.0
using the includes from the directory /dom/deprecated instead of using the new
classes.
Now the method DOM_Document::createElement() crashes (core dump) when called
with an empty string instead to throw an execption because of
XMLChar1_0::isValidName(), on Xerces 1.7.0 it didn't crash.
IIt's definitely a regression.
Regards
Sandro Piras
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]