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 "Roger Leigh (Jira)" <xe...@xml.apache.org> on 2020/06/10 11:58:00 UTC
[jira] [Created] (XERCESC-2206) Use char16_t and unicode literals
to replace various XMLCh types
Roger Leigh created XERCESC-2206:
------------------------------------
Summary: Use char16_t and unicode literals to replace various XMLCh types
Key: XERCESC-2206
URL: https://issues.apache.org/jira/browse/XERCESC-2206
Project: Xerces-C++
Issue Type: Bug
Components: Miscellaneous
Affects Versions: 3.3.0
Reporter: Roger Leigh
Assignee: Roger Leigh
Fix For: 3.3.0
Currently, XMLCh can be a variety of 16-bit types depending upon the platform, from wchar_t, uint16_t, unsigned short, to char16_t.
To reduce the platform-specific variability, fix XMLCh to char16_t, and also permit the use of u"" unicode string literals in the codebase. This will allow replacement of Unicode constants with direct use of literals.
This will additionally reduce the size of the test matrix with only one character variant to test.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org