You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Sandro Piras (JIRA)" <xe...@xml.apache.org> on 2008/06/03 10:28:44 UTC
[jira] Updated: (XERCESC-1806) DOM_Document::createElement()
crashed instead to throw exection when called with an empty string because
of XMLChar1_0::isValidName()
[ https://issues.apache.org/jira/browse/XERCESC-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandro Piras updated XERCESC-1806:
----------------------------------
Attachment: xercestest.cpp
a little test program to reproduce the crash on xerces 2.5.0
> 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
> Attachments: xercestest.cpp
>
>
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org