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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2009/07/29 15:16:14 UTC

[jira] Resolved: (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 ]

Alberto Massari resolved XERCESC-1806.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.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: Utilities
>    Affects Versions: 2.5.0
>         Environment: Sun Solaris 2.8
>            Reporter: Sandro Piras
>            Assignee: David Bertoni
>             Fix For: 2.9.0, 3.1.0
>
>         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