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:24:45 UTC

[jira] Created: (XERCESC-1806) DOM_Document::createElement() crashed instead to throw exection when called with an empty string because of XMLChar1_0::isValidName()

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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1806) DOM_Document::createElement() crashed instead to throw exection when called with an empty string because of XMLChar1_0::isValidName()

Posted by "Sandro Piras (JIRA)" <xe...@xml.apache.org>.
     [ 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


[jira] Assigned: (XERCESC-1806) DOM_Document::createElement() crashed instead to throw exection when called with an empty string because of XMLChar1_0::isValidName()

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bertoni reassigned XERCESC-1806:
--------------------------------------

    Assignee: David Bertoni

> 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
>            Assignee: David Bertoni
>         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


[jira] Updated: (XERCESC-1806) DOM_Document::createElement() crashed instead to throw exection when called with an empty string because of XMLChar1_0::isValidName()

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1806:
-------------------------------------

    Fix Version/s: 2.9.0

Fixed for 3.0.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
>
>         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


[jira] Resolved: (XERCESC-1806) DOM_Document::createElement() crashed instead to throw exection when called with an empty string because of XMLChar1_0::isValidName()

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ 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


[jira] Updated: (XERCESC-1806) DOM_Document::createElement() crashed instead to throw exection when called with an empty string because of XMLChar1_0::isValidName()

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bertoni updated XERCESC-1806:
-----------------------------------

    Component/s:     (was: DOM)
                 Utilities

> 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
>         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