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 "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/18 01:12:00 UTC

[jira] [Assigned] (XERCESC-2038) Problems with TranscodeToStr

     [ https://issues.apache.org/jira/browse/XERCESC-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor reassigned XERCESC-2038:
-------------------------------------

    Assignee: Scott Cantor

> Problems with TranscodeToStr
> ----------------------------
>
>                 Key: XERCESC-2038
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2038
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: DOM
>    Affects Versions: 3.1.1, 3.1.2, 3.1.3, 3.1.4
>         Environment: bash-4.1$ uname -a
> Linux sadbprodcompile1 2.6.32-431.23.3.el6.x86_64 #1 SMP Wed Jul 16 06:12:23 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Old Account That Somhow Should Be Erased
>            Assignee: Scott Cantor
>             Fix For: 3.2.0
>
>
> This is actually 3 reports in one (but hey, sue me;-)
> 1. TranscodeToStr fails of the XMLCh-string contains just one character when encoding is "WCHAR_T" or "UTF-32" (i.e. types larger than XMLCh) and you get "invalid-multibyte-character"
> 2. In the constructor of TranscodeToStr, the result (or 'failReason') from makeNewTranscoderFrom is never checked and if it fails the ::transcode-function dumps miserably. An exception would be preffered
> 3. It is not documented why the parameter 'manager' is not used (in the call to makeNewTranscoderFrom instead and not to the ::transcode-function) but the (global) fMemoryManager is used instead



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org